EDM4eic
EIC data model
|
#include <MutableTrackerHit.h>
Public Types | |
using | object_type = TrackerHit |
using | collection_type = TrackerHitCollection |
Public Member Functions | |
MutableTrackerHit () | |
default constructor | |
MutableTrackerHit (std::uint64_t cellID, edm4hep::Vector3f position, edm4eic::CovDiag3f positionError, float time, float timeError, float edep, float edepError) | |
Constructor initializing all members. | |
MutableTrackerHit (const MutableTrackerHit &other)=default | |
copy constructor | |
MutableTrackerHit & | operator= (MutableTrackerHit other) |
copy-assignment operator | |
MutableTrackerHit | clone () const |
create a mutable deep-copy of the object with identical relations | |
~MutableTrackerHit ()=default | |
destructor | |
operator TrackerHit () const | |
conversion to const object | |
std::uint64_t | getCellID () const |
Access the The detector specific (geometrical) cell id. | |
const edm4hep::Vector3f & | getPosition () const |
Access the Hit (cell) position [mm]. | |
const edm4eic::CovDiag3f & | getPositionError () const |
Access the Covariance Matrix. | |
float | getTime () const |
Access the Hit time [ns]. | |
float | getTimeError () const |
Access the Error on the time. | |
float | getEdep () const |
Access the Energy deposit in this hit [GeV]. | |
float | getEdepError () const |
Access the Error on the energy deposit [GeV]. | |
const edm4eic::RawTrackerHit | getRawHit () const |
Access the Related raw tracker hit. | |
void | setCellID (std::uint64_t value) |
Set the The detector specific (geometrical) cell id. | |
void | setPosition (edm4hep::Vector3f value) |
Set the Hit (cell) position [mm]. | |
edm4hep::Vector3f & | position () |
Get reference to Hit (cell) position [mm]. | |
void | setPositionError (edm4eic::CovDiag3f value) |
Set the Covariance Matrix. | |
edm4eic::CovDiag3f & | positionError () |
Get reference to Covariance Matrix. | |
void | setTime (float value) |
Set the Hit time [ns]. | |
void | setTimeError (float value) |
Set the Error on the time. | |
void | setEdep (float value) |
Set the Energy deposit in this hit [GeV]. | |
void | setEdepError (float value) |
Set the Error on the energy deposit [GeV]. | |
void | setRawHit (edm4eic::RawTrackerHit value) |
Set the Related raw tracker hit. | |
bool | isAvailable () const |
check whether the object is actually available | |
void | unlink () |
disconnect from TrackerHitObj instance | |
bool | operator== (const MutableTrackerHit &other) const |
bool | operator== (const TrackerHit &other) const |
bool | operator< (const MutableTrackerHit &other) const |
podio::ObjectID | 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)
edm4eic::MutableTrackerHit::MutableTrackerHit | ( | ) |
default constructor
edm4eic::MutableTrackerHit::MutableTrackerHit | ( | std::uint64_t | cellID, |
edm4hep::Vector3f | position, | ||
edm4eic::CovDiag3f | positionError, | ||
float | time, | ||
float | timeError, | ||
float | edep, | ||
float | edepError ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
MutableTrackerHit edm4eic::MutableTrackerHit::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
std::uint64_t edm4eic::MutableTrackerHit::getCellID | ( | ) | const |
Access the The detector specific (geometrical) cell id.
float edm4eic::MutableTrackerHit::getEdep | ( | ) | const |
Access the Energy deposit in this hit [GeV].
float edm4eic::MutableTrackerHit::getEdepError | ( | ) | const |
Access the Error on the energy deposit [GeV].
const podio::ObjectID edm4eic::MutableTrackerHit::getObjectID | ( | ) | const |
const edm4hep::Vector3f & edm4eic::MutableTrackerHit::getPosition | ( | ) | const |
Access the Hit (cell) position [mm].
const edm4eic::CovDiag3f & edm4eic::MutableTrackerHit::getPositionError | ( | ) | const |
Access the Covariance Matrix.
const edm4eic::RawTrackerHit edm4eic::MutableTrackerHit::getRawHit | ( | ) | const |
Access the Related raw tracker hit.
float edm4eic::MutableTrackerHit::getTime | ( | ) | const |
Access the Hit time [ns].
float edm4eic::MutableTrackerHit::getTimeError | ( | ) | const |
Access the Error on the time.
|
inline |
bool edm4eic::MutableTrackerHit::isAvailable | ( | ) | const |
check whether the object is actually available
edm4eic::MutableTrackerHit::operator TrackerHit | ( | ) | const |
conversion to const object
|
inline |
MutableTrackerHit & edm4eic::MutableTrackerHit::operator= | ( | MutableTrackerHit | other | ) |
copy-assignment operator
|
inline |
bool edm4eic::MutableTrackerHit::operator== | ( | const TrackerHit & | other | ) | const |
edm4hep::Vector3f & edm4eic::MutableTrackerHit::position | ( | ) |
Get reference to Hit (cell) position [mm].
edm4eic::CovDiag3f & edm4eic::MutableTrackerHit::positionError | ( | ) |
Get reference to Covariance Matrix.
void edm4eic::MutableTrackerHit::setCellID | ( | std::uint64_t | value | ) |
Set the The detector specific (geometrical) cell id.
void edm4eic::MutableTrackerHit::setEdep | ( | float | value | ) |
Set the Energy deposit in this hit [GeV].
void edm4eic::MutableTrackerHit::setEdepError | ( | float | value | ) |
Set the Error on the energy deposit [GeV].
void edm4eic::MutableTrackerHit::setPosition | ( | edm4hep::Vector3f | value | ) |
Set the Hit (cell) position [mm].
void edm4eic::MutableTrackerHit::setPositionError | ( | edm4eic::CovDiag3f | value | ) |
Set the Covariance Matrix.
void edm4eic::MutableTrackerHit::setRawHit | ( | edm4eic::RawTrackerHit | value | ) |
Set the Related raw tracker hit.
void edm4eic::MutableTrackerHit::setTime | ( | float | value | ) |
Set the Hit time [ns].
void edm4eic::MutableTrackerHit::setTimeError | ( | float | value | ) |
Set the Error on the time.
|
inline |
disconnect from TrackerHitObj instance
|
friend |
|
friend |
|
friend |
|
friend |