LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
AuxDetReadoutGeometry.h
Go to the documentation of this file.
1 
25 #ifndef LArG4_AuxDetReadoutGeometry_h
26 #define LArG4_AuxDetReadoutGeometry_h
27 
29 #include "Geant4/G4VUserParallelWorld.hh"
30 #include "Geant4/G4String.hh"
31 #include "Geant4/G4Transform3D.hh"
32 #include "Geant4/G4VPhysicalVolume.hh"
33 
34 namespace larg4 {
35 
36  class AuxDetReadoutGeometry : public G4VUserParallelWorld
37  {
38  public:
40  AuxDetReadoutGeometry( const G4String name = "AuxDetReadoutGeometry" );
41  virtual ~AuxDetReadoutGeometry();
42 
46  virtual void Construct();
47 
48  private:
49 
50  void FindAndMakeAuxDet(std::vector<const G4VPhysicalVolume*>& path,
51  unsigned int depth,
52  G4Transform3D DepthToWorld);
53 
54  void FindAndMakeAuxDetSensitive(std::vector<const G4VPhysicalVolume*>& path,
55  unsigned int depth,
56  G4Transform3D DepthToWorld);
57 
59  uint32_t fNumSensitiveVol;
60 
61  };
62 
63 } // namespace larg4
64 
65 #endif // LArG4_AuxDetReadoutGeometry_h
Geant4 interface.
void FindAndMakeAuxDet(std::vector< const G4VPhysicalVolume * > &path, unsigned int depth, G4Transform3D DepthToWorld)
uint32_t fNumSensitiveVol
number of sensitive volumes
AuxDetReadoutGeometry(const G4String name="AuxDetReadoutGeometry")
Constructor and destructor.
art::ServiceHandle< geo::Geometry > fGeo
Handle to the geometry.
art framework interface to geometry description
void FindAndMakeAuxDetSensitive(std::vector< const G4VPhysicalVolume * > &path, unsigned int depth, G4Transform3D DepthToWorld)