EICd
EIC data model
eicd::MutableRawTrackerHit Class Reference

#include <MutableRawTrackerHit.h>

Public Member Functions

 MutableRawTrackerHit ()
 default constructor More...
 
 MutableRawTrackerHit (std::uint64_t cellID, std::int32_t charge, std::int32_t timeStamp)
 
 MutableRawTrackerHit (RawTrackerHitObj *obj)
 constructor from existing RawTrackerHitObj More...
 
 MutableRawTrackerHit (const MutableRawTrackerHit &other)
 copy constructor More...
 
MutableRawTrackerHitoperator= (MutableRawTrackerHit other)
 copy-assignment operator More...
 
MutableRawTrackerHit clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~MutableRawTrackerHit ()
 destructor More...
 
 operator RawTrackerHit () const
 conversion to const object More...
 
const std::uint64_t & getCellID () const
 Access the The detector specific (geometrical) cell id. More...
 
const std::int32_t & getCharge () const
 Access the ADC value. More...
 
const std::int32_t & getTimeStamp () const
 Access the TDC value. More...
 
void setCellID (std::uint64_t value)
 Set the The detector specific (geometrical) cell id. More...
 
void setCharge (std::int32_t value)
 Set the ADC value. More...
 
void setTimeStamp (std::int32_t value)
 Set the TDC value. More...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from RawTrackerHitObj instance More...
 
bool operator== (const MutableRawTrackerHit &other) const
 
bool operator== (const RawTrackerHit &other) const
 
bool operator< (const MutableRawTrackerHit &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class RawTrackerHitCollection
 
class RawTrackerHitMutableCollectionIterator
 
class RawTrackerHit
 
void swap (MutableRawTrackerHit &a, MutableRawTrackerHit &b)
 

Detailed Description

Raw (digitized) tracker hit

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ MutableRawTrackerHit() [1/4]

eicd::MutableRawTrackerHit::MutableRawTrackerHit ( )

default constructor

◆ MutableRawTrackerHit() [2/4]

eicd::MutableRawTrackerHit::MutableRawTrackerHit ( std::uint64_t  cellID,
std::int32_t  charge,
std::int32_t  timeStamp 
)

◆ MutableRawTrackerHit() [3/4]

eicd::MutableRawTrackerHit::MutableRawTrackerHit ( RawTrackerHitObj obj)

constructor from existing RawTrackerHitObj

◆ MutableRawTrackerHit() [4/4]

eicd::MutableRawTrackerHit::MutableRawTrackerHit ( const MutableRawTrackerHit other)

copy constructor

◆ ~MutableRawTrackerHit()

eicd::MutableRawTrackerHit::~MutableRawTrackerHit ( )

destructor

Member Function Documentation

◆ clone()

MutableRawTrackerHit eicd::MutableRawTrackerHit::clone ( ) const

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

◆ getCellID()

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

Access the The detector specific (geometrical) cell id.

◆ getCharge()

const std::int32_t & eicd::MutableRawTrackerHit::getCharge ( ) const

Access the ADC value.

◆ getObjectID()

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

◆ getTimeStamp()

const std::int32_t & eicd::MutableRawTrackerHit::getTimeStamp ( ) const

Access the TDC value.

◆ id()

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

◆ isAvailable()

bool eicd::MutableRawTrackerHit::isAvailable ( ) const

check whether the object is actually available

◆ operator RawTrackerHit()

eicd::MutableRawTrackerHit::operator RawTrackerHit ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool eicd::MutableRawTrackerHit::operator== ( const RawTrackerHit other) const

◆ setCellID()

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

Set the The detector specific (geometrical) cell id.

◆ setCharge()

void eicd::MutableRawTrackerHit::setCharge ( std::int32_t  value)

Set the ADC value.

◆ setTimeStamp()

void eicd::MutableRawTrackerHit::setTimeStamp ( std::int32_t  value)

Set the TDC value.

◆ unlink()

void eicd::MutableRawTrackerHit::unlink ( )
inline

disconnect from RawTrackerHitObj instance

Friends And Related Function Documentation

◆ RawTrackerHit

friend class RawTrackerHit
friend

◆ RawTrackerHitCollection

friend class RawTrackerHitCollection
friend

◆ RawTrackerHitMutableCollectionIterator

◆ swap

void swap ( MutableRawTrackerHit a,
MutableRawTrackerHit b 
)
friend

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