EICd
EIC data model
|
#include <TrackerHit.h>
Public Member Functions | |
TrackerHit () | |
default constructor More... | |
TrackerHit (eic::Index ID, std::int64_t cellID, eic::VectorXYZT position, eic::CovDiagXYZT covMatrix, float edep, float edepError) | |
TrackerHit (TrackerHitObj *obj) | |
constructor from existing TrackerHitObj More... | |
TrackerHit (const TrackerHit &other) | |
copy constructor More... | |
TrackerHit & | operator= (const TrackerHit &other) |
copy-assignment operator More... | |
TrackerHit | clone () const |
support cloning (deep-copy) More... | |
~TrackerHit () | |
destructor More... | |
operator ConstTrackerHit () const | |
conversion to const object More... | |
const eic::Index & | ID () const |
Access the unique ID for this hit. More... | |
const std::int64_t & | cellID () const |
Access the The detector specific (geometrical) cell id. More... | |
const eic::VectorXYZT & | position () const |
Access the Hit (cell) position and time [mm, ns]. More... | |
const eic::CovDiagXYZT & | covMatrix () const |
Access the Covariance Matrix. More... | |
const float & | edep () const |
Access the Energy deposit in this hit [GeV]. More... | |
const float & | edepError () const |
Access the Error on the energy deposit [GeV]. More... | |
void | ID (eic::Index value) |
Set the unique ID for this hit. More... | |
eic::Index & | ID () |
Get reference to unique ID for this hit. More... | |
void | cellID (std::int64_t value) |
Set the The detector specific (geometrical) cell id. More... | |
void | position (eic::VectorXYZT value) |
Set the Hit (cell) position and time [mm, ns]. More... | |
eic::VectorXYZT & | position () |
Get reference to Hit (cell) position and time [mm, ns]. More... | |
void | covMatrix (eic::CovDiagXYZT value) |
Set the Covariance Matrix. More... | |
eic::CovDiagXYZT & | covMatrix () |
Get reference to Covariance Matrix. More... | |
void | edep (float value) |
Set the Energy deposit in this hit [GeV]. More... | |
void | edepError (float value) |
Set the Error on the energy deposit [GeV]. More... | |
double | time () const |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from TrackerHitObj instance More... | |
bool | operator== (const TrackerHit &other) const |
bool | operator== (const ConstTrackerHit &other) const |
bool | operator< (const TrackerHit &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | TrackerHitCollection |
class | TrackerHitCollectionIterator |
class | ConstTrackerHit |
Tracker hit (reconstructed from Raw)
eic::TrackerHit::TrackerHit | ( | ) |
default constructor
eic::TrackerHit::TrackerHit | ( | eic::Index | ID, |
std::int64_t | cellID, | ||
eic::VectorXYZT | position, | ||
eic::CovDiagXYZT | covMatrix, | ||
float | edep, | ||
float | edepError | ||
) |
eic::TrackerHit::TrackerHit | ( | TrackerHitObj * | obj | ) |
constructor from existing TrackerHitObj
eic::TrackerHit::TrackerHit | ( | const TrackerHit & | other | ) |
copy constructor
eic::TrackerHit::~TrackerHit | ( | ) |
destructor
const std::int64_t & eic::TrackerHit::cellID | ( | ) | const |
Access the The detector specific (geometrical) cell id.
void eic::TrackerHit::cellID | ( | std::int64_t | value | ) |
Set the The detector specific (geometrical) cell id.
TrackerHit eic::TrackerHit::clone | ( | ) | const |
support cloning (deep-copy)
eic::CovDiagXYZT & eic::TrackerHit::covMatrix | ( | ) |
Get reference to Covariance Matrix.
const eic::CovDiagXYZT & eic::TrackerHit::covMatrix | ( | ) | const |
Access the Covariance Matrix.
void eic::TrackerHit::covMatrix | ( | eic::CovDiagXYZT | value | ) |
Set the Covariance Matrix.
const float & eic::TrackerHit::edep | ( | ) | const |
Access the Energy deposit in this hit [GeV].
void eic::TrackerHit::edep | ( | float | value | ) |
Set the Energy deposit in this hit [GeV].
const float & eic::TrackerHit::edepError | ( | ) | const |
Access the Error on the energy deposit [GeV].
void eic::TrackerHit::edepError | ( | float | value | ) |
Set the Error on the energy deposit [GeV].
const podio::ObjectID eic::TrackerHit::getObjectID | ( | ) | const |
eic::Index & eic::TrackerHit::ID | ( | ) |
Get reference to unique ID for this hit.
const eic::Index & eic::TrackerHit::ID | ( | ) | const |
Access the unique ID for this hit.
|
inline |
void eic::TrackerHit::ID | ( | eic::Index | value | ) |
Set the unique ID for this hit.
bool eic::TrackerHit::isAvailable | ( | ) | const |
check whether the object is actually available
eic::TrackerHit::operator ConstTrackerHit | ( | ) | const |
conversion to const object
|
inline |
TrackerHit & eic::TrackerHit::operator= | ( | const TrackerHit & | other | ) |
copy-assignment operator
bool eic::TrackerHit::operator== | ( | const ConstTrackerHit & | other | ) | const |
|
inline |
eic::VectorXYZT & eic::TrackerHit::position | ( | ) |
Get reference to Hit (cell) position and time [mm, ns].
const eic::VectorXYZT & eic::TrackerHit::position | ( | ) | const |
Access the Hit (cell) position and time [mm, ns].
void eic::TrackerHit::position | ( | eic::VectorXYZT | value | ) |
Set the Hit (cell) position and time [mm, ns].
|
inline |
|
inline |
disconnect from TrackerHitObj instance
|
friend |
|
friend |
|
friend |