|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
void adopt(Geant4UserInitialization *action)
Add an actor responding to all callbacks. Sequence takes ownership.
bool m_needsControl
Default property: Flag to create control instance.
Geant4Context * m_context
Reference to the Geant4 context.
virtual ~Geant4UserInitialization()
Default destructor.
static void increment(T *)
Increment count according to type information.
virtual void build() const
Callback function to build setup for the MT worker thread.
Actors< Geant4UserInitialization > m_actors
The list of action objects to be called.
Geant4UserInitialization(Geant4Context *c, const std::string &nam)
Standard constructor.
void except(const char *fmt,...) const
Support of exceptions: Print fatal message and throw runtime_error.
static void decrement(T *)
Decrement count according to type information.
Base class to initialize a multi-threaded or single threaded Geant4 application.
Default base class for all Geant 4 actions and derivates thereof.
long release()
Decrease reference count. Implicit destruction.
CallbackSequence m_masterCalls
Callback sequence to initialize the thread master.
CallbackSequence m_workerCalls
Callback sequence to initialize worker elements.
void clear()
Clear the sequence and remove all callbacks.
long addRef()
Increase reference count.
Namespace for the Geant4 based simulation part of the AIDA detector description toolkit.
virtual ~Geant4UserInitializationSequence()
Default destructor.
virtual void updateContext(Geant4Context *ctxt) override
Set client context.
virtual void buildMaster() const
Callback function to build setup for the MT master thread.
virtual void build() const override
Callback function to build setup for the MT worker thread.
Geant4UserInitializationSequence(Geant4Context *c, const std::string &nam)
Standard constructor.
virtual void buildMaster() const override
Callback function to build setup for the MT master thread.
Generic context to extend user, run and event information.