LArSoft  v10_04_05
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  G4String name = "AuxDetReadoutGeometry");
43 
47  void Construct() override;
48 
49  private:
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 } // namespace larg4
63 
64 #endif // LArG4_AuxDetReadoutGeometry_h
Geant4 interface.
geo::AuxDetGeometryCore const * fAuxDetGeom
Handle to the geometry.
void FindAndMakeAuxDet(std::vector< const G4VPhysicalVolume * > &path, unsigned int depth, G4Transform3D DepthToWorld)
AuxDetReadoutGeometry(geo::AuxDetGeometryCore const *auxDetGeom, G4String name="AuxDetReadoutGeometry")
Description of physical geometry of one set of auxiliary detectors.
uint32_t fNumSensitiveVol
number of sensitive volumes
void FindAndMakeAuxDetSensitive(std::vector< const G4VPhysicalVolume * > &path, unsigned int depth, G4Transform3D DepthToWorld)