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

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

Inheritance diagram for dd4hep::sim::Geant4UserEventAction:
G4UserEventAction dd4hep::sim::SequenceHdl< Geant4EventActionSequence >

Public Member Functions

 Geant4UserEventAction (Geant4Context *ctxt, Geant4EventActionSequence *seq)
 Standard constructor. More...
 
virtual ~Geant4UserEventAction ()
 Default destructor. More...
 
virtual void BeginOfEventAction (const G4Event *evt) final
 Begin-of-event callback. More...
 
virtual void EndOfEventAction (const G4Event *evt) final
 End-of-event callback. More...
 
- Public Member Functions inherited from dd4hep::sim::SequenceHdl< Geant4EventActionSequence >
 SequenceHdl ()
 Default constructor. More...
 
 SequenceHdl (Geant4Context *ctxt, Geant4EventActionSequence *seq)
 Initializing constructor. More...
 
virtual ~SequenceHdl ()
 Default destructor. More...
 
void _aquire (Geant4EventActionSequence *s)
 Acquire 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...
 

Public Attributes

Geant4UserRunAction * runAction
 
- Public Attributes inherited from dd4hep::sim::SequenceHdl< Geant4EventActionSequence >
Geant4EventActionSequence * m_sequence
 
Geant4Context * m_activeContext
 

Additional Inherited Members

- Public Types inherited from dd4hep::sim::SequenceHdl< Geant4EventActionSequence >
typedef SequenceHdl< Geant4EventActionSequence > Base
 

Detailed Description

Concrete implementation of the Geant4 event action.

Author
M.Frank
Version
1.0

Definition at line 181 of file Geant4Exec.cpp.

Constructor & Destructor Documentation

◆ Geant4UserEventAction()

dd4hep::sim::Geant4UserEventAction::Geant4UserEventAction ( Geant4Context *  ctxt,
Geant4EventActionSequence *  seq 
)
inline

Standard constructor.

Definition at line 188 of file Geant4Exec.cpp.

◆ ~Geant4UserEventAction()

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

Default destructor.

Definition at line 194 of file Geant4Exec.cpp.

Member Function Documentation

◆ BeginOfEventAction()

void dd4hep::sim::Geant4UserEventAction::BeginOfEventAction ( const G4Event *  evt)
finalvirtual

Begin-of-event callback.

Definition at line 389 of file Geant4Exec.cpp.

◆ EndOfEventAction()

void dd4hep::sim::Geant4UserEventAction::EndOfEventAction ( const G4Event *  evt)
finalvirtual

End-of-event callback.

Definition at line 395 of file Geant4Exec.cpp.

Member Data Documentation

◆ runAction

Geant4UserRunAction* dd4hep::sim::Geant4UserEventAction::runAction

Definition at line 186 of file Geant4Exec.cpp.


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