EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::TrackerHit Class Reference

#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
 
TrackerHitoperator= (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::CovDiag3fgetPositionError () 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)
 

Detailed Description

Tracker hit (reconstructed from Raw)

Author
: W. Armstrong, S. Joosten

Member Typedef Documentation

◆ collection_type

◆ mutable_type

Constructor & Destructor Documentation

◆ TrackerHit() [1/3]

edm4eic::TrackerHit::TrackerHit ( )

default constructor

◆ TrackerHit() [2/3]

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.

◆ TrackerHit() [3/3]

edm4eic::TrackerHit::TrackerHit ( const TrackerHit & other)
default

copy constructor

◆ ~TrackerHit()

edm4eic::TrackerHit::~TrackerHit ( )
default

destructor

Member Function Documentation

◆ clone()

MutableTrackerHit edm4eic::TrackerHit::clone ( ) const

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

◆ getCellID()

std::uint64_t edm4eic::TrackerHit::getCellID ( ) const

Access the The detector specific (geometrical) cell id.

◆ getEdep()

float edm4eic::TrackerHit::getEdep ( ) const

Access the Energy deposit in this hit [GeV].

◆ getEdepError()

float edm4eic::TrackerHit::getEdepError ( ) const

Access the Error on the energy deposit [GeV].

◆ getObjectID()

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

◆ getPosition()

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

Access the Hit (cell) position [mm].

◆ getPositionError()

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

Access the Covariance Matrix.

◆ getRawHit()

const edm4eic::RawTrackerHit edm4eic::TrackerHit::getRawHit ( ) const

Access the Related raw tracker hit.

◆ getTime()

float edm4eic::TrackerHit::getTime ( ) const

Access the Hit time [ns].

◆ getTimeError()

float edm4eic::TrackerHit::getTimeError ( ) const

Access the Error on the time.

◆ id()

podio::ObjectID edm4eic::TrackerHit::id ( ) const
inline

◆ isAvailable()

bool edm4eic::TrackerHit::isAvailable ( ) const

check whether the object is actually available

◆ makeEmpty()

TrackerHit edm4eic::TrackerHit::makeEmpty ( )
static

◆ operator<()

bool edm4eic::TrackerHit::operator< ( const TrackerHit & other) const
inline

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::TrackerHit::operator== ( const MutableTrackerHit & other) const

◆ operator==() [2/2]

bool edm4eic::TrackerHit::operator== ( const TrackerHit & other) const
inline

◆ unlink()

void edm4eic::TrackerHit::unlink ( )
inline

disconnect from TrackerHitObj instance

Friends And Related Symbol Documentation

◆ edm4eic::TrackerHitCollectionData

friend class edm4eic::TrackerHitCollectionData
friend

◆ 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: