|
LDMX Software
|
Implements the Geant4 detector construction. More...
#include <DetectorConstruction.h>
Public Member Functions | |
| DetectorConstruction (std::shared_ptr< simcore::geo::Parser > parser, framework::config::Parameters ¶meters, ConditionsInterface &ci) | |
| Constructor. | |
| virtual | ~DetectorConstruction ()=default |
| Class destructor. | |
| G4VPhysicalVolume * | Construct () |
| Construct the detector. | |
| void | ConstructSDandField () |
| std::string | getDetectorName () |
Private Attributes | |
| std::shared_ptr< simcore::geo::Parser > | parser_ |
| The parser used to load the detector into memory. | |
| framework::config::Parameters | parameters_ |
| The set of parameters used to configure this class. | |
| simcore::ConditionsInterface & | conditions_interface_ |
| interface to conditions to be passed to SDs | |
Implements the Geant4 detector construction.
Definition at line 33 of file DetectorConstruction.h.
| simcore::DetectorConstruction::DetectorConstruction | ( | std::shared_ptr< simcore::geo::Parser > | parser, |
| framework::config::Parameters & | parameters, | ||
| ConditionsInterface & | ci ) |
Constructor.
| parser | Parser used to parse the geometry into memory. |
| parameters | The parameters used to configure this class. |
| ci | The conditions needed to build the detector. |
Definition at line 26 of file DetectorConstruction.cxx.
| G4VPhysicalVolume * simcore::DetectorConstruction::Construct | ( | ) |
Construct the detector.
Definition at line 31 of file DetectorConstruction.cxx.
References parser_.
| void simcore::DetectorConstruction::ConstructSDandField | ( | ) |
Definition at line 35 of file DetectorConstruction.cxx.
|
inline |
Definition at line 65 of file DetectorConstruction.h.
References parser_.
Referenced by simcore::Simulator::beforeNewRun().
|
private |
interface to conditions to be passed to SDs
Definition at line 75 of file DetectorConstruction.h.
|
private |
The set of parameters used to configure this class.
Definition at line 72 of file DetectorConstruction.h.
|
private |
The parser used to load the detector into memory.
Definition at line 69 of file DetectorConstruction.h.
Referenced by Construct(), and getDetectorName().