15 #ifndef DD4HEP_DDG4_GEANT4SETUP_H
16 #define DD4HEP_DDG4_GEANT4SETUP_H
30 namespace Simulation {
42 template <
typename TYPE>
class Geant4Handle {
121 #endif // DD4HEP_DDG4_GEANT4SETUP_H
handled_type * operator->() const
Access to the underlying object.
Geant4Handle & operator=(const Geant4Handle &handle)
Assignment operator.
~KernelHandle()
Default destructor.
void checked_assign(TYPE *p)
The property class to assign options to actions.
bool operator!() const
Validity check.
handled_type * value
Pointer to referenced object.
Geant4Kernel handled_type
Geant4Handle(T *typ)
Cross type initialization.
handled_type * value
Pointer to referenced object.
Property & operator[](const std::string &property_name) const
Property accessor.
Handle to Geant4 actions with built-in creation mechanism.
KernelHandle(const KernelHandle &k)
Copy constructor.
handled_type * operator->() const
Access to the underlying object.
Class, which allows all Geant4Action derivatives to access the DDG4 kernel structures.
KernelHandle worker()
Access to worker thread.
Geant4Action * action() const
Access to the underlying object.
handled_type * release()
Release the underlying object.
void destroy()
Destroy referenced object (program termination)
Handle to Geant4 actions with built-in creation mechanism.
~Geant4Handle()
Default destructor.
void handle(const O *o, const C &c, F pmf)
Geant4Handle()
Default constructor.
KernelHandle()
Default constructor.
Default base class for all Geant 4 actions and derivates thereof.