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