|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
void printP1(const char *fmt,...) const
Support for messages with variable output level using output level+1.
virtual void operator()(G4Event *event)
Event generation action callback.
Geant4GeneratorActionInit(Geant4Context *context, const std::string &nam)
Standard constructor.
Geant4RunActionSequence * runAction(bool create)
Access run action sequence.
void end(const G4Run *run)
End-run action callback.
int m_evtTotal
Counter for total number of events.
int m_evtRun
Counter for total number of events in current run.
virtual ~Geant4GeneratorActionInit()
Default destructor.
int generationInitialization(const Geant4Action *caller, const Geant4Context *context)
Initialize the generation of one event.
void callAtBegin(Q *p, void(T::*f)(const G4Run *))
Register begin-of-run callback. Types Q and T must be polymorph!
static void increment(T *)
Increment count according to type information.
void callAtEnd(Q *p, void(T::*f)(const G4Run *))
Register end-of-run callback. Types Q and T must be polymorph!
Geant4Action & declareProperty(const std::string &nam, T &val)
Declare property.
static void decrement(T *)
Decrement count according to type information.
Concrete implementation of the Geant4 generator action base class.
int m_run
Current run identifier.
void print(const char *fmt,...) const
Support for messages with variable output level using output level.
Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
Geant4Kernel & kernel() const
Access to the kernel object.
void begin(const G4Run *run)
Begin-run action callback.
Generic context to extend user, run and event information.
Geant4Context * context() const
Access the context.