EICd
EIC data model
eicd::MutableRawCalorimeterHit Class Reference

#include <MutableRawCalorimeterHit.h>

Public Member Functions

 MutableRawCalorimeterHit ()
 default constructor More...
 
 MutableRawCalorimeterHit (std::uint64_t cellID, std::uint64_t amplitude, std::uint64_t timeStamp)
 
 MutableRawCalorimeterHit (RawCalorimeterHitObj *obj)
 constructor from existing RawCalorimeterHitObj More...
 
 MutableRawCalorimeterHit (const MutableRawCalorimeterHit &other)
 copy constructor More...
 
MutableRawCalorimeterHitoperator= (MutableRawCalorimeterHit other)
 copy-assignment operator More...
 
MutableRawCalorimeterHit clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~MutableRawCalorimeterHit ()
 destructor More...
 
 operator RawCalorimeterHit () const
 conversion to const object 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...
 
void setCellID (std::uint64_t value)
 Set the The detector specific (geometrical) cell id. More...
 
void setAmplitude (std::uint64_t value)
 Set the The magnitude of the hit in ADC counts. More...
 
void setTimeStamp (std::uint64_t value)
 Set 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 MutableRawCalorimeterHit &other) const
 
bool operator== (const RawCalorimeterHit &other) const
 
bool operator< (const MutableRawCalorimeterHit &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

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

Detailed Description

Raw (digitized) calorimeter hit

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ MutableRawCalorimeterHit() [1/4]

eicd::MutableRawCalorimeterHit::MutableRawCalorimeterHit ( )

default constructor

◆ MutableRawCalorimeterHit() [2/4]

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

◆ MutableRawCalorimeterHit() [3/4]

eicd::MutableRawCalorimeterHit::MutableRawCalorimeterHit ( RawCalorimeterHitObj obj)

constructor from existing RawCalorimeterHitObj

◆ MutableRawCalorimeterHit() [4/4]

eicd::MutableRawCalorimeterHit::MutableRawCalorimeterHit ( const MutableRawCalorimeterHit other)

copy constructor

◆ ~MutableRawCalorimeterHit()

eicd::MutableRawCalorimeterHit::~MutableRawCalorimeterHit ( )

destructor

Member Function Documentation

◆ clone()

MutableRawCalorimeterHit eicd::MutableRawCalorimeterHit::clone ( ) const

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

◆ getAmplitude()

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

Access the The magnitude of the hit in ADC counts.

◆ getCellID()

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

Access the The detector specific (geometrical) cell id.

◆ getObjectID()

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

◆ getTimeStamp()

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

Access the Timing in TDC.

◆ id()

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

◆ isAvailable()

bool eicd::MutableRawCalorimeterHit::isAvailable ( ) const

check whether the object is actually available

◆ operator RawCalorimeterHit()

eicd::MutableRawCalorimeterHit::operator RawCalorimeterHit ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ setAmplitude()

void eicd::MutableRawCalorimeterHit::setAmplitude ( std::uint64_t  value)

Set the The magnitude of the hit in ADC counts.

◆ setCellID()

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

Set the The detector specific (geometrical) cell id.

◆ setTimeStamp()

void eicd::MutableRawCalorimeterHit::setTimeStamp ( std::uint64_t  value)

Set the Timing in TDC.

◆ unlink()

void eicd::MutableRawCalorimeterHit::unlink ( )
inline

disconnect from RawCalorimeterHitObj instance

Friends And Related Function Documentation

◆ RawCalorimeterHit

friend class RawCalorimeterHit
friend

◆ RawCalorimeterHitCollection

friend class RawCalorimeterHitCollection
friend

◆ RawCalorimeterHitMutableCollectionIterator

◆ swap

void swap ( MutableRawCalorimeterHit a,
MutableRawCalorimeterHit b 
)
friend

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