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

Concrete implementation of the Geant4 stacking action sequence. More...

Inheritance diagram for dd4hep::sim::Geant4UserStackingAction:
G4UserStackingAction dd4hep::sim::SequenceHdl< Geant4StackingActionSequence >

Public Member Functions

 Geant4UserStackingAction (Geant4Context *ctxt, Geant4StackingActionSequence *seq)
 Standard constructor. More...
 
virtual ~Geant4UserStackingAction ()
 Default destructor. More...
 
virtual void NewStage () override final
 New-stage callback. More...
 
virtual void PrepareNewEvent () override final
 Preparation callback. More...
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *track) override final
 
- Public Member Functions inherited from dd4hep::sim::SequenceHdl< Geant4StackingActionSequence >
 SequenceHdl ()
 Default constructor. More...
 
 SequenceHdl (Geant4Context *ctxt, Geant4StackingActionSequence *seq)
 Initializing constructor. More...
 
virtual ~SequenceHdl ()
 Default destructor. More...
 
void _aquire (Geant4StackingActionSequence *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< Geant4StackingActionSequence >
typedef SequenceHdl< Geant4StackingActionSequenceBase
 
- Public Attributes inherited from dd4hep::sim::SequenceHdl< Geant4StackingActionSequence >
Geant4StackingActionSequencem_sequence
 
Geant4Contextm_activeContext
 

Detailed Description

Concrete implementation of the Geant4 stacking action sequence.

Author
M.Frank
Version
1.0

Definition at line 240 of file Geant4Exec.cpp.

Constructor & Destructor Documentation

◆ Geant4UserStackingAction()

dd4hep::sim::Geant4UserStackingAction::Geant4UserStackingAction ( Geant4Context ctxt,
Geant4StackingActionSequence seq 
)
inline

Standard constructor.

Definition at line 246 of file Geant4Exec.cpp.

◆ ~Geant4UserStackingAction()

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

Default destructor.

Definition at line 252 of file Geant4Exec.cpp.

Member Function Documentation

◆ ClassifyNewTrack()

virtual G4ClassificationOfNewTrack dd4hep::sim::Geant4UserStackingAction::ClassifyNewTrack ( const G4Track *  track)
inlinefinaloverridevirtual

Definition at line 262 of file Geant4Exec.cpp.

◆ NewStage()

virtual void dd4hep::sim::Geant4UserStackingAction::NewStage ( )
inlinefinaloverridevirtual

New-stage callback.

Definition at line 255 of file Geant4Exec.cpp.

◆ PrepareNewEvent()

virtual void dd4hep::sim::Geant4UserStackingAction::PrepareNewEvent ( )
inlinefinaloverridevirtual

Preparation callback.

Definition at line 259 of file Geant4Exec.cpp.


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