EDM4eic
EIC data model
|
#include <MutableRawHGCROCHit.h>
Public Types | |
using | object_type = RawHGCROCHit |
using | collection_type = RawHGCROCHitCollection |
Public Member Functions | |
MutableRawHGCROCHit () | |
default constructor | |
MutableRawHGCROCHit (const std::uint64_t cellID, const std::int32_t samplePhase, const std::int32_t timeStamp) | |
Constructor initializing all members. | |
MutableRawHGCROCHit (const MutableRawHGCROCHit &other)=default | |
copy constructor | |
MutableRawHGCROCHit & | operator= (MutableRawHGCROCHit other) & |
copy-assignment operator | |
MutableRawHGCROCHit & | operator= (MutableRawHGCROCHit other) &&=delete |
MutableRawHGCROCHit | clone (bool cloneRelations=true) const |
~MutableRawHGCROCHit ()=default | |
destructor | |
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]. | |
void | setCellID (const std::uint64_t cellID) |
Set the Detector specific (geometrical) cell id. | |
std::uint64_t & | getCellID () |
Get mutable reference to Detector specific (geometrical) cell id. | |
std::uint64_t & | cellID () |
Get reference to Detector specific (geometrical) cell id. | |
void | setSamplePhase (const std::int32_t samplePhase) |
Set the Phase of samples in [# samples], for synchronizing across chips. | |
std::int32_t & | getSamplePhase () |
Get mutable reference to Phase of samples in [# samples], for synchronizing across chips. | |
std::int32_t & | samplePhase () |
Get reference to Phase of samples in [# samples], for synchronizing across chips. | |
void | setTimeStamp (const std::int32_t timeStamp) |
Set the [TDC counts]. | |
std::int32_t & | getTimeStamp () |
Get mutable reference to [TDC counts]. | |
std::int32_t & | timeStamp () |
Get reference to [TDC counts]. | |
void | addToSamples (const edm4eic::HGCROCSample &) |
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 MutableRawHGCROCHit &other) const |
bool | operator== (const RawHGCROCHit &other) const |
bool | operator!= (const MutableRawHGCROCHit &other) const |
bool | operator!= (const RawHGCROCHit &other) const |
bool | operator< (const MutableRawHGCROCHit &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | RawHGCROCHitCollection |
class | RawHGCROCHitMutableCollectionIterator |
class | RawHGCROCHit |
void | swap (MutableRawHGCROCHit &a, MutableRawHGCROCHit &b) |
Raw hit from an HGCROC chip
edm4eic::MutableRawHGCROCHit::MutableRawHGCROCHit | ( | ) |
default constructor
edm4eic::MutableRawHGCROCHit::MutableRawHGCROCHit | ( | const std::uint64_t | cellID, |
const std::int32_t | samplePhase, | ||
const std::int32_t | timeStamp ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
void edm4eic::MutableRawHGCROCHit::addToSamples | ( | const edm4eic::HGCROCSample & | component | ) |
std::uint64_t & edm4eic::MutableRawHGCROCHit::cellID | ( | ) |
Get reference to Detector specific (geometrical) cell id.
MutableRawHGCROCHit edm4eic::MutableRawHGCROCHit::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::MutableRawHGCROCHit::getCellID | ( | ) |
Get mutable reference to Detector specific (geometrical) cell id.
std::uint64_t edm4eic::MutableRawHGCROCHit::getCellID | ( | ) | const |
Access the Detector specific (geometrical) cell id.
const podio::ObjectID edm4eic::MutableRawHGCROCHit::getObjectID | ( | ) | const |
std::int32_t & edm4eic::MutableRawHGCROCHit::getSamplePhase | ( | ) |
Get mutable reference to Phase of samples in [# samples], for synchronizing across chips.
std::int32_t edm4eic::MutableRawHGCROCHit::getSamplePhase | ( | ) | const |
Access the Phase of samples in [# samples], for synchronizing across chips.
podio::RelationRange< edm4eic::HGCROCSample > edm4eic::MutableRawHGCROCHit::getSamples | ( | ) | const |
edm4eic::HGCROCSample edm4eic::MutableRawHGCROCHit::getSamples | ( | std::size_t | index | ) | const |
std::int32_t & edm4eic::MutableRawHGCROCHit::getTimeStamp | ( | ) |
Get mutable reference to [TDC counts].
std::int32_t edm4eic::MutableRawHGCROCHit::getTimeStamp | ( | ) | const |
Access the [TDC counts].
|
inline |
bool edm4eic::MutableRawHGCROCHit::isAvailable | ( | ) | const |
check whether the object is actually available
|
inline |
|
inline |
|
inline |
MutableRawHGCROCHit & edm4eic::MutableRawHGCROCHit::operator= | ( | MutableRawHGCROCHit | other | ) | & |
copy-assignment operator
|
delete |
|
inline |
bool edm4eic::MutableRawHGCROCHit::operator== | ( | const RawHGCROCHit & | other | ) | const |
std::int32_t & edm4eic::MutableRawHGCROCHit::samplePhase | ( | ) |
Get reference to Phase of samples in [# samples], for synchronizing across chips.
std::vector< edm4eic::HGCROCSample >::const_iterator edm4eic::MutableRawHGCROCHit::samples_begin | ( | ) | const |
std::vector< edm4eic::HGCROCSample >::const_iterator edm4eic::MutableRawHGCROCHit::samples_end | ( | ) | const |
std::size_t edm4eic::MutableRawHGCROCHit::samples_size | ( | ) | const |
void edm4eic::MutableRawHGCROCHit::setCellID | ( | const std::uint64_t | cellID | ) |
Set the Detector specific (geometrical) cell id.
void edm4eic::MutableRawHGCROCHit::setSamplePhase | ( | const std::int32_t | samplePhase | ) |
Set the Phase of samples in [# samples], for synchronizing across chips.
void edm4eic::MutableRawHGCROCHit::setTimeStamp | ( | const std::int32_t | timeStamp | ) |
Set the [TDC counts].
std::int32_t & edm4eic::MutableRawHGCROCHit::timeStamp | ( | ) |
Get reference to [TDC counts].
|
inline |
disconnect from RawHGCROCHitObj instance
|
friend |
|
friend |
|
friend |
|
friend |