EICd
EIC data model
eic::TrackerHit Class Reference

#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...
 
TrackerHitoperator= (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::IndexID () 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::VectorXYZTposition () const
 Access the Hit (cell) position and time [mm, ns]. More...
 
const eic::CovDiagXYZTcovMatrix () 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::IndexID ()
 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::VectorXYZTposition ()
 Get reference to Hit (cell) position and time [mm, ns]. More...
 
void covMatrix (eic::CovDiagXYZT value)
 Set the Covariance Matrix. More...
 
eic::CovDiagXYZTcovMatrix ()
 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
 

Detailed Description

Tracker hit (reconstructed from Raw)

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ TrackerHit() [1/4]

eic::TrackerHit::TrackerHit ( )

default constructor

◆ TrackerHit() [2/4]

eic::TrackerHit::TrackerHit ( eic::Index  ID,
std::int64_t  cellID,
eic::VectorXYZT  position,
eic::CovDiagXYZT  covMatrix,
float  edep,
float  edepError 
)

◆ TrackerHit() [3/4]

eic::TrackerHit::TrackerHit ( TrackerHitObj obj)

constructor from existing TrackerHitObj

◆ TrackerHit() [4/4]

eic::TrackerHit::TrackerHit ( const TrackerHit other)

copy constructor

◆ ~TrackerHit()

eic::TrackerHit::~TrackerHit ( )

destructor

Member Function Documentation

◆ cellID() [1/2]

const std::int64_t & eic::TrackerHit::cellID ( ) const

Access the The detector specific (geometrical) cell id.

◆ cellID() [2/2]

void eic::TrackerHit::cellID ( std::int64_t  value)

Set the The detector specific (geometrical) cell id.

◆ clone()

TrackerHit eic::TrackerHit::clone ( ) const

support cloning (deep-copy)

◆ covMatrix() [1/3]

eic::CovDiagXYZT & eic::TrackerHit::covMatrix ( )

Get reference to Covariance Matrix.

◆ covMatrix() [2/3]

const eic::CovDiagXYZT & eic::TrackerHit::covMatrix ( ) const

Access the Covariance Matrix.

◆ covMatrix() [3/3]

void eic::TrackerHit::covMatrix ( eic::CovDiagXYZT  value)

Set the Covariance Matrix.

◆ edep() [1/2]

const float & eic::TrackerHit::edep ( ) const

Access the Energy deposit in this hit [GeV].

◆ edep() [2/2]

void eic::TrackerHit::edep ( float  value)

Set the Energy deposit in this hit [GeV].

◆ edepError() [1/2]

const float & eic::TrackerHit::edepError ( ) const

Access the Error on the energy deposit [GeV].

◆ edepError() [2/2]

void eic::TrackerHit::edepError ( float  value)

Set the Error on the energy deposit [GeV].

◆ getObjectID()

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

◆ ID() [1/3]

eic::Index & eic::TrackerHit::ID ( )

Get reference to unique ID for this hit.

◆ ID() [2/3]

const eic::Index & eic::TrackerHit::ID ( ) const

Access the unique ID for this hit.

◆ id()

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

◆ ID() [3/3]

void eic::TrackerHit::ID ( eic::Index  value)

Set the unique ID for this hit.

◆ isAvailable()

bool eic::TrackerHit::isAvailable ( ) const

check whether the object is actually available

◆ operator ConstTrackerHit()

eic::TrackerHit::operator ConstTrackerHit ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

TrackerHit & eic::TrackerHit::operator= ( const TrackerHit other)

copy-assignment operator

◆ operator==() [1/2]

bool eic::TrackerHit::operator== ( const ConstTrackerHit other) const

◆ operator==() [2/2]

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

◆ position() [1/3]

eic::VectorXYZT & eic::TrackerHit::position ( )

Get reference to Hit (cell) position and time [mm, ns].

◆ position() [2/3]

const eic::VectorXYZT & eic::TrackerHit::position ( ) const

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

◆ position() [3/3]

void eic::TrackerHit::position ( eic::VectorXYZT  value)

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

◆ time()

double eic::TrackerHit::time ( ) const
inline

◆ unlink()

void eic::TrackerHit::unlink ( )
inline

disconnect from TrackerHitObj instance

Friends And Related Function Documentation

◆ ConstTrackerHit

friend class ConstTrackerHit
friend

◆ TrackerHitCollection

friend class TrackerHitCollection
friend

◆ TrackerHitCollectionIterator

friend class TrackerHitCollectionIterator
friend

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