![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Handle to Geant4 actions with built-in creation mechanism. More...
#include <Geant4Config.h>
Public Member Functions | |
| Geant4Handle ()=default | |
| Default constructor. More... | |
| Geant4Handle (TYPE *typ) | |
| Construction initialized with object pointer. More... | |
| template<typename T > | |
| Geant4Handle (T *typ) | |
| Cross type initialization. More... | |
| Geant4Handle (const Geant4Handle &handle) | |
| Copy constructor. More... | |
| Geant4Handle (Geant4Handle &&handle) | |
| Move constructor. More... | |
| Geant4Handle (Geant4Kernel &, const char *type_name, bool shared=false) | |
| Initializing constructor. More... | |
| Geant4Handle (Geant4Kernel &, const std::string &type_name, bool shared=false) | |
| Initializing constructor. More... | |
| Geant4Handle (Geant4Kernel &ctxt, const std::string &type_name, const std::string &detector, bool shared=false) | |
| Constructor only implemented for sensitive objects. More... | |
| ~Geant4Handle () | |
| Default destructor. More... | |
| Property & | operator[] (const std::string &property_name) const |
| Property accessor. More... | |
| Geant4Handle & | operator= (const Geant4Handle &handle) |
| Assignment operator. More... | |
| Geant4Handle & | operator= (Geant4Handle &&handle) |
| Move assignment operator. More... | |
| Geant4Handle & | operator= (TYPE *ptr) |
| Assignment operator. More... | |
| bool | operator! () const |
| Validity check. More... | |
| Geant4Action * | action () const |
| Access to the underlying object. More... | |
| TYPE * | operator-> () const |
| Access to the underlying object. More... | |
| operator TYPE * () const | |
| Conversion operator. More... | |
| TYPE * | get () const |
| Access to the underlying object. More... | |
| TYPE * | release () |
| Release the underlying object. More... | |
| Geant4Handle (Geant4Kernel &kernel, const std::string &type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const char *type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const std::string &type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const char *type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const std::string &type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const char *type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const std::string &type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const char *type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const std::string &type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const char *type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const std::string &type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const char *type_name, bool shared) | |
| Geant4Handle (Geant4Kernel &kernel, const std::string &type_name, const std::string &detector, bool) | |
Public Attributes | |
| TYPE * | value {nullptr} |
| Pointer to referenced object. More... | |
Protected Member Functions | |
| void | checked_assign (TYPE *p) |
| TYPE * | null () |
Handle to Geant4 actions with built-in creation mechanism.
Definition at line 28 of file Geant4Config.h.
|
explicitdefault |
Default constructor.
| dd4hep::sim::Geant4Handle< TYPE >::Geant4Handle | ( | TYPE * | typ | ) |
Construction initialized with object pointer.
Definition at line 54 of file Geant4Handle.cpp.
|
inline |
Cross type initialization.
Definition at line 53 of file Geant4Handle.h.
| dd4hep::sim::Geant4Handle< TYPE >::Geant4Handle | ( | const Geant4Handle< TYPE > & | handle | ) |
Copy constructor.
Definition at line 59 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< TYPE >::Geant4Handle | ( | Geant4Handle< TYPE > && | handle | ) |
Move constructor.
Definition at line 65 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< TYPE >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const char * | type_name, | ||
| bool | shared = false |
||
| ) |
Initializing constructor.
Definition at line 138 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< TYPE >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const std::string & | type_name, | ||
| bool | shared = false |
||
| ) |
Initializing constructor.
Definition at line 133 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< TYPE >::Geant4Handle | ( | Geant4Kernel & | ctxt, |
| const std::string & | type_name, | ||
| const std::string & | detector, | ||
| bool | shared = false |
||
| ) |
Constructor only implemented for sensitive objects.
| dd4hep::sim::Geant4Handle< TYPE >::~Geant4Handle |
Default destructor.
Definition at line 142 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4RunAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const std::string & | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 236 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4RunAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const char * | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 241 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4EventAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const std::string & | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 247 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4EventAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const char * | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 252 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4GeneratorAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const std::string & | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 258 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4GeneratorAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const char * | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 263 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4TrackingAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const std::string & | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 269 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4TrackingAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const char * | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 274 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4SteppingAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const std::string & | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 280 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4SteppingAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const char * | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 285 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4StackingAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const std::string & | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 291 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4StackingAction >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const char * | type_name, | ||
| bool | shared | ||
| ) |
Definition at line 296 of file Geant4Handle.cpp.
| dd4hep::sim::Geant4Handle< Geant4Sensitive >::Geant4Handle | ( | Geant4Kernel & | kernel, |
| const std::string & | type_name, | ||
| const std::string & | detector, | ||
| bool | |||
| ) |
Definition at line 301 of file Geant4Handle.cpp.
| Geant4Action * dd4hep::sim::Geant4Handle< TYPE >::action |
Access to the underlying object.
Definition at line 183 of file Geant4Handle.cpp.
|
protected |
Definition at line 154 of file Geant4Handle.cpp.
| TYPE * dd4hep::sim::Geant4Handle< TYPE >::get |
Access to the underlying object.
Definition at line 175 of file Geant4Handle.cpp.
|
inlineprotected |
Definition at line 44 of file Geant4Handle.h.
| dd4hep::sim::Geant4Handle< TYPE >::operator TYPE * |
Conversion operator.
Definition at line 167 of file Geant4Handle.cpp.
| bool dd4hep::sim::Geant4Handle< TYPE >::operator! |
Validity check.
Definition at line 171 of file Geant4Handle.cpp.
| TYPE * dd4hep::sim::Geant4Handle< TYPE >::operator-> |
Access to the underlying object.
Definition at line 179 of file Geant4Handle.cpp.
| Geant4Handle< TYPE > & dd4hep::sim::Geant4Handle< TYPE >::operator= | ( | const Geant4Handle< TYPE > & | handle | ) |
Assignment operator.
Definition at line 188 of file Geant4Handle.cpp.
| Geant4Handle< TYPE > & dd4hep::sim::Geant4Handle< TYPE >::operator= | ( | Geant4Handle< TYPE > && | handle | ) |
Move assignment operator.
Assignment move operator.
Definition at line 199 of file Geant4Handle.cpp.
| Geant4Handle< TYPE > & dd4hep::sim::Geant4Handle< TYPE >::operator= | ( | TYPE * | ptr | ) |
Assignment operator.
Definition at line 206 of file Geant4Handle.cpp.
| Property & dd4hep::sim::Geant4Handle< TYPE >::operator[] | ( | const std::string & | property_name | ) | const |
Property accessor.
Definition at line 162 of file Geant4Handle.cpp.
| TYPE * dd4hep::sim::Geant4Handle< TYPE >::release |
Release the underlying object.
Definition at line 148 of file Geant4Handle.cpp.
|
mutable |
Pointer to referenced object.
Definition at line 47 of file Geant4Handle.h.
1.8.18