Project
Loading...
Searching...
No Matches
o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype > Class Template Reference

#include <RawReaderBaseFIT.h>

Inherits o2::fit::RawReaderBase< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >.

Inherited by o2::fdd::RawReaderFDD, o2::ft0::RawReaderFT0< useTrgInput >, and o2::ft0::RawReaderFT0ext< useTrgInput >.

Public Types

typedef DigitBlockFITtype DigitBlockFIT_t
 
typedef DigitBlockFIT_t::LookupTable_t LookupTable_t
 
typedef std::conditional_t< DataBlockPMtype::sIsPadded, typename DataBlockPMtype::DataBlockInvertedPadding_t, DataBlockPMtype > DataBlockPM_t
 
typedef std::conditional_t< DataBlockTCMtype::sIsPadded, typename DataBlockTCMtype::DataBlockInvertedPadding_t, DataBlockTCMtype > DataBlockTCM_t
 
typedef std::conditional_t< DataBlockPMtype::sIsPadded, DataBlockPMtype, typename DataBlockPMtype::DataBlockInvertedPadding_t > DataBlockPMpadded_t
 
typedef std::conditional_t< DataBlockTCMtype::sIsPadded, DataBlockTCMtype, typename DataBlockTCMtype::DataBlockInvertedPadding_t > DataBlockTCMpadded_t
 
typedef RawReaderBase< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype > RawReaderBase_t
 
- Public Types inherited from o2::fit::RawReaderBase< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >
typedef DigitBlockFITtype DigitBlock_t
 
typedef RawDataMetric RawDataMetric_t
 
using LookupTable_t = typename DigitBlock_t::LookupTable_t
 
using EntryCRU_t = typename LookupTable_t::EntryCRU_t
 
using HashTableCRU_t = std::unordered_map< EntryCRU_t, RawDataMetric, typename LookupTable_t::MapEntryCRU2ModuleType_t::hasher, typename LookupTable_t::MapEntryCRU2ModuleType_t::key_equal >
 
typedef boost::mpl::vector< typename DataBlockTypes::DataBlockInvertedPadding_t..., DataBlockTypes... > VecDataBlocks_t
 

Public Member Functions

 RawReaderBaseFIT ()=default
 
 ~RawReaderBaseFIT ()=default
 
void reserve (std::size_t nElements, std::size_t nElemMap=0)
 
template<typename... T>
void process (bool isPadded, gsl::span< const uint8_t > payload, uint16_t feeID, T &&... feeParameters)
 
- Public Member Functions inherited from o2::fit::RawReaderBase< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >
 RawReaderBase ()=default
 
 ~RawReaderBase ()=default
 
constexpr std::vector< T > & getVecDataBlocks ()
 
size_t decodeBlocks (const gsl::span< const uint8_t > binaryPayload, RawDataMetric &metric, std::vector< DataBlockType > &vecDataBlocks)
 
void processBinaryData (gsl::span< const uint8_t > payload, uint16_t feeID, uint8_t linkID, uint8_t epID)
 
RawDataMetricaddMetric (uint16_t feeID, uint8_t linkID, uint8_t epID, bool isRegisteredFEE=true)
 
int getDigits (VecDigitType &... vecDigit)
 
void getMetrics (std::vector< RawDataMetric > &vecMetrics)
 

Additional Inherited Members

- Public Attributes inherited from o2::fit::RawReaderBase< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >
HashTableCRU_t mHashTableMetrics
 
std::tuple< std::vector< typename DataBlockTypes::DataBlockInvertedPadding_t >..., std::vector< DataBlockTypes >... > mTupleVecDataBlocks
 
std::map< InteractionRecord, DigitBlock_tmMapDigits
 

Detailed Description

template<typename DigitBlockFITtype, typename DataBlockPMtype, typename DataBlockTCMtype>
class o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >

Definition at line 40 of file RawReaderBaseFIT.h.

Member Typedef Documentation

◆ DataBlockPM_t

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
typedef std::conditional_t<DataBlockPMtype::sIsPadded, typename DataBlockPMtype::DataBlockInvertedPadding_t, DataBlockPMtype> o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::DataBlockPM_t

Definition at line 46 of file RawReaderBaseFIT.h.

◆ DataBlockPMpadded_t

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
typedef std::conditional_t<DataBlockPMtype::sIsPadded, DataBlockPMtype, typename DataBlockPMtype::DataBlockInvertedPadding_t> o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::DataBlockPMpadded_t

Definition at line 49 of file RawReaderBaseFIT.h.

◆ DataBlockTCM_t

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
typedef std::conditional_t<DataBlockTCMtype::sIsPadded, typename DataBlockTCMtype::DataBlockInvertedPadding_t, DataBlockTCMtype> o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::DataBlockTCM_t

Definition at line 47 of file RawReaderBaseFIT.h.

◆ DataBlockTCMpadded_t

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
typedef std::conditional_t<DataBlockTCMtype::sIsPadded, DataBlockTCMtype, typename DataBlockTCMtype::DataBlockInvertedPadding_t> o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::DataBlockTCMpadded_t

Definition at line 50 of file RawReaderBaseFIT.h.

◆ DigitBlockFIT_t

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
typedef DigitBlockFITtype o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::DigitBlockFIT_t

Definition at line 43 of file RawReaderBaseFIT.h.

◆ LookupTable_t

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
typedef DigitBlockFIT_t::LookupTable_t o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::LookupTable_t

Definition at line 44 of file RawReaderBaseFIT.h.

◆ RawReaderBase_t

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
typedef RawReaderBase<DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype> o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::RawReaderBase_t

Definition at line 52 of file RawReaderBaseFIT.h.

Constructor & Destructor Documentation

◆ RawReaderBaseFIT()

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::RawReaderBaseFIT ( )
default

◆ ~RawReaderBaseFIT()

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::~RawReaderBaseFIT ( )
default

Member Function Documentation

◆ process()

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
template<typename... T>
void o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::process ( bool  isPadded,
gsl::span< const uint8_t >  payload,
uint16_t  feeID,
T &&...  feeParameters 
)
inline

Definition at line 69 of file RawReaderBaseFIT.h.

◆ reserve()

template<typename DigitBlockFITtype , typename DataBlockPMtype , typename DataBlockTCMtype >
void o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >::reserve ( std::size_t  nElements,
std::size_t  nElemMap = 0 
)
inline

Definition at line 55 of file RawReaderBaseFIT.h.


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