EICd
EIC data model
eic::RawTrackerHit Class Reference

#include <RawTrackerHit.h>

Public Member Functions

 RawTrackerHit ()
 default constructor More...
 
 RawTrackerHit (eic::Index ID, std::int64_t cellID, std::int32_t time, std::int32_t charge)
 
 RawTrackerHit (RawTrackerHitObj *obj)
 constructor from existing RawTrackerHitObj More...
 
 RawTrackerHit (const RawTrackerHit &other)
 copy constructor More...
 
RawTrackerHitoperator= (const RawTrackerHit &other)
 copy-assignment operator More...
 
RawTrackerHit clone () const
 support cloning (deep-copy) More...
 
 ~RawTrackerHit ()
 destructor More...
 
 operator ConstRawTrackerHit () const
 conversion to const object More...
 
const eic::IndexID () const
 Access the unique ID for this hit. More...
 
const std::int64_t & cellID () const
 Access the The detector specific (geometrical) cell id. More...
 
const std::int32_t & time () const
 Access the tdc value. More...
 
const std::int32_t & charge () const
 Access the adc value. More...
 
void ID (eic::Index value)
 Set the unique ID for this hit. More...
 
eic::IndexID ()
 Get reference to unique ID for this hit. More...
 
void cellID (std::int64_t value)
 Set the The detector specific (geometrical) cell id. More...
 
void time (std::int32_t value)
 Set the tdc value. More...
 
void charge (std::int32_t value)
 Set the adc value. More...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from RawTrackerHitObj instance More...
 
bool operator== (const RawTrackerHit &other) const
 
bool operator== (const ConstRawTrackerHit &other) const
 
bool operator< (const RawTrackerHit &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class RawTrackerHitCollection
 
class RawTrackerHitCollectionIterator
 
class ConstRawTrackerHit
 

Detailed Description

Raw (digitized) tracker hit

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ RawTrackerHit() [1/4]

eic::RawTrackerHit::RawTrackerHit ( )

default constructor

◆ RawTrackerHit() [2/4]

eic::RawTrackerHit::RawTrackerHit ( eic::Index  ID,
std::int64_t  cellID,
std::int32_t  time,
std::int32_t  charge 
)

◆ RawTrackerHit() [3/4]

eic::RawTrackerHit::RawTrackerHit ( RawTrackerHitObj obj)

constructor from existing RawTrackerHitObj

◆ RawTrackerHit() [4/4]

eic::RawTrackerHit::RawTrackerHit ( const RawTrackerHit other)

copy constructor

◆ ~RawTrackerHit()

eic::RawTrackerHit::~RawTrackerHit ( )

destructor

Member Function Documentation

◆ cellID() [1/2]

const std::int64_t & eic::RawTrackerHit::cellID ( ) const

Access the The detector specific (geometrical) cell id.

◆ cellID() [2/2]

void eic::RawTrackerHit::cellID ( std::int64_t  value)

Set the The detector specific (geometrical) cell id.

◆ charge() [1/2]

const std::int32_t & eic::RawTrackerHit::charge ( ) const

Access the adc value.

◆ charge() [2/2]

void eic::RawTrackerHit::charge ( std::int32_t  value)

Set the adc value.

◆ clone()

RawTrackerHit eic::RawTrackerHit::clone ( ) const

support cloning (deep-copy)

◆ getObjectID()

const podio::ObjectID eic::RawTrackerHit::getObjectID ( ) const

◆ ID() [1/3]

eic::Index & eic::RawTrackerHit::ID ( )

Get reference to unique ID for this hit.

◆ ID() [2/3]

const eic::Index & eic::RawTrackerHit::ID ( ) const

Access the unique ID for this hit.

◆ id()

unsigned int eic::RawTrackerHit::id ( ) const
inline

◆ ID() [3/3]

void eic::RawTrackerHit::ID ( eic::Index  value)

Set the unique ID for this hit.

◆ isAvailable()

bool eic::RawTrackerHit::isAvailable ( ) const

check whether the object is actually available

◆ operator ConstRawTrackerHit()

eic::RawTrackerHit::operator ConstRawTrackerHit ( ) const

conversion to const object

◆ operator<()

bool eic::RawTrackerHit::operator< ( const RawTrackerHit other) const
inline

◆ operator=()

RawTrackerHit & eic::RawTrackerHit::operator= ( const RawTrackerHit other)

copy-assignment operator

◆ operator==() [1/2]

bool eic::RawTrackerHit::operator== ( const ConstRawTrackerHit other) const

◆ operator==() [2/2]

bool eic::RawTrackerHit::operator== ( const RawTrackerHit other) const
inline

◆ time() [1/2]

const std::int32_t & eic::RawTrackerHit::time ( ) const

Access the tdc value.

◆ time() [2/2]

void eic::RawTrackerHit::time ( std::int32_t  value)

Set the tdc value.

◆ unlink()

void eic::RawTrackerHit::unlink ( )
inline

disconnect from RawTrackerHitObj instance

Friends And Related Function Documentation

◆ ConstRawTrackerHit

friend class ConstRawTrackerHit
friend

◆ RawTrackerHitCollection

friend class RawTrackerHitCollection
friend

◆ RawTrackerHitCollectionIterator

friend class RawTrackerHitCollectionIterator
friend

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