16#ifndef O2_EMCAL_CTF_HELPER_H
17#define O2_EMCAL_CTF_HELPER_H
31 CTFHelper(
const gsl::span<const TriggerRecord>& trgData,
const gsl::span<const Cell>& cellData)
32 : mTrigData(trgData), mCellData(cellData) {}
37 uint32_t(mTrigData.size()), uint32_t(mCellData.size()), 0, 0};
38 if (mTrigData.size()) {
39 h.firstOrbit = mTrigData[0].getBCData().orbit;
40 h.firstBC = mTrigData[0].getBCData().bc;
49 template <
typename I,
typename D,
typename T>
65 return static_cast<I&
>(*this);
70 I
res = *(
static_cast<I*
>(
this));
78 return static_cast<I&
>(*this);
83 I
res = *(
static_cast<I*
>(
this));
91 return static_cast<I&
>(*this);
96 I
res = *(
const_cast<I*
>(
static_cast<const I*
>(
this)));
103 return static_cast<I&
>(*this);
108 I
res = *(
const_cast<I*
>(
static_cast<const I*
>(
this)));
257 const gsl::span<const o2::emcal::TriggerRecord> mTrigData;
258 const gsl::span<const o2::emcal::Cell> mCellData;
Class for time synchronization of RawReader instances.
value_type operator*() const
value_type operator[](difference_type i) const
value_type operator[](difference_type i) const
value_type operator*() const
value_type operator*() const
value_type operator[](difference_type i) const
value_type operator*() const
value_type operator[](difference_type i) const
value_type operator[](difference_type i) const
value_type operator*() const
value_type operator[](difference_type i) const
value_type operator*() const
value_type operator[](difference_type i) const
value_type operator*() const
value_type operator*() const
value_type operator[](difference_type i) const
bool operator>(const I &other) const noexcept
gsl::span< const D > mData
difference_type operator-(const I &other) const noexcept
friend I operator+(difference_type i, const I &iter)
bool operator<(const I &other) const noexcept
I & operator+=(difference_type i) noexcept
I & operator--() noexcept
std::random_access_iterator_tag iterator_category
bool operator<=(const I &other) const noexcept
I & operator-=(difference_type i) noexcept
bool operator!=(const I &other) const noexcept
std::ptrdiff_t difference_type
I operator-(difference_type i) const
I operator+(difference_type i) const
I & operator++() noexcept
bool operator>=(const I &other) const noexcept
_Iter(const gsl::span< const D > &data, bool end=false)
bool operator==(const I &other) const noexcept
Iter_orbitIncTrig end_orbitIncTrig() const
Iter_status end_status() const
Iter_time end_time() const
Iter_orbitIncTrig begin_orbitIncTrig() const
Iter_towerID end_towerID() const
CTFHelper(const gsl::span< const TriggerRecord > &trgData, const gsl::span< const Cell > &cellData)
Iter_bcIncTrig end_bcIncTrig() const
Iter_entriesTrig end_entriesTrig() const
Iter_status begin_status() const
Iter_time begin_time() const
Iter_energy end_energy() const
Iter_towerID begin_towerID() const
Iter_trigger begin_trigger() const
Iter_trigger end_trigger() const
Iter_entriesTrig begin_entriesTrig() const
Iter_bcIncTrig begin_bcIncTrig() const
Iter_energy begin_energy() const
EMCAL compressed cell information.
Header for data corresponding to the same hardware trigger.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
VectorOfTObjectPtrs other