DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::sim::Geant4UserRunAction Class Reference

Concrete implementation of the Geant4 run action. More...

Inheritance diagram for dd4hep::sim::Geant4UserRunAction:
G4UserRunAction dd4hep::sim::SequenceHdl< Geant4RunActionSequence >

Public Member Functions

 Geant4UserRunAction (Geant4Context *ctxt, Geant4RunActionSequence *seq)
 Standard constructor. More...
 
virtual ~Geant4UserRunAction ()
 Default destructor. More...
 
virtual void BeginOfRunAction (const G4Run *run) final
 Begin-of-run callback. More...
 
virtual void EndOfRunAction (const G4Run *run) final
 End-of-run callback. More...
 
- Public Member Functions inherited from dd4hep::sim::SequenceHdl< Geant4RunActionSequence >
 SequenceHdl ()
 Default constructor. More...
 
 SequenceHdl (Geant4Context *ctxt, Geant4RunActionSequence *seq)
 Initializing constructor. More...
 
virtual ~SequenceHdl ()
 Default destructor. More...
 
void _aquire (Geant4RunActionSequence *s)
 Aquire object reference. More...
 
void _release ()
 Release object. More...
 
void updateContext (Geant4Context *ctxt)
 Update Geant4Context for current call. More...
 
Geant4Contextcontext () const
 Access reference to the current active Geant4Context structure. More...
 
Geant4Kernelkernel () 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...
 

Public Attributes

Geant4UserEventActioneventAction
 
- Public Attributes inherited from dd4hep::sim::SequenceHdl< Geant4RunActionSequence >
Geant4RunActionSequencem_sequence
 
Geant4Contextm_activeContext
 

Additional Inherited Members

- Public Types inherited from dd4hep::sim::SequenceHdl< Geant4RunActionSequence >
typedef SequenceHdl< Geant4RunActionSequenceBase
 

Detailed Description

Concrete implementation of the Geant4 run action.

Author
M.Frank
Version
1.0

Definition at line 154 of file Geant4Exec.cpp.

Constructor & Destructor Documentation

◆ Geant4UserRunAction()

dd4hep::sim::Geant4UserRunAction::Geant4UserRunAction ( Geant4Context ctxt,
Geant4RunActionSequence seq 
)
inline

Standard constructor.

Definition at line 161 of file Geant4Exec.cpp.

◆ ~Geant4UserRunAction()

virtual dd4hep::sim::Geant4UserRunAction::~Geant4UserRunAction ( )
inlinevirtual

Default destructor.

Definition at line 167 of file Geant4Exec.cpp.

Member Function Documentation

◆ BeginOfRunAction()

void dd4hep::sim::Geant4UserRunAction::BeginOfRunAction ( const G4Run *  run)
finalvirtual

Begin-of-run callback.

Definition at line 374 of file Geant4Exec.cpp.

◆ EndOfRunAction()

void dd4hep::sim::Geant4UserRunAction::EndOfRunAction ( const G4Run *  run)
finalvirtual

End-of-run callback.

Definition at line 382 of file Geant4Exec.cpp.

Member Data Documentation

◆ eventAction

Geant4UserEventAction* dd4hep::sim::Geant4UserRunAction::eventAction

Definition at line 159 of file Geant4Exec.cpp.


The documentation for this class was generated from the following file: