EICd
EIC data model
|
#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... | |
RawCalorimeterHit & | operator= (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::Index & | ID () 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::Index & | ID () |
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 |
Raw (digitized) calorimeter hit
eic::RawCalorimeterHit::RawCalorimeterHit | ( | ) |
default constructor
eic::RawCalorimeterHit::RawCalorimeterHit | ( | eic::Index | ID, |
std::int64_t | cellID, | ||
std::int64_t | amplitude, | ||
std::int64_t | time | ||
) |
eic::RawCalorimeterHit::RawCalorimeterHit | ( | RawCalorimeterHitObj * | obj | ) |
constructor from existing RawCalorimeterHitObj
eic::RawCalorimeterHit::RawCalorimeterHit | ( | const RawCalorimeterHit & | other | ) |
copy constructor
eic::RawCalorimeterHit::~RawCalorimeterHit | ( | ) |
destructor
const std::int64_t & eic::RawCalorimeterHit::amplitude | ( | ) | const |
Access the The amplitude of the hit in ADC counts.
void eic::RawCalorimeterHit::amplitude | ( | std::int64_t | value | ) |
Set the The amplitude of the hit in ADC counts.
const std::int64_t & eic::RawCalorimeterHit::cellID | ( | ) | const |
Access the The detector specific (geometrical) cell id.
void eic::RawCalorimeterHit::cellID | ( | std::int64_t | value | ) |
Set the The detector specific (geometrical) cell id.
RawCalorimeterHit eic::RawCalorimeterHit::clone | ( | ) | const |
support cloning (deep-copy)
const podio::ObjectID eic::RawCalorimeterHit::getObjectID | ( | ) | const |
eic::Index & eic::RawCalorimeterHit::ID | ( | ) |
Get reference to unique ID for this hit.
const eic::Index & eic::RawCalorimeterHit::ID | ( | ) | const |
Access the unique ID for this hit.
|
inline |
void eic::RawCalorimeterHit::ID | ( | eic::Index | value | ) |
Set the unique ID for this hit.
bool eic::RawCalorimeterHit::isAvailable | ( | ) | const |
check whether the object is actually available
eic::RawCalorimeterHit::operator ConstRawCalorimeterHit | ( | ) | const |
conversion to const object
|
inline |
RawCalorimeterHit & eic::RawCalorimeterHit::operator= | ( | const RawCalorimeterHit & | other | ) |
copy-assignment operator
bool eic::RawCalorimeterHit::operator== | ( | const ConstRawCalorimeterHit & | other | ) | const |
|
inline |
const std::int64_t & eic::RawCalorimeterHit::time | ( | ) | const |
Access the Timing in TDC.
void eic::RawCalorimeterHit::time | ( | std::int64_t | value | ) |
Set the Timing in TDC.
|
inline |
disconnect from RawCalorimeterHitObj instance
|
friend |
|
friend |
|
friend |