EDM4eic
EIC data model
|
#include <RawHGCROCHit.h>
Public Types | |
using | mutable_type = MutableRawHGCROCHit |
using | collection_type = RawHGCROCHitCollection |
Public Member Functions | |
RawHGCROCHit () | |
default constructor | |
RawHGCROCHit (const std::uint64_t cellID, const std::int32_t samplePhase, const std::int32_t timeStamp) | |
Constructor initializing all members. | |
RawHGCROCHit (const RawHGCROCHit &other)=default | |
copy constructor | |
RawHGCROCHit & | operator= (RawHGCROCHit other) & |
copy-assignment operator | |
RawHGCROCHit & | operator= (RawHGCROCHit other) &&=delete |
MutableRawHGCROCHit | clone (bool cloneRelations=true) const |
~RawHGCROCHit ()=default | |
destructor | |
RawHGCROCHit (const MutableRawHGCROCHit &other) | |
converting constructor from mutable object | |
std::uint64_t | getCellID () const |
Access the Detector specific (geometrical) cell id. | |
std::int32_t | getSamplePhase () const |
Access the Phase of samples in [# samples], for synchronizing across chips. | |
std::int32_t | getTimeStamp () const |
Access the [TDC counts]. | |
std::size_t | samples_size () const |
edm4eic::HGCROCSample | getSamples (std::size_t) const |
std::vector< edm4eic::HGCROCSample >::const_iterator | samples_begin () const |
std::vector< edm4eic::HGCROCSample >::const_iterator | samples_end () const |
podio::RelationRange< edm4eic::HGCROCSample > | getSamples () const |
bool | isAvailable () const |
check whether the object is actually available | |
void | unlink () |
disconnect from RawHGCROCHitObj instance | |
bool | operator== (const RawHGCROCHit &other) const |
bool | operator== (const MutableRawHGCROCHit &other) const |
bool | operator!= (const RawHGCROCHit &other) const |
bool | operator!= (const MutableRawHGCROCHit &other) const |
bool | operator< (const RawHGCROCHit &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
static RawHGCROCHit | makeEmpty () |
Static Public Attributes | |
static constexpr std::string_view | typeName = "edm4eic::RawHGCROCHit" |
Friends | |
class | MutableRawHGCROCHit |
class | RawHGCROCHitCollection |
class | edm4eic::RawHGCROCHitCollectionData |
class | RawHGCROCHitCollectionIterator |
podio::detail::OrderKey | podio::detail::getOrderKey (const RawHGCROCHit &obj) |
void | swap (RawHGCROCHit &a, RawHGCROCHit &b) |
Raw hit from an HGCROC chip
edm4eic::RawHGCROCHit::RawHGCROCHit | ( | ) |
default constructor
edm4eic::RawHGCROCHit::RawHGCROCHit | ( | const std::uint64_t | cellID, |
const std::int32_t | samplePhase, | ||
const std::int32_t | timeStamp ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
edm4eic::RawHGCROCHit::RawHGCROCHit | ( | const MutableRawHGCROCHit & | other | ) |
converting constructor from mutable object
MutableRawHGCROCHit edm4eic::RawHGCROCHit::clone | ( | bool | cloneRelations = true | ) | const |
create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty
std::uint64_t edm4eic::RawHGCROCHit::getCellID | ( | ) | const |
Access the Detector specific (geometrical) cell id.
const podio::ObjectID edm4eic::RawHGCROCHit::getObjectID | ( | ) | const |
std::int32_t edm4eic::RawHGCROCHit::getSamplePhase | ( | ) | const |
Access the Phase of samples in [# samples], for synchronizing across chips.
podio::RelationRange< edm4eic::HGCROCSample > edm4eic::RawHGCROCHit::getSamples | ( | ) | const |
edm4eic::HGCROCSample edm4eic::RawHGCROCHit::getSamples | ( | std::size_t | index | ) | const |
std::int32_t edm4eic::RawHGCROCHit::getTimeStamp | ( | ) | const |
Access the [TDC counts].
|
inline |
bool edm4eic::RawHGCROCHit::isAvailable | ( | ) | const |
check whether the object is actually available
|
static |
|
inline |
|
inline |
|
inline |
RawHGCROCHit & edm4eic::RawHGCROCHit::operator= | ( | RawHGCROCHit | other | ) | & |
copy-assignment operator
|
delete |
bool edm4eic::RawHGCROCHit::operator== | ( | const MutableRawHGCROCHit & | other | ) | const |
|
inline |
std::vector< edm4eic::HGCROCSample >::const_iterator edm4eic::RawHGCROCHit::samples_begin | ( | ) | const |
std::vector< edm4eic::HGCROCSample >::const_iterator edm4eic::RawHGCROCHit::samples_end | ( | ) | const |
std::size_t edm4eic::RawHGCROCHit::samples_size | ( | ) | const |
|
inline |
disconnect from RawHGCROCHitObj instance
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |