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