DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Generic wrapper class for hit structures created in Geant4 sensitive detectors. More...
#include <Geant4HitCollection.h>
Classes | |
class | HitManipulator |
Generic type manipulation class for generic hit structures created in Geant4 sensitive detectors. More... | |
class | InvalidHit |
Helper class to indicate invalid hit wrappers or containers. More... | |
Public Types | |
typedef HitManipulator::Wrapper | Wrapper |
Public Member Functions | |
Geant4HitWrapper () | |
Default constructor. More... | |
Geant4HitWrapper (const Geant4HitWrapper &v) | |
Copy constructor. More... | |
Geant4HitWrapper (const Wrapper &v) | |
Copy constructor. More... | |
virtual | ~Geant4HitWrapper () |
Default destructor. More... | |
void * | operator new (size_t) |
Geant4 required object allocator. More... | |
void | operator delete (void *ptr) |
Geant4 required object destroyer. More... | |
void * | release () |
Pointer/Object release. More... | |
Wrapper | releaseData () |
Release data for copy. More... | |
HitManipulator * | manip () const |
Access to cast grammar. More... | |
void * | data () |
Pointer/Object access. More... | |
void * | data () const |
Pointer/Object access (CONST) More... | |
Geant4HitWrapper & | operator= (const Geant4HitWrapper &v) |
Assignment transfers the pointer ownership. More... | |
template<typename TYPE > | |
operator TYPE * () const | |
Automatic conversion to the desired type. More... | |
Static Public Member Functions | |
template<typename TYPE > | |
static HitManipulator * | manipulator () |
Generate manipulator object. More... | |
Protected Attributes | |
Wrapper | m_data |
Wrapper data. More... | |
Generic wrapper class for hit structures created in Geant4 sensitive detectors.
Default base class for all geant 4 created hits. The hit is stored in an opaque way and can be accessed by the collection.
Definition at line 50 of file Geant4HitCollection.h.
Definition at line 106 of file Geant4HitCollection.h.
|
inline |
Default constructor.
Definition at line 114 of file Geant4HitCollection.h.
|
inline |
Copy constructor.
Definition at line 119 of file Geant4HitCollection.h.
|
inline |
Copy constructor.
Definition at line 125 of file Geant4HitCollection.h.
|
virtual |
Default destructor.
Definition at line 39 of file Geant4HitCollection.cpp.
|
inline |
Pointer/Object access.
Definition at line 143 of file Geant4HitCollection.h.
|
inline |
Pointer/Object access (CONST)
Definition at line 147 of file Geant4HitCollection.h.
|
inline |
Access to cast grammar.
Definition at line 139 of file Geant4HitCollection.h.
|
inlinestatic |
Generate manipulator object.
Definition at line 151 of file Geant4HitCollection.h.
void Geant4HitWrapper::operator delete | ( | void * | ptr | ) |
Geant4 required object destroyer.
Geat4 required object destroyer.
Definition at line 55 of file Geant4HitCollection.cpp.
void * Geant4HitWrapper::operator new | ( | size_t | ) |
Geant4 required object allocator.
Definition at line 47 of file Geant4HitCollection.cpp.
|
inline |
Automatic conversion to the desired type.
Definition at line 164 of file Geant4HitCollection.h.
|
inline |
Assignment transfers the pointer ownership.
Definition at line 155 of file Geant4HitCollection.h.
void * Geant4HitWrapper::release | ( | ) |
Pointer/Object release.
Definition at line 60 of file Geant4HitCollection.cpp.
Geant4HitWrapper::Wrapper Geant4HitWrapper::releaseData | ( | ) |
Release data for copy.
Pointer/Object release.
Definition at line 68 of file Geant4HitCollection.cpp.
|
mutableprotected |
Wrapper data.
Definition at line 109 of file Geant4HitCollection.h.