DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Generic type manipulation class for generic hit structures created in Geant4 sensitive detectors. More...
#include <Geant4HitCollection.h>
Public Types | |
typedef std::pair< void *, HitManipulator * > | Wrapper |
Public Member Functions | |
HitManipulator (const ComponentCast &c, const ComponentCast &v) | |
Initializing Constructor. More... | |
~HitManipulator () | |
Default destructor. More... | |
template<typename TYPE > | |
Wrapper | castHit (TYPE *obj) |
Check pointer to be of proper type. More... | |
Static Public Member Functions | |
template<typename TYPE > | |
static void | deleteHit (Wrapper &obj) |
Static function to delete contained hits. More... | |
template<typename TYPE > | |
static HitManipulator * | instance () |
Public Attributes | |
const ComponentCast & | cast |
const ComponentCast & | vec_type |
Generic type manipulation class for generic hit structures created in Geant4 sensitive detectors.
Definition at line 65 of file Geant4HitCollection.h.
typedef std::pair<void*, HitManipulator*> dd4hep::sim::Geant4HitWrapper::HitManipulator::Wrapper |
Definition at line 67 of file Geant4HitCollection.h.
Geant4HitWrapper::HitManipulator::HitManipulator | ( | const ComponentCast & | c, |
const ComponentCast & | v | ||
) |
Initializing Constructor.
Definition at line 28 of file Geant4HitCollection.cpp.
Geant4HitWrapper::HitManipulator::~HitManipulator | ( | ) |
Default destructor.
Definition at line 34 of file Geant4HitCollection.cpp.
|
inline |
Check pointer to be of proper type.
Definition at line 80 of file Geant4HitCollection.h.
|
inlinestatic |
Static function to delete contained hits.
Definition at line 94 of file Geant4HitCollection.h.
|
inlinestatic |
Definition at line 100 of file Geant4HitCollection.h.
const ComponentCast& dd4hep::sim::Geant4HitWrapper::HitManipulator::cast |
Definition at line 72 of file Geant4HitCollection.h.
const ComponentCast& dd4hep::sim::Geant4HitWrapper::HitManipulator::vec_type |
Definition at line 73 of file Geant4HitCollection.h.