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

#include <MutableTrackerHit.h>

Public Types

using object_type = TrackerHit
 
using collection_type = TrackerHitCollection
 

Public Member Functions

 MutableTrackerHit ()
 default constructor
 
 MutableTrackerHit (std::uint64_t cellID, edm4hep::Vector3f position, edm4eic::CovDiag3f positionError, float time, float timeError, float edep, float edepError)
 Constructor initializing all members.
 
 MutableTrackerHit (const MutableTrackerHit &other)=default
 copy constructor
 
MutableTrackerHitoperator= (MutableTrackerHit other)
 copy-assignment operator
 
MutableTrackerHit clone () const
 create a mutable deep-copy of the object with identical relations
 
 ~MutableTrackerHit ()=default
 destructor
 
 operator TrackerHit () const
 conversion to const object
 
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.
 
void setCellID (std::uint64_t value)
 Set the The detector specific (geometrical) cell id.
 
void setPosition (edm4hep::Vector3f value)
 Set the Hit (cell) position [mm].
 
edm4hep::Vector3f & position ()
 Get reference to Hit (cell) position [mm].
 
void setPositionError (edm4eic::CovDiag3f value)
 Set the Covariance Matrix.
 
edm4eic::CovDiag3fpositionError ()
 Get reference to Covariance Matrix.
 
void setTime (float value)
 Set the Hit time [ns].
 
void setTimeError (float value)
 Set the Error on the time.
 
void setEdep (float value)
 Set the Energy deposit in this hit [GeV].
 
void setEdepError (float value)
 Set the Error on the energy deposit [GeV].
 
void setRawHit (edm4eic::RawTrackerHit value)
 Set the Related raw tracker hit.
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from TrackerHitObj instance
 
bool operator== (const MutableTrackerHit &other) const
 
bool operator== (const TrackerHit &other) const
 
bool operator< (const MutableTrackerHit &other) const
 
podio::ObjectID 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

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableTrackerHit() [1/3]

edm4eic::MutableTrackerHit::MutableTrackerHit ( )

default constructor

◆ MutableTrackerHit() [2/3]

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

Constructor initializing all members.

◆ MutableTrackerHit() [3/3]

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

copy constructor

◆ ~MutableTrackerHit()

edm4eic::MutableTrackerHit::~MutableTrackerHit ( )
default

destructor

Member Function Documentation

◆ clone()

MutableTrackerHit edm4eic::MutableTrackerHit::clone ( ) const

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

◆ getCellID()

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

Access the The detector specific (geometrical) cell id.

◆ getEdep()

float edm4eic::MutableTrackerHit::getEdep ( ) const

Access the Energy deposit in this hit [GeV].

◆ getEdepError()

float edm4eic::MutableTrackerHit::getEdepError ( ) const

Access the Error on the energy deposit [GeV].

◆ getObjectID()

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

◆ getPosition()

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

Access the Hit (cell) position [mm].

◆ getPositionError()

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

Access the Covariance Matrix.

◆ getRawHit()

const edm4eic::RawTrackerHit edm4eic::MutableTrackerHit::getRawHit ( ) const

Access the Related raw tracker hit.

◆ getTime()

float edm4eic::MutableTrackerHit::getTime ( ) const

Access the Hit time [ns].

◆ getTimeError()

float edm4eic::MutableTrackerHit::getTimeError ( ) const

Access the Error on the time.

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableTrackerHit::isAvailable ( ) const

check whether the object is actually available

◆ operator TrackerHit()

edm4eic::MutableTrackerHit::operator TrackerHit ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ position()

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

Get reference to Hit (cell) position [mm].

◆ positionError()

edm4eic::CovDiag3f & edm4eic::MutableTrackerHit::positionError ( )

Get reference to Covariance Matrix.

◆ setCellID()

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

Set the The detector specific (geometrical) cell id.

◆ setEdep()

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

Set the Energy deposit in this hit [GeV].

◆ setEdepError()

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

Set the Error on the energy deposit [GeV].

◆ setPosition()

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

Set the Hit (cell) position [mm].

◆ setPositionError()

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

Set the Covariance Matrix.

◆ setRawHit()

void edm4eic::MutableTrackerHit::setRawHit ( edm4eic::RawTrackerHit value)

Set the Related raw tracker hit.

◆ setTime()

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

Set the Hit time [ns].

◆ setTimeError()

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

Set the Error on the time.

◆ unlink()

void edm4eic::MutableTrackerHit::unlink ( )
inline

disconnect from TrackerHitObj instance

Friends And Related Symbol 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: