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