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