EICd
EIC data model
eicd::RawCalorimeterHit Class Reference

#include <RawCalorimeterHit.h>

Public Member Functions

 RawCalorimeterHit ()
 default constructor More...
 
 RawCalorimeterHit (std::uint64_t cellID, std::uint64_t amplitude, std::uint64_t timeStamp)
 
 RawCalorimeterHit (RawCalorimeterHitObj *obj)
 constructor from existing RawCalorimeterHitObj More...
 
 RawCalorimeterHit (const RawCalorimeterHit &other)
 copy constructor More...
 
RawCalorimeterHitoperator= (RawCalorimeterHit other)
 copy-assignment operator More...
 
MutableRawCalorimeterHit clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~RawCalorimeterHit ()
 destructor More...
 
const std::uint64_t & getCellID () const
 Access the The detector specific (geometrical) cell id. More...
 
const std::uint64_t & getAmplitude () const
 Access the The magnitude of the hit in ADC counts. More...
 
const std::uint64_t & getTimeStamp () const
 Access the Timing in TDC. More...
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from RawCalorimeterHitObj instance More...
 
bool operator== (const RawCalorimeterHit &other) const
 
bool operator== (const MutableRawCalorimeterHit &other) const
 
bool operator< (const RawCalorimeterHit &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class MutableRawCalorimeterHit
 
class RawCalorimeterHitCollection
 
class RawCalorimeterHitCollectionIterator
 
void swap (RawCalorimeterHit &a, RawCalorimeterHit &b)
 

Detailed Description

Raw (digitized) calorimeter hit

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ RawCalorimeterHit() [1/4]

eicd::RawCalorimeterHit::RawCalorimeterHit ( )

default constructor

◆ RawCalorimeterHit() [2/4]

eicd::RawCalorimeterHit::RawCalorimeterHit ( std::uint64_t  cellID,
std::uint64_t  amplitude,
std::uint64_t  timeStamp 
)

◆ RawCalorimeterHit() [3/4]

eicd::RawCalorimeterHit::RawCalorimeterHit ( RawCalorimeterHitObj obj)

constructor from existing RawCalorimeterHitObj

◆ RawCalorimeterHit() [4/4]

eicd::RawCalorimeterHit::RawCalorimeterHit ( const RawCalorimeterHit other)

copy constructor

◆ ~RawCalorimeterHit()

eicd::RawCalorimeterHit::~RawCalorimeterHit ( )

destructor

Member Function Documentation

◆ clone()

MutableRawCalorimeterHit eicd::RawCalorimeterHit::clone ( ) const

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

◆ getAmplitude()

const std::uint64_t & eicd::RawCalorimeterHit::getAmplitude ( ) const

Access the The magnitude of the hit in ADC counts.

◆ getCellID()

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

Access the The detector specific (geometrical) cell id.

◆ getObjectID()

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

◆ getTimeStamp()

const std::uint64_t & eicd::RawCalorimeterHit::getTimeStamp ( ) const

Access the Timing in TDC.

◆ id()

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

◆ isAvailable()

bool eicd::RawCalorimeterHit::isAvailable ( ) const

check whether the object is actually available

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool eicd::RawCalorimeterHit::operator== ( const MutableRawCalorimeterHit other) const

◆ operator==() [2/2]

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

◆ unlink()

void eicd::RawCalorimeterHit::unlink ( )
inline

disconnect from RawCalorimeterHitObj instance

Friends And Related Function Documentation

◆ MutableRawCalorimeterHit

friend class MutableRawCalorimeterHit
friend

◆ RawCalorimeterHitCollection

friend class RawCalorimeterHitCollection
friend

◆ RawCalorimeterHitCollectionIterator

◆ swap

void swap ( RawCalorimeterHit a,
RawCalorimeterHit b 
)
friend

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