LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
LArVoxelReadoutGeometry.h
Go to the documentation of this file.
1 
26 #ifndef LArG4_LArVoxelReadoutGeometry_h
27 #define LArG4_LArVoxelReadoutGeometry_h
28 
31 #include "Geant4/G4VUserParallelWorld.hh"
32 #include "Geant4/G4String.hh"
33 #include "Geant4/G4Transform3D.hh"
34 #include "Geant4/G4VPhysicalVolume.hh"
35 #include "Geant4/G4UserLimits.hh"
36 
37 // Forward declarations
38 namespace CLHEP { class HepRandomEngine; }
39 
40 namespace larg4 {
41 
42  class LArVoxelReadoutGeometry : public G4VUserParallelWorld
43  {
44  public:
45 
47  struct Setup_t {
48 
51 
52  }; // struct Setup_t
53 
54 
56  LArVoxelReadoutGeometry(const G4String name, Setup_t const& setupData);
57 
61  virtual void Construct();
62 
63  private:
64 
65  G4VPhysicalVolume* FindNestedVolume(G4VPhysicalVolume* mother,
66  G4Transform3D& motherTransform,
67  G4Transform3D& daughterTransform,
68  std::string& daughterName,
69  unsigned int expectedNum);
70 
72  std::unique_ptr<G4UserLimits> fStepLimit;
73 
77 
78  };
79 
80 } // namespace larg4
81 
82 #endif // LArG4_LArVoxelReadoutGeometry_h
Collection of all it takes to set up this object.
void Construct()
Definition: pyExN01geom.cc:48
Collection of what it takes to set a LArVoxelReadout up.
larg4::LArVoxelReadout::Setup_t fReadoutSetupData
Data for LArVoxelReadout setup.
art::ServiceHandle< geo::Geometry > fGeo
Handle to the geometry.
Geant4 interface.
larg4::LArVoxelReadout::Setup_t readoutSetup
Set up data for LArVoxelReadout.
std::unique_ptr< G4UserLimits > fStepLimit
A Geant4 sensitive detector that accumulates voxel information.
art framework interface to geometry description