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