#include <TrackerHitConst.h>
Public Member Functions | |
ConstTrackerHit () | |
default constructor More... | |
ConstTrackerHit (long long cellID, long flag, long g4ID, dd4pod::FourVector position, dd4pod::FourVector momentum, double length, dd4pod::MonteCarloContrib truth, double energyDeposit) | |
ConstTrackerHit (TrackerHitObj *obj) | |
constructor from existing TrackerHitObj More... | |
ConstTrackerHit (const ConstTrackerHit &other) | |
copy constructor More... | |
ConstTrackerHit & | operator= (const ConstTrackerHit &other) |
copy-assignment operator More... | |
ConstTrackerHit | clone () const |
support cloning (deep-copy) More... | |
~ConstTrackerHit () | |
destructor More... | |
const long long & | cellID () const |
Access the cellID. More... | |
const long & | flag () const |
Access the User flag to classify hits. More... | |
const long & | g4ID () const |
Access the Original Geant4 track identifier of the creating track (debugging) More... | |
const dd4pod::FourVector & | position () const |
Access the position. More... | |
const dd4pod::FourVector & | momentum () const |
Access the momentum. More... | |
const double & | length () const |
Access the length. More... | |
const dd4pod::MonteCarloContrib & | truth () const |
Access the truth. More... | |
const double & | energyDeposit () const |
Access the energyDeposit. More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from TrackerHitObj instance More... | |
bool | operator== (const ConstTrackerHit &other) const |
bool | operator== (const TrackerHit &other) const |
bool | operator< (const ConstTrackerHit &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Detailed Description
Podio implementation of dd4hep's dd4hep::sim::Geant4Tracker::Hit class
Definition at line 25 of file TrackerHitConst.h.
Constructor & Destructor Documentation
◆ ConstTrackerHit() [1/4]
dd4pod::ConstTrackerHit::ConstTrackerHit | ( | ) |
default constructor
Definition at line 16 of file TrackerHitConst.cc.
◆ ConstTrackerHit() [2/4]
dd4pod::ConstTrackerHit::ConstTrackerHit | ( | long long | cellID, |
long | flag, | ||
long | g4ID, | ||
dd4pod::FourVector | position, | ||
dd4pod::FourVector | momentum, | ||
double | length, | ||
dd4pod::MonteCarloContrib | truth, | ||
double | energyDeposit | ||
) |
Definition at line 20 of file TrackerHitConst.cc.
◆ ConstTrackerHit() [3/4]
dd4pod::ConstTrackerHit::ConstTrackerHit | ( | TrackerHitObj * | obj | ) |
constructor from existing TrackerHitObj
Definition at line 42 of file TrackerHitConst.cc.
◆ ConstTrackerHit() [4/4]
dd4pod::ConstTrackerHit::ConstTrackerHit | ( | const ConstTrackerHit & | other | ) |
copy constructor
Definition at line 32 of file TrackerHitConst.cc.
◆ ~ConstTrackerHit()
dd4pod::ConstTrackerHit::~ConstTrackerHit | ( | ) |
destructor
Definition at line 50 of file TrackerHitConst.cc.
Member Function Documentation
◆ cellID()
const long long & dd4pod::ConstTrackerHit::cellID | ( | ) | const |
Access the cellID.
Definition at line 53 of file TrackerHitConst.cc.
◆ clone()
ConstTrackerHit dd4pod::ConstTrackerHit::clone | ( | ) | const |
support cloning (deep-copy)
Definition at line 46 of file TrackerHitConst.cc.
◆ energyDeposit()
const double & dd4pod::ConstTrackerHit::energyDeposit | ( | ) | const |
Access the energyDeposit.
Definition at line 60 of file TrackerHitConst.cc.
◆ flag()
const long & dd4pod::ConstTrackerHit::flag | ( | ) | const |
Access the User flag to classify hits.
Definition at line 54 of file TrackerHitConst.cc.
◆ g4ID()
const long & dd4pod::ConstTrackerHit::g4ID | ( | ) | const |
Access the Original Geant4 track identifier of the creating track (debugging)
Definition at line 55 of file TrackerHitConst.cc.
◆ getObjectID()
const podio::ObjectID dd4pod::ConstTrackerHit::getObjectID | ( | ) | const |
Definition at line 74 of file TrackerHitConst.cc.
◆ id()
|
inline |
Definition at line 93 of file TrackerHitConst.h.
◆ isAvailable()
bool dd4pod::ConstTrackerHit::isAvailable | ( | ) | const |
check whether the object is actually available
Definition at line 67 of file TrackerHitConst.cc.
◆ length()
const double & dd4pod::ConstTrackerHit::length | ( | ) | const |
Access the length.
Definition at line 58 of file TrackerHitConst.cc.
◆ momentum()
const dd4pod::FourVector & dd4pod::ConstTrackerHit::momentum | ( | ) | const |
Access the momentum.
Definition at line 57 of file TrackerHitConst.cc.
◆ operator<()
|
inline |
Definition at line 91 of file TrackerHitConst.h.
◆ operator=()
ConstTrackerHit & dd4pod::ConstTrackerHit::operator= | ( | const ConstTrackerHit & | other | ) |
copy-assignment operator
Definition at line 36 of file TrackerHitConst.cc.
◆ operator==() [1/2]
|
inline |
Definition at line 87 of file TrackerHitConst.h.
◆ operator==() [2/2]
bool dd4pod::ConstTrackerHit::operator== | ( | const TrackerHit & | other | ) | const |
Definition at line 81 of file TrackerHitConst.cc.
◆ position()
const dd4pod::FourVector & dd4pod::ConstTrackerHit::position | ( | ) | const |
Access the position.
Definition at line 56 of file TrackerHitConst.cc.
◆ truth()
const dd4pod::MonteCarloContrib & dd4pod::ConstTrackerHit::truth | ( | ) | const |
Access the truth.
Definition at line 59 of file TrackerHitConst.cc.
◆ unlink()
|
inline |
disconnect from TrackerHitObj instance
Definition at line 85 of file TrackerHitConst.h.
The documentation for this class was generated from the following files: