Project
Loading...
Searching...
No Matches
o2::fit::RawReaderFIT< RawReaderType, useTrgInput > Class Template Reference

#include <RawReaderFIT.h>

Inherits RawReaderType.

Public Types

typedef RawReaderType RawReader_t
 
typedef RawReader_t::DigitBlockFIT_t DigitBlockFIT_t
 
typedef RawReader_t::RawDataMetric_t RawDataMetric_t
 
typedef DigitBlockFIT_t::LookupTable_t LookupTable_t
 
typedef DigitBlockFIT_t::Digit_t Digit_t
 
typedef DigitBlockFIT_t::SubDigit_t SubDigitTmp_t
 
typedef DigitBlockHelper::GetSubDigitField< typenameDigitBlockFIT_t::VecSingleSubDigit_t >::vector_type SingleSubDigitTmp_t
 
typedef Digit_t::DetTrigInput_t DetTrigInput_t
 
typedef std::make_index_sequence< DigitBlockFIT_t::sNSubDigits > IndexesSubDigit
 
typedef std::make_index_sequence< DigitBlockFIT_t::sNSingleSubDigits > IndexesSingleSubDigit
 
typedef std::make_index_sequence< std::tuple_size_v< typename DigitBlockFIT_t::TupleVecDigitObjs_t > > IndexesAllDigits
 
typedef std::conditional< DigitBlockFIT_t::sNSubDigits!=1, SubDigitTmp_t, std::tuple< SubDigitTmp_t > >::type SubDigit_t
 
typedef std::conditional< DigitBlockFIT_t::sNSingleSubDigits!=1, SingleSubDigitTmp_t, std::tuple< SingleSubDigitTmp_t > >::type SingleSubDigit_t
 

Public Member Functions

 RawReaderFIT (o2::header::DataOrigin dataOrigin, bool dumpData)
 
 RawReaderFIT (const RawReaderFIT &)=default
 
 RawReaderFIT ()=delete
 
 ~RawReaderFIT ()=default
 
void dumpRawDataMetrics () const
 
void reserveVecDPL (std::size_t nDigits, std::size_t nSubDigits)
 
template<typename T >
auto reserveSubDigits1 (std::size_t nElements) -> std::enable_if_t<(T::sNSubDigits > 0)>
 
template<typename T >
auto reserveSubDigits1 (std::size_t nElements) -> std::enable_if_t<(T::sNSubDigits< 1)>
 
void clear ()
 
template<std::size_t... IsubDigits, std::size_t... IsingleSubDigits>
auto callGetDigit (std::index_sequence< IsubDigits... >, std::index_sequence< IsingleSubDigits... >)
 
template<std::size_t... IDigits>
auto callGetDigitDirectly (o2::framework::ProcessingContext &pc, std::index_sequence< IDigits... >)
 
template<std::size_t... IsubDigits, std::size_t... IsingleSubDigits>
auto callPrint (std::index_sequence< IsubDigits... >, std::index_sequence< IsingleSubDigits... >) const
 
void accumulateDigits (o2::framework::ProcessingContext &pc)
 
void accumulateDigits ()
 
void configureOutputSpec (std::vector< o2::framework::OutputSpec > &outputSpec) const
 
void makeSnapshot (o2::framework::ProcessingContext &pc) const
 
template<typename VecDigitType >
auto & getRefVec (o2::framework::ProcessingContext &pc)
 
void enableEmptyTFprotection ()
 
void emptyTFprotection ()
 

Public Attributes

o2::header::DataOrigin mDataOrigin
 
std::vector< Digit_tmVecDigit
 
std::vector< DetTrigInput_tmVecTrgInput
 
std::vector< RawDataMetricmVecRawDataMetric
 
SubDigit_t mVecSubDigit
 
SingleSubDigit_t mVecSingleSubDigit
 
bool mEnableEmptyTFprotection {false}
 
bool mDumpData
 

Static Public Attributes

static constexpr bool sSubDigitExists = !std::is_same<SubDigitTmp_t, std::tuple<>>::value
 
static constexpr bool sSingleSubDigitExists = !std::is_same<SingleSubDigitTmp_t, std::tuple<>>::value
 
static constexpr bool sUseTrgInput = useTrgInput
 

Detailed Description

template<typename RawReaderType, bool useTrgInput = false>
class o2::fit::RawReaderFIT< RawReaderType, useTrgInput >

Definition at line 38 of file RawReaderFIT.h.

Member Typedef Documentation

◆ DetTrigInput_t

template<typename RawReaderType , bool useTrgInput = false>
typedef Digit_t::DetTrigInput_t o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::DetTrigInput_t

Definition at line 52 of file RawReaderFIT.h.

◆ Digit_t

template<typename RawReaderType , bool useTrgInput = false>
typedef DigitBlockFIT_t::Digit_t o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::Digit_t

Definition at line 49 of file RawReaderFIT.h.

◆ DigitBlockFIT_t

template<typename RawReaderType , bool useTrgInput = false>
typedef RawReader_t::DigitBlockFIT_t o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::DigitBlockFIT_t

