EICd
EIC data model
eicd::TrackerHit Class Reference

#include <TrackerHit.h>

Public Member Functions

 TrackerHit ()
 default constructor More...
 
 TrackerHit (std::uint64_t cellID, edm4hep::Vector3f position, eicd::CovDiag3f positionError, float time, float timeError, float edep, float edepError)
 
 TrackerHit (TrackerHitObj *obj)
 constructor from existing TrackerHitObj More...
 
 TrackerHit (const TrackerHit &other)
 copy constructor More...
 
TrackerHitoperator= (TrackerHit other)
 copy-assignment operator More...
 
MutableTrackerHit clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~TrackerHit ()
 destructor 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::CovDiag3fgetPositionError () 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...
 
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 MutableTrackerHit &other) const
 
bool operator< (const TrackerHit &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class MutableTrackerHit
 
class TrackerHitCollection
 
class TrackerHitCollectionIterator
 
void swap (TrackerHit &a, TrackerHit &b)
 

Detailed Description

Tracker hit (reconstructed from Raw)

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ TrackerHit() [1/4]

eicd::TrackerHit::TrackerHit ( )

default constructor

◆ TrackerHit() [2/4]

eicd::TrackerHit::TrackerHit ( std::uint64_t  cellID,
edm4hep::Vector3f  position,
eicd::CovDiag3f  positionError,
float  time,
float  timeError,
float  edep,
float  edepError 
)

◆ TrackerHit() [3/4]

eicd::TrackerHit::TrackerHit ( TrackerHitObj obj)

constructor from existing TrackerHitObj

◆ TrackerHit() [4/4]

eicd::TrackerHit::TrackerHit ( const TrackerHit other)

copy constructor

◆ ~TrackerHit()

eicd::TrackerHit::~TrackerHit ( )

destructor

Member Function Documentation

◆ clone()

MutableTrackerHit eicd::TrackerHit::clone ( ) const

create a mutable deep-copy of the object with identical relations

◆ getCellID()

const std::uint64_t & eicd::TrackerHit::getCellID ( ) const

Access the The detector specific (geometrical) cell id.

◆ getEdep()

const float & eicd::TrackerHit::getEdep ( ) const

Access the Energy deposit in this hit [GeV].

◆ getEdepError()

const float & eicd::TrackerHit::getEdepError ( ) const

Access the Error on the energy deposit [GeV].

◆ getObjectID()

const podio::ObjectID eicd::TrackerHit::getObjectID ( ) const

◆ getPosition()

const edm4hep::Vector3f & eicd::TrackerHit::getPosition ( ) const

Access the Hit (cell) position and time [mm, ns].

◆ getPositionError()

const eicd::CovDiag3f & eicd::TrackerHit::getPositionError ( ) const

Access the Covariance Matrix.

◆ getTime()

const float & eicd::TrackerHit::getTime ( ) const

Access the Hit time.

◆ getTimeError()

const float & eicd::TrackerHit::getTimeError ( ) const

Access the Error on the time.

◆ id()

unsigned int eicd::TrackerHit::id ( ) const
inline

◆ isAvailable()

bool eicd::TrackerHit::isAvailable ( ) const

check whether the object is actually available

◆ operator<()

bool eicd::TrackerHit::operator< ( const TrackerHit other) const
inline

◆ operator=()

TrackerHit & eicd::TrackerHit::operator= ( TrackerHit  other)

copy-assignment operator

◆ operator==() [1/2]

bool eicd::TrackerHit::operator== ( const MutableTrackerHit other) const

◆ operator==() [2/2]

bool eicd::TrackerHit::operator== ( const TrackerHit other) const
inline

◆ unlink()

void eicd::TrackerHit::unlink ( )
inline

disconnect from TrackerHitObj instance

Friends And Related Function Documentation

◆ MutableTrackerHit

friend class MutableTrackerHit
friend

◆ swap

void swap ( TrackerHit a,
TrackerHit b 
)
friend

◆ TrackerHitCollection

friend class TrackerHitCollection
friend

◆ TrackerHitCollectionIterator

friend class TrackerHitCollectionIterator
friend

The documentation for this class was generated from the following files: