DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Concrete implementation of the Geant4 user detector construction action sequence. More...
Public Member Functions | |
Geant4UserDetectorConstruction (Geant4Context *ctxt, Geant4DetectorConstructionSequence *seq) | |
Standard constructor. More... | |
virtual | ~Geant4UserDetectorConstruction () |
Default destructor. More... | |
virtual void | ConstructSDandField () final |
Call the actions for the construction of the sensitive detectors and the field. More... | |
virtual G4VPhysicalVolume * | Construct () final |
Call the actions to construct the detector geometry. More... | |
Public Member Functions inherited from dd4hep::sim::SequenceHdl< Geant4DetectorConstructionSequence > | |
SequenceHdl () | |
Default constructor. More... | |
SequenceHdl (Geant4Context *ctxt, Geant4DetectorConstructionSequence *seq) | |
Initializing constructor. More... | |
virtual | ~SequenceHdl () |
Default destructor. More... | |
void | _aquire (Geant4DetectorConstructionSequence *s) |
Aquire object reference. More... | |
void | _release () |
Release object. More... | |
void | updateContext (Geant4Context *ctxt) |
Update Geant4Context for current call. More... | |
Geant4Context * | context () const |
Access reference to the current active Geant4Context structure. More... | |
Geant4Kernel & | kernel () const |
Access reference to the current active Geant4Kernel structure. More... | |
void | configureFiber (Geant4Context *ctxt) |
G4 callback in multi threaded mode to configure thread fiber. More... | |
void | createClientContext (const G4Run *run) |
Create Geant4 run context. More... | |
void | createClientContext (const G4Event *evt) |
Create Geant4 event context. More... | |
void | destroyClientContext (const G4Run *) |
Destroy Geant4 run context. More... | |
void | destroyClientContext (const G4Event *) |
Destroy Geant4 event context. More... | |
Protected Attributes | |
Geant4DetectorConstructionContext | m_ctxt |
Additional Inherited Members | |
Public Types inherited from dd4hep::sim::SequenceHdl< Geant4DetectorConstructionSequence > | |
typedef SequenceHdl< Geant4DetectorConstructionSequence > | Base |
Public Attributes inherited from dd4hep::sim::SequenceHdl< Geant4DetectorConstructionSequence > | |
Geant4DetectorConstructionSequence * | m_sequence |
Geant4Context * | m_activeContext |
Concrete implementation of the Geant4 user detector construction action sequence.
Definition at line 327 of file Geant4Exec.cpp.
|
inline |
Standard constructor.
Definition at line 335 of file Geant4Exec.cpp.
|
inlinevirtual |
Default destructor.
Definition at line 341 of file Geant4Exec.cpp.
|
finalvirtual |
Call the actions to construct the detector geometry.
Construct electro magnetic field entity from the dd4hep field.
The G4TransportationManager is thread-local. Thus, regardless of whether the field class object is global or local to a certain volume, a field object must be assigned to G4FieldManager.
Definition at line 424 of file Geant4Exec.cpp.
|
finalvirtual |
Call the actions for the construction of the sensitive detectors and the field.
Instantiate Geant4 sensitive detectors and electro-magnetic field.
Definition at line 413 of file Geant4Exec.cpp.
|
protected |
Definition at line 332 of file Geant4Exec.cpp.