Definition at line 46 of file RawReaderFIT.h.

◆ IndexesAllDigits

template<typename RawReaderType , bool useTrgInput = false>
typedef std::make_index_sequence<std::tuple_size_v<typename DigitBlockFIT_t::TupleVecDigitObjs_t> > o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::IndexesAllDigits

Definition at line 55 of file RawReaderFIT.h.

◆ IndexesSingleSubDigit

template<typename RawReaderType , bool useTrgInput = false>
typedef std::make_index_sequence<DigitBlockFIT_t::sNSingleSubDigits> o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::IndexesSingleSubDigit

Definition at line 54 of file RawReaderFIT.h.

◆ IndexesSubDigit

template<typename RawReaderType , bool useTrgInput = false>
typedef std::make_index_sequence<DigitBlockFIT_t::sNSubDigits> o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::IndexesSubDigit

Definition at line 53 of file RawReaderFIT.h.

◆ LookupTable_t

template<typename RawReaderType , bool useTrgInput = false>
typedef DigitBlockFIT_t::LookupTable_t o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::LookupTable_t

Definition at line 48 of file RawReaderFIT.h.

◆ RawDataMetric_t

template<typename RawReaderType , bool useTrgInput = false>
typedef RawReader_t::RawDataMetric_t o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::RawDataMetric_t

Definition at line 47 of file RawReaderFIT.h.

◆ RawReader_t

template<typename RawReaderType , bool useTrgInput = false>
typedef RawReaderType o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::RawReader_t

Definition at line 45 of file RawReaderFIT.h.

◆ SingleSubDigit_t

template<typename RawReaderType , bool useTrgInput = false>
typedef std::conditional<DigitBlockFIT_t::sNSingleSubDigits!=1,SingleSubDigitTmp_t,std::tuple<SingleSubDigitTmp_t>>::type o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::SingleSubDigit_t

Definition at line 60 of file RawReaderFIT.h.

◆ SingleSubDigitTmp_t

template<typename RawReaderType , bool useTrgInput = false>
typedef DigitBlockHelper::GetSubDigitField<typenameDigitBlockFIT_t::VecSingleSubDigit_t>::vector_type o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::SingleSubDigitTmp_t

Definition at line 51 of file RawReaderFIT.h.

◆ SubDigit_t

template<typename RawReaderType , bool useTrgInput = false>
typedef std::conditional<DigitBlockFIT_t::sNSubDigits!=1,SubDigitTmp_t,std::tuple<SubDigitTmp_t>>::type o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::SubDigit_t

Definition at line 59 of file RawReaderFIT.h.

◆ SubDigitTmp_t

template<typename RawReaderType , bool useTrgInput = false>
typedef DigitBlockFIT_t::SubDigit_t o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::SubDigitTmp_t

Definition at line 50 of file RawReaderFIT.h.

Constructor & Destructor Documentation

◆ RawReaderFIT() [1/3]

template<typename RawReaderType , bool useTrgInput = false>
o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::RawReaderFIT ( o2::header::DataOrigin  dataOrigin,
bool  dumpData 
)
inline

Definition at line 41 of file RawReaderFIT.h.

◆ RawReaderFIT() [2/3]

template<typename RawReaderType , bool useTrgInput = false>
o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::RawReaderFIT ( const RawReaderFIT< RawReaderType, useTrgInput > &  )
default

◆ RawReaderFIT() [3/3]

template<typename RawReaderType , bool useTrgInput = false>
o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::RawReaderFIT ( )
delete

◆ ~RawReaderFIT()

template<typename RawReaderType , bool useTrgInput = false>
o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::~RawReaderFIT ( )
default

Member Function Documentation

◆ accumulateDigits() [1/2]

template<typename RawReaderType , bool useTrgInput = false>
void o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::accumulateDigits ( )
inline

Definition at line 137 of file RawReaderFIT.h.

◆ accumulateDigits() [2/2]

template<typename RawReaderType , bool useTrgInput = false>
void o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::accumulateDigits ( o2::framework::ProcessingContext pc)
inline

Definition at line 133 of file RawReaderFIT.h.

◆ callGetDigit()

template<typename RawReaderType , bool useTrgInput = false>
template<std::size_t... IsubDigits, std::size_t... IsingleSubDigits>
auto o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::callGetDigit ( std::index_sequence< IsubDigits... >  ,
std::index_sequence< IsingleSubDigits... >   
)
inline

Definition at line 111 of file RawReaderFIT.h.

◆ callGetDigitDirectly()

template<typename RawReaderType , bool useTrgInput = false>
template<std::size_t... IDigits>
auto o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::callGetDigitDirectly ( o2::framework::ProcessingContext pc,
std::index_sequence< IDigits... >   
)
inline

Definition at line 120 of file RawReaderFIT.h.

◆ callPrint()

template<typename RawReaderType , bool useTrgInput = false>
template<std::size_t... IsubDigits, std::size_t... IsingleSubDigits>
auto o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::callPrint ( std::index_sequence< IsubDigits... >  ,
std::index_sequence< IsingleSubDigits... >   
) const
inline

