LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
AuxDetReadoutGeometry.h
Go to the documentation of this file.
1 
25 #ifndef LArG4_AuxDetReadoutGeometry_h
26 #define LArG4_AuxDetReadoutGeometry_h
27 
29 
30 #include "Geant4/G4String.hh"
31 #include "Geant4/G4Transform3D.hh"
32 #include "Geant4/G4VUserParallelWorld.hh"
34 
35 class G4VPhysicalVolume;
36 
37 namespace larg4 {
38 
39  class AuxDetReadoutGeometry : public G4VUserParallelWorld {
40  public:
42  AuxDetReadoutGeometry(const G4String name = "AuxDetReadoutGeometry");
43  virtual ~AuxDetReadoutGeometry();
44 
48  virtual void Construct();
49 
50  private:
51  void FindAndMakeAuxDet(std::vector<const G4VPhysicalVolume*>& path,
52  unsigned int depth,
53  G4Transform3D DepthToWorld);
54 
55  void FindAndMakeAuxDetSensitive(std::vector<const G4VPhysicalVolume*>& path,
56  unsigned int depth,
57  G4Transform3D DepthToWorld);
58 
60  uint32_t fNumSensitiveVol;
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 const > fGeo
Handle to the geometry.
art framework interface to geometry description
void FindAndMakeAuxDetSensitive(std::vector< const G4VPhysicalVolume * > &path, unsigned int depth, G4Transform3D DepthToWorld)