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

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

Inheritance diagram for dd4hep::sim::Geant4UserTrackingAction:
G4UserTrackingAction dd4hep::sim::SequenceHdl< Geant4TrackingActionSequence >

Public Member Functions

 Geant4UserTrackingAction (Geant4Context *ctxt, Geant4TrackingActionSequence *seq)
 Standard constructor. More...
 
virtual ~Geant4UserTrackingAction ()
 Default destructor. More...
 
virtual void PreUserTrackingAction (const G4Track *trk) final
 Pre-track action callback. More...
 
virtual void PostUserTrackingAction (const G4Track *trk) final
 Post-track action callback. More...
 
- Public Member Functions inherited from dd4hep::sim::SequenceHdl< Geant4TrackingActionSequence >
 SequenceHdl ()
 Default constructor. More...
 
 SequenceHdl (Geant4Context *ctxt, Geant4TrackingActionSequence *seq)
 Initializing constructor. More...
 
virtual ~SequenceHdl ()
 Default destructor. More...
 
void _aquire (Geant4TrackingActionSequence *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...
 

Additional Inherited Members

- Public Types inherited from dd4hep::sim::SequenceHdl< Geant4TrackingActionSequence >
typedef SequenceHdl< Geant4TrackingActionSequenceBase
 
- Public Attributes inherited from dd4hep::sim::SequenceHdl< Geant4TrackingActionSequence >
Geant4TrackingActionSequencem_sequence
 
Geant4Contextm_activeContext
 

Detailed Description

Concrete implementation of the Geant4 tracking action.

Author
M.Frank
Version
1.0

Definition at line 208 of file Geant4Exec.cpp.

Constructor & Destructor Documentation

◆ Geant4UserTrackingAction()

dd4hep::sim::Geant4UserTrackingAction::Geant4UserTrackingAction ( Geant4Context ctxt,
Geant4TrackingActionSequence seq 
)
inline

Standard constructor.

Definition at line 214 of file Geant4Exec.cpp.

◆ ~Geant4UserTrackingAction()

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

Default destructor.

Definition at line 220 of file Geant4Exec.cpp.

Member Function Documentation

◆ PostUserTrackingAction()

virtual void dd4hep::sim::Geant4UserTrackingAction::PostUserTrackingAction ( const G4Track *  trk)
inlinefinalvirtual

Post-track action callback.

Definition at line 228 of file Geant4Exec.cpp.

◆ PreUserTrackingAction()

virtual void dd4hep::sim::Geant4UserTrackingAction::PreUserTrackingAction ( const G4Track *  trk)
inlinefinalvirtual

Pre-track action callback.

Definition at line 223 of file Geant4Exec.cpp.


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