GeoModel - GeoModelCore
GeoCountVolAction.h
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GEOMODELKERNEL_GEOCOUNTVOLACTION_H
6 #define GEOMODELKERNEL_GEOCOUNTVOLACTION_H
7 
8 #include "GeoModelKernel/GeoNodeAction.h"
9 
11 {
12  public:
14  virtual ~GeoCountVolAction();
15 
16  // Handles a physical volume.
17  virtual void handlePhysVol (const GeoPhysVol *);
18 
19  // Handles a physical volume.
20  virtual void handleFullPhysVol (const GeoFullPhysVol *);
21 
22  // Handles a Serial Transformer
23  virtual void handleSerialTransformer (const GeoSerialTransformer *st);
24 
25  // The volume count.
26  unsigned int getCount () const;
27 
28  private:
30  GeoCountVolAction & operator=(const GeoCountVolAction &right);
31 
32  unsigned int m_count;
33 };
34 
35 inline unsigned int GeoCountVolAction::getCount () const
36 {
37  return m_count;
38 }
39 
40 #endif
This class represent a physical volume whose absolute default and aligned positions are known and hel...
This class takes a physical volume and places it according to a transformation field, N times.
This type of action sees the geometry graph in full detail, including each transformation and propert...
Definition: GeoNodeAction.h:30
A GeoPhysVol is a physical volume for normal recursive access only. This means, normally, that it represents a piece of detector that nobody cares about except for tracing engines like GEANT. More specifically:
Definition: GeoPhysVol.h:31