EICd
EIC data model
|
#include <PMTHitConst.h>
Public Member Functions | |
ConstPMTHit () | |
default constructor More... | |
ConstPMTHit (eic::Index ID, std::int64_t cellID, float npe, float time, float timeError, eic::VectorXYZ position, eic::VectorXYZ local, eic::VectorXYZ dimension) | |
ConstPMTHit (PMTHitObj *obj) | |
constructor from existing PMTHitObj More... | |
ConstPMTHit (const ConstPMTHit &other) | |
copy constructor More... | |
ConstPMTHit & | operator= (const ConstPMTHit &other) |
copy-assignment operator More... | |
ConstPMTHit | clone () const |
support cloning (deep-copy) More... | |
~ConstPMTHit () | |
destructor More... | |
const eic::Index & | ID () const |
Access the Unique hit ID. More... | |
const std::int64_t & | cellID () const |
Access the The detector specific (geometrical) cell id. More... | |
const float & | npe () const |
Access the estimated number of photo-electrons [#]. More... | |
const float & | time () const |
Access the Time [ns]. More... | |
const float & | timeError () const |
Access the Error on the time [ns]. More... | |
const eic::VectorXYZ & | position () const |
Access the PMT hit position [mm]. More... | |
const eic::VectorXYZ & | local () const |
Access the The local position of the hit in detector coordinates [mm]. More... | |
const eic::VectorXYZ & | dimension () const |
Access the The dimension information of the pixel [mm]. More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from PMTHitObj instance More... | |
bool | operator== (const ConstPMTHit &other) const |
bool | operator== (const PMTHit &other) const |
bool | operator< (const ConstPMTHit &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | PMTHit |
class | PMTHitCollection |
class | PMTHitConstCollectionIterator |
EIC PMT hit
eic::ConstPMTHit::ConstPMTHit | ( | ) |
default constructor
eic::ConstPMTHit::ConstPMTHit | ( | eic::Index | ID, |
std::int64_t | cellID, | ||
float | npe, | ||
float | time, | ||
float | timeError, | ||
eic::VectorXYZ | position, | ||
eic::VectorXYZ | local, | ||
eic::VectorXYZ | dimension | ||
) |
eic::ConstPMTHit::ConstPMTHit | ( | const ConstPMTHit & | other | ) |
copy constructor
eic::ConstPMTHit::~ConstPMTHit | ( | ) |
destructor
const std::int64_t & eic::ConstPMTHit::cellID | ( | ) | const |
Access the The detector specific (geometrical) cell id.
ConstPMTHit eic::ConstPMTHit::clone | ( | ) | const |
support cloning (deep-copy)
const eic::VectorXYZ & eic::ConstPMTHit::dimension | ( | ) | const |
Access the The dimension information of the pixel [mm].
const podio::ObjectID eic::ConstPMTHit::getObjectID | ( | ) | const |
const eic::Index & eic::ConstPMTHit::ID | ( | ) | const |
Access the Unique hit ID.
|
inline |
bool eic::ConstPMTHit::isAvailable | ( | ) | const |
check whether the object is actually available
const eic::VectorXYZ & eic::ConstPMTHit::local | ( | ) | const |
Access the The local position of the hit in detector coordinates [mm].
const float & eic::ConstPMTHit::npe | ( | ) | const |
Access the estimated number of photo-electrons [#].
|
inline |
ConstPMTHit & eic::ConstPMTHit::operator= | ( | const ConstPMTHit & | other | ) |
copy-assignment operator
|
inline |
bool eic::ConstPMTHit::operator== | ( | const PMTHit & | other | ) | const |
const eic::VectorXYZ & eic::ConstPMTHit::position | ( | ) | const |
Access the PMT hit position [mm].
const float & eic::ConstPMTHit::time | ( | ) | const |
Access the Time [ns].
const float & eic::ConstPMTHit::timeError | ( | ) | const |
Access the Error on the time [ns].
|
inline |
disconnect from PMTHitObj instance
|
friend |
|
friend |
|
friend |