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 (bool cloneRelations=true) const
 
 ~MutableTrackerHit ()=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.
 
void setCellID (std::uint64_t value)
 Set the The detector specific (geometrical) cell id.
 
std::uint64_t & getCellID ()
 Get mutable reference to The detector specific (geometrical) cell id.
 
std::uint64_t & cellID ()
 Get reference to The detector specific (geometrical) cell id.
 
void setPosition (edm4hep::Vector3f value)
 Set the Hit (cell) position [mm].
 
edm4hep::Vector3f & getPosition ()
 Get mutable reference to Hit (cell) position [mm].
 
edm4hep::Vector3f & position ()
 Get reference to Hit (cell) position [mm].
 
void setPositionError (edm4eic::CovDiag3f value)
 Set the Covariance Matrix.
 
edm4eic::CovDiag3fgetPositionError ()
 Get mutable reference to Covariance Matrix.
 
edm4eic::CovDiag3fpositionError ()
 Get reference to Covariance Matrix.
 
void setTime (float value)
 Set the Hit time [ns].
 
float & getTime ()
 Get mutable reference to Hit time [ns].
 
float & time ()
 Get reference to Hit time [ns].
 
void setTimeError (float value)
 Set the Error on the time.
 
float & getTimeError ()
 Get mutable reference to Error on the time.
 
float & timeError ()
 Get reference to Error on the time.
 
void setEdep (float value)
 Set the Energy deposit in this hit [GeV].
 
float & getEdep ()
 Get mutable reference to Energy deposit in this hit [GeV].
 
float & edep ()
 Get reference to Energy deposit in this hit [GeV].
 
void setEdepError (float value)
 Set the Error on the energy deposit [GeV].
 
float & getEdepError ()
 Get mutable reference to Error on the energy deposit [GeV].
 
float & edepError ()
 Get reference to Error on the energy deposit [GeV].
 
void setRawHit (const 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
 
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

◆ cellID()

std::uint64_t & edm4eic::MutableTrackerHit::cellID ( )

Get reference to The detector specific (geometrical) cell id.

◆ clone()

MutableTrackerHit edm4eic::MutableTrackerHit::clone ( bool cloneRelations = true) const

create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty

◆ edep()

float & edm4eic::MutableTrackerHit::edep ( )

Get reference to Energy deposit in this hit [GeV].

◆ edepError()

float & edm4eic::MutableTrackerHit::edepError ( )

Get reference to Error on the energy deposit [GeV].

◆ getCellID() [1/2]

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

Get mutable reference to The detector specific (geometrical) cell id.

◆ getCellID() [2/2]

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

Access the The detector specific (geometrical) cell id.

◆ getEdep() [1/2]

float & edm4eic::MutableTrackerHit::getEdep ( )

Get mutable reference to Energy deposit in this hit [GeV].

◆ getEdep() [2/2]

float edm4eic::MutableTrackerHit::getEdep ( ) const

Access the Energy deposit in this hit [GeV].

◆ getEdepError() [1/2]

float & edm4eic::MutableTrackerHit::getEdepError ( )

Get mutable reference to Error on the energy deposit [GeV].

◆ getEdepError() [2/2]

float edm4eic::MutableTrackerHit::getEdepError ( ) const

Access the Error on the energy deposit [GeV].

◆ getObjectID()

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

◆ getPosition() [1/2]

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

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

◆ getPosition() [2/2]

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

Access the Hit (cell) position [mm].

◆ getPositionError() [1/2]

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

Get mutable reference to Covariance Matrix.

◆ getPositionError() [2/2]

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() [1/2]

float & edm4eic::MutableTrackerHit::getTime ( )

Get mutable reference to Hit time [ns].

◆ getTime() [2/2]

float edm4eic::MutableTrackerHit::getTime ( ) const

Access the Hit time [ns].

◆ getTimeError() [1/2]

float & edm4eic::MutableTrackerHit::getTimeError ( )

Get mutable reference to Error on the time.

◆ getTimeError() [2/2]

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!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ 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 ( const 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.

◆ time()

float & edm4eic::MutableTrackerHit::time ( )

Get reference to Hit time [ns].

◆ timeError()

float & edm4eic::MutableTrackerHit::timeError ( )

Get reference to 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: