EICd
EIC data model
|
#include <MutableTrackerHit.h>
Public Member Functions | |
MutableTrackerHit () | |
default constructor More... | |
MutableTrackerHit (std::uint64_t cellID, edm4hep::Vector3f position, eicd::CovDiag3f positionError, float time, float timeError, float edep, float edepError) | |
MutableTrackerHit (TrackerHitObj *obj) | |
constructor from existing TrackerHitObj More... | |
MutableTrackerHit (const MutableTrackerHit &other) | |
copy constructor More... | |
MutableTrackerHit & | operator= (MutableTrackerHit other) |
copy-assignment operator More... | |
MutableTrackerHit | clone () const |
create a mutable deep-copy of the object with identical relations More... | |
~MutableTrackerHit () | |
destructor More... | |
operator TrackerHit () const | |
conversion to const object More... | |
const std::uint64_t & | getCellID () const |
Access the The detector specific (geometrical) cell id. More... | |
const edm4hep::Vector3f & | getPosition () const |
Access the Hit (cell) position and time [mm, ns]. More... | |
const eicd::CovDiag3f & | getPositionError () const |
Access the Covariance Matrix. More... | |
const float & | getTime () const |
Access the Hit time. More... | |
const float & | getTimeError () const |
Access the Error on the time. More... | |
const float & | getEdep () const |
Access the Energy deposit in this hit [GeV]. More... | |
const float & | getEdepError () const |
Access the Error on the energy deposit [GeV]. More... | |
void | setCellID (std::uint64_t value) |
Set the The detector specific (geometrical) cell id. More... | |
void | setPosition (edm4hep::Vector3f value) |
Set the Hit (cell) position and time [mm, ns]. More... | |
edm4hep::Vector3f & | position () |
Get reference to Hit (cell) position and time [mm, ns]. More... | |
void | setPositionError (eicd::CovDiag3f value) |
Set the Covariance Matrix. More... | |
eicd::CovDiag3f & | positionError () |
Get reference to Covariance Matrix. More... | |
void | setTime (float value) |
Set the Hit time. More... | |
void | setTimeError (float value) |
Set the Error on the time. More... | |
void | setEdep (float value) |
Set the Energy deposit in this hit [GeV]. More... | |
void | setEdepError (float value) |
Set the Error on the energy deposit [GeV]. More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from TrackerHitObj instance More... | |
bool | operator== (const MutableTrackerHit &other) const |
bool | operator== (const TrackerHit &other) const |
bool | operator< (const MutableTrackerHit &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | TrackerHitCollection |
class | TrackerHitMutableCollectionIterator |
class | TrackerHit |
void | swap (MutableTrackerHit &a, MutableTrackerHit &b) |
Tracker hit (reconstructed from Raw)
eicd::MutableTrackerHit::MutableTrackerHit | ( | ) |
default constructor
eicd::MutableTrackerHit::MutableTrackerHit | ( | std::uint64_t | cellID, |
edm4hep::Vector3f | position, | ||
eicd::CovDiag3f | positionError, | ||
float | time, | ||
float | timeError, | ||
float | edep, | ||
float | edepError | ||
) |
eicd::MutableTrackerHit::MutableTrackerHit | ( | TrackerHitObj * | obj | ) |
constructor from existing TrackerHitObj
eicd::MutableTrackerHit::MutableTrackerHit | ( | const MutableTrackerHit & | other | ) |
copy constructor
eicd::MutableTrackerHit::~MutableTrackerHit | ( | ) |
destructor
MutableTrackerHit eicd::MutableTrackerHit::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
const std::uint64_t & eicd::MutableTrackerHit::getCellID | ( | ) | const |
Access the The detector specific (geometrical) cell id.
const float & eicd::MutableTrackerHit::getEdep | ( | ) | const |
Access the Energy deposit in this hit [GeV].
const float & eicd::MutableTrackerHit::getEdepError | ( | ) | const |
Access the Error on the energy deposit [GeV].
const podio::ObjectID eicd::MutableTrackerHit::getObjectID | ( | ) | const |
const edm4hep::Vector3f & eicd::MutableTrackerHit::getPosition | ( | ) | const |
Access the Hit (cell) position and time [mm, ns].
const eicd::CovDiag3f & eicd::MutableTrackerHit::getPositionError | ( | ) | const |
Access the Covariance Matrix.
const float & eicd::MutableTrackerHit::getTime | ( | ) | const |
Access the Hit time.
const float & eicd::MutableTrackerHit::getTimeError | ( | ) | const |
Access the Error on the time.
|
inline |
bool eicd::MutableTrackerHit::isAvailable | ( | ) | const |
check whether the object is actually available
eicd::MutableTrackerHit::operator TrackerHit | ( | ) | const |
conversion to const object
|
inline |
MutableTrackerHit & eicd::MutableTrackerHit::operator= | ( | MutableTrackerHit | other | ) |
copy-assignment operator
|
inline |
bool eicd::MutableTrackerHit::operator== | ( | const TrackerHit & | other | ) | const |
edm4hep::Vector3f & eicd::MutableTrackerHit::position | ( | ) |
Get reference to Hit (cell) position and time [mm, ns].
eicd::CovDiag3f & eicd::MutableTrackerHit::positionError | ( | ) |
Get reference to Covariance Matrix.
void eicd::MutableTrackerHit::setCellID | ( | std::uint64_t | value | ) |
Set the The detector specific (geometrical) cell id.
void eicd::MutableTrackerHit::setEdep | ( | float | value | ) |
Set the Energy deposit in this hit [GeV].
void eicd::MutableTrackerHit::setEdepError | ( | float | value | ) |
Set the Error on the energy deposit [GeV].
void eicd::MutableTrackerHit::setPosition | ( | edm4hep::Vector3f | value | ) |
Set the Hit (cell) position and time [mm, ns].
void eicd::MutableTrackerHit::setPositionError | ( | eicd::CovDiag3f | value | ) |
Set the Covariance Matrix.
void eicd::MutableTrackerHit::setTime | ( | float | value | ) |
Set the Hit time.
void eicd::MutableTrackerHit::setTimeError | ( | float | value | ) |
Set the Error on the time.
|
inline |
disconnect from TrackerHitObj instance
|
friend |
|
friend |
|
friend |
|
friend |