GeoModel - GeoModelCore
GeoCountVolAndSTAction.h
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GEOMODELKERNEL_GEOCOUNTVOLANDSTACTION_H
6 #define GEOMODELKERNEL_GEOCOUNTVOLANDSTACTION_H
7 
15 #include "GeoModelKernel/GeoNodeAction.h"
16 
18 {
19  public:
21  virtual ~GeoCountVolAndSTAction();
22 
23  virtual void handlePhysVol(const GeoPhysVol*);
24  virtual void handleFullPhysVol(const GeoFullPhysVol*);
25  virtual void handleSerialTransformer(const GeoSerialTransformer*);
26 
27  unsigned int getCount() const;
28 
29  private:
31  const GeoCountVolAndSTAction & operator=(const GeoCountVolAndSTAction &right);
32 
33  unsigned int m_count;
34 };
35 
36 inline unsigned int GeoCountVolAndSTAction::getCount() const
37 {
38  return m_count;
39 }
40 
41 #endif
An action to count the number of physical volumes and Serial Transformers.
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