Definition at line 129 of file RawReaderFIT.h.

◆ clear()

template<typename RawReaderType , bool useTrgInput = false>
void o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::clear ( )
inline

Definition at line 90 of file RawReaderFIT.h.

◆ configureOutputSpec()

template<typename RawReaderType , bool useTrgInput = false>
void o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::configureOutputSpec ( std::vector< o2::framework::OutputSpec > &  outputSpec) const
inline

Definition at line 146 of file RawReaderFIT.h.

◆ dumpRawDataMetrics()

template<typename RawReaderType , bool useTrgInput = false>
void o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::dumpRawDataMetrics ( ) const
inline

Definition at line 70 of file RawReaderFIT.h.

◆ emptyTFprotection()

template<typename RawReaderType , bool useTrgInput = false>
void o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::emptyTFprotection ( )
inline

Definition at line 196 of file RawReaderFIT.h.

◆ enableEmptyTFprotection()

template<typename RawReaderType , bool useTrgInput = false>
void o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::enableEmptyTFprotection ( )
inline

Definition at line 192 of file RawReaderFIT.h.

◆ getRefVec()

template<typename RawReaderType , bool useTrgInput = false>
template<typename VecDigitType >
auto & o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::getRefVec ( o2::framework::ProcessingContext pc)
inline

Definition at line 187 of file RawReaderFIT.h.

◆ makeSnapshot()

template<typename RawReaderType , bool useTrgInput = false>
void o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::makeSnapshot ( o2::framework::ProcessingContext pc) const
inline

Definition at line 166 of file RawReaderFIT.h.

◆ reserveSubDigits1() [1/2]

template<typename RawReaderType , bool useTrgInput = false>
template<typename T >
auto o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::reserveSubDigits1 ( std::size_t  nElements) -> std::enable_if_t<(T::sNSubDigits > 0)>
inline

Definition at line 82 of file RawReaderFIT.h.

◆ reserveSubDigits1() [2/2]

template<typename RawReaderType , bool useTrgInput = false>
template<typename T >
auto o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::reserveSubDigits1 ( std::size_t  nElements) -> std::enable_if_t<(T::sNSubDigits < 1)>
inline

Definition at line 87 of file RawReaderFIT.h.

◆ reserveVecDPL()

template<typename RawReaderType , bool useTrgInput = false>
void o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::reserveVecDPL ( std::size_t  nDigits,
std::size_t  nSubDigits 
)
inline

Definition at line 76 of file RawReaderFIT.h.

Member Data Documentation

◆ mDataOrigin

template<typename RawReaderType , bool useTrgInput = false>
o2::header::DataOrigin o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::mDataOrigin

Definition at line 62 of file RawReaderFIT.h.

◆ mDumpData

template<typename RawReaderType , bool useTrgInput = false>
bool o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::mDumpData

Definition at line 69 of file RawReaderFIT.h.

◆ mEnableEmptyTFprotection

template<typename RawReaderType , bool useTrgInput = false>
bool o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::mEnableEmptyTFprotection {false}

Definition at line 68 of file RawReaderFIT.h.

◆ mVecDigit

template<typename RawReaderType , bool useTrgInput = false>
std::vector<Digit_t> o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::mVecDigit

Definition at line 63 of file RawReaderFIT.h.

◆ mVecRawDataMetric

template<typename RawReaderType , bool useTrgInput = false>
std::vector<RawDataMetric> o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::mVecRawDataMetric

Definition at line 65 of file RawReaderFIT.h.

◆ mVecSingleSubDigit

template<typename RawReaderType , bool useTrgInput = false>
SingleSubDigit_t o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::mVecSingleSubDigit

Definition at line 67 of file RawReaderFIT.h.

◆ mVecSubDigit

template<typename RawReaderType , bool useTrgInput = false>
SubDigit_t o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::mVecSubDigit

Definition at line 66 of file RawReaderFIT.h.

◆ mVecTrgInput

template<typename RawReaderType , bool useTrgInput = false>
std::vector<DetTrigInput_t> o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::mVecTrgInput

Definition at line 64 of file RawReaderFIT.h.

◆ sSingleSubDigitExists

template<typename RawReaderType , bool useTrgInput = false>
constexpr bool o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::sSingleSubDigitExists = !std::is_same<SingleSubDigitTmp_t, std::tuple<>>::value
staticconstexpr

Definition at line 57 of file RawReaderFIT.h.

◆ sSubDigitExists

template<typename RawReaderType , bool useTrgInput = false>
constexpr bool o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::sSubDigitExists = !std::is_same<SubDigitTmp_t, std::tuple<>>::value
staticconstexpr

Definition at line 56 of file RawReaderFIT.h.

◆ sUseTrgInput

template<typename RawReaderType , bool useTrgInput = false>
constexpr bool o2::fit::RawReaderFIT< RawReaderType, useTrgInput >::sUseTrgInput = useTrgInput
staticconstexpr

Definition at line 61 of file RawReaderFIT.h.


The documentation for this class was generated from the following file: