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

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

Inheritance diagram for dd4hep::sim::Geant4UserGeneratorAction:
G4VUserPrimaryGeneratorAction dd4hep::sim::SequenceHdl< Geant4GeneratorActionSequence >

Public Member Functions

 Geant4UserGeneratorAction (Geant4Context *ctxt, Geant4GeneratorActionSequence *seq)
 Standard constructor. More...
 
virtual ~Geant4UserGeneratorAction ()
 Default destructor. More...
 
virtual void GeneratePrimaries (G4Event *event) final
 Generate primary particles. More...
 
- Public Member Functions inherited from dd4hep::sim::SequenceHdl< Geant4GeneratorActionSequence >
 SequenceHdl ()
 Default constructor. More...
 
 SequenceHdl (Geant4Context *ctxt, Geant4GeneratorActionSequence *seq)
 Initializing constructor. More...
 
virtual ~SequenceHdl ()
 Default destructor. More...
 
void _aquire (Geant4GeneratorActionSequence *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< Geant4GeneratorActionSequence >
typedef SequenceHdl< Geant4GeneratorActionSequenceBase
 
- Public Attributes inherited from dd4hep::sim::SequenceHdl< Geant4GeneratorActionSequence >
Geant4GeneratorActionSequencem_sequence
 
Geant4Contextm_activeContext
 

Detailed Description

Concrete implementation of the Geant4 generator action.

Author
M.Frank
Version
1.0

Definition at line 277 of file Geant4Exec.cpp.

Constructor & Destructor Documentation

◆ Geant4UserGeneratorAction()

dd4hep::sim::Geant4UserGeneratorAction::Geant4UserGeneratorAction ( Geant4Context ctxt,
Geant4GeneratorActionSequence seq 
)
inline

Standard constructor.

Definition at line 283 of file Geant4Exec.cpp.

◆ ~Geant4UserGeneratorAction()

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

Default destructor.

Definition at line 289 of file Geant4Exec.cpp.

Member Function Documentation

◆ GeneratePrimaries()

void dd4hep::sim::Geant4UserGeneratorAction::GeneratePrimaries ( G4Event *  event)
finalvirtual

Generate primary particles.

Definition at line 402 of file Geant4Exec.cpp.


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