EICd
EIC data model
eicd::MutableTrackerHit Class Reference

#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...
 
MutableTrackerHitoperator= (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::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...
 
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::CovDiag3fpositionError ()
 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)
 

Detailed Description

Tracker hit (reconstructed from Raw)

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ MutableTrackerHit() [1/4]

eicd::MutableTrackerHit::MutableTrackerHit ( )

default constructor

◆ MutableTrackerHit() [2/4]

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

◆ MutableTrackerHit() [3/4]

eicd::MutableTrackerHit::MutableTrackerHit ( TrackerHitObj obj)

constructor from existing TrackerHitObj

◆ MutableTrackerHit() [4/4]

eicd::MutableTrackerHit::MutableTrackerHit ( const MutableTrackerHit other)

copy constructor

◆ ~MutableTrackerHit()

eicd::MutableTrackerHit::~MutableTrackerHit ( )

destructor

Member Function Documentation

◆ clone()

MutableTrackerHit eicd::MutableTrackerHit::clone ( ) const

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

◆ getCellID()

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

Access the The detector specific (geometrical) cell id.

◆ getEdep()

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

Access the Energy deposit in this hit [GeV].

◆ getEdepError()

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

Access the Error on the energy deposit [GeV].

◆ getObjectID()

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

◆ getPosition()

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

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

◆ getPositionError()

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

Access the Covariance Matrix.

◆ getTime()

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

Access the Hit time.

◆ getTimeError()

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

Access the Error on the time.

◆ id()

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

◆ isAvailable()

bool eicd::MutableTrackerHit::isAvailable ( ) const

check whether the object is actually available

◆ operator TrackerHit()

eicd::MutableTrackerHit::operator TrackerHit ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ position()

edm4hep::Vector3f & eicd::MutableTrackerHit::position ( )

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

◆ positionError()

eicd::CovDiag3f & eicd::MutableTrackerHit::positionError ( )

Get reference to Covariance Matrix.

◆ setCellID()

void eicd::MutableTrackerHit::setCellID ( std::uint64_t  value)

Set the The detector specific (geometrical) cell id.

◆ setEdep()

void eicd::MutableTrackerHit::setEdep ( float  value)

Set the Energy deposit in this hit [GeV].

◆ setEdepError()

void eicd::MutableTrackerHit::setEdepError ( float  value)

Set the Error on the energy deposit [GeV].

◆ setPosition()

void eicd::MutableTrackerHit::setPosition ( edm4hep::Vector3f  value)

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

◆ setPositionError()

void eicd::MutableTrackerHit::setPositionError ( eicd::CovDiag3f  value)

Set the Covariance Matrix.

◆ setTime()

void eicd::MutableTrackerHit::setTime ( float  value)

Set the Hit time.

◆ setTimeError()

void eicd::MutableTrackerHit::setTimeError ( float  value)

Set the Error on the time.

◆ unlink()

void eicd::MutableTrackerHit::unlink ( )
inline

disconnect from TrackerHitObj instance

Friends And Related Function Documentation

◆ swap

void swap ( MutableTrackerHit a,
MutableTrackerHit b 
)
friend

◆ TrackerHit

friend class TrackerHit
friend

◆ TrackerHitCollection

friend class TrackerHitCollection
friend

◆ TrackerHitMutableCollectionIterator


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