EICd
EIC data model
eic::RawCalorimeterHit Class Reference

#include <RawCalorimeterHit.h>

Public Member Functions

 RawCalorimeterHit ()
 default constructor More...
 
 RawCalorimeterHit (eic::Index ID, std::int64_t cellID, std::int64_t amplitude, std::int64_t time)
 
 RawCalorimeterHit (RawCalorimeterHitObj *obj)
 constructor from existing RawCalorimeterHitObj More...
 
 RawCalorimeterHit (const RawCalorimeterHit &other)
 copy constructor More...
 
RawCalorimeterHitoperator= (const RawCalorimeterHit &other)
 copy-assignment operator More...
 
RawCalorimeterHit clone () const
 support cloning (deep-copy) More...
 
 ~RawCalorimeterHit ()
 destructor More...
 
 operator ConstRawCalorimeterHit () 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::int64_t & amplitude () const
 Access the The amplitude of the hit in ADC counts. More...
 
const std::int64_t & time () const
 Access the Timing in TDC. 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 amplitude (std::int64_t value)
 Set the The amplitude of the hit in ADC counts. More...
 
void time (std::int64_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 RawCalorimeterHit &other) const
 
bool operator== (const ConstRawCalorimeterHit &other) const
 
bool operator< (const RawCalorimeterHit &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class RawCalorimeterHitCollection
 
class RawCalorimeterHitCollectionIterator
 
class ConstRawCalorimeterHit
 

Detailed Description

Raw (digitized) calorimeter hit

Author
: W. Armstrong, S. Joosten

Constructor & Destructor Documentation

◆ RawCalorimeterHit() [1/4]

eic::RawCalorimeterHit::RawCalorimeterHit ( )

default constructor

◆ RawCalorimeterHit() [2/4]

eic::RawCalorimeterHit::RawCalorimeterHit ( eic::Index  ID,
std::int64_t  cellID,
std::int64_t  amplitude,
std::int64_t  time 
)

◆ RawCalorimeterHit() [3/4]

eic::RawCalorimeterHit::RawCalorimeterHit ( RawCalorimeterHitObj obj)

constructor from existing RawCalorimeterHitObj

◆ RawCalorimeterHit() [4/4]

eic::RawCalorimeterHit::RawCalorimeterHit ( const RawCalorimeterHit other)

copy constructor

◆ ~RawCalorimeterHit()

eic::RawCalorimeterHit::~RawCalorimeterHit ( )

destructor

Member Function Documentation

◆ amplitude() [1/2]

const std::int64_t & eic::RawCalorimeterHit::amplitude ( ) const

Access the The amplitude of the hit in ADC counts.

◆ amplitude() [2/2]

void eic::RawCalorimeterHit::amplitude ( std::int64_t  value)

Set the The amplitude of the hit in ADC counts.

◆ cellID() [1/2]

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

Access the The detector specific (geometrical) cell id.

◆ cellID() [2/2]

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

Set the The detector specific (geometrical) cell id.

◆ clone()

RawCalorimeterHit eic::RawCalorimeterHit::clone ( ) const

support cloning (deep-copy)

◆ getObjectID()

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

◆ ID() [1/3]

eic::Index & eic::RawCalorimeterHit::ID ( )

Get reference to unique ID for this hit.

◆ ID() [2/3]

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

Access the unique ID for this hit.

◆ id()

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

◆ ID() [3/3]

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

Set the unique ID for this hit.

◆ isAvailable()

bool eic::RawCalorimeterHit::isAvailable ( ) const

check whether the object is actually available

◆ operator ConstRawCalorimeterHit()

eic::RawCalorimeterHit::operator ConstRawCalorimeterHit ( ) const

conversion to const object

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool eic::RawCalorimeterHit::operator== ( const ConstRawCalorimeterHit other) const

◆ operator==() [2/2]

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

◆ time() [1/2]

const std::int64_t & eic::RawCalorimeterHit::time ( ) const

Access the Timing in TDC.

◆ time() [2/2]

void eic::RawCalorimeterHit::time ( std::int64_t  value)

Set the Timing in TDC.

◆ unlink()

void eic::RawCalorimeterHit::unlink ( )
inline

disconnect from RawCalorimeterHitObj instance

Friends And Related Function Documentation

◆ ConstRawCalorimeterHit

friend class ConstRawCalorimeterHit
friend

◆ RawCalorimeterHitCollection

friend class RawCalorimeterHitCollection
friend

◆ RawCalorimeterHitCollectionIterator


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