Project
Loading...
Searching...
No Matches
o2::fdd::RawReaderFDD Class Reference

#include <RawReaderFDD.h>

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

Public Member Functions

 RawReaderFDD (bool dumpData)
 
 RawReaderFDD (const RawReaderFDD &)=default
 
 RawReaderFDD ()=default
 
 ~RawReaderFDD ()=default
 
void clear ()
 
void accumulateDigits ()
 
void makeSnapshot (o2::framework::ProcessingContext &pc)
 
- Public Member Functions inherited from o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >
 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)
 

Static Public Member Functions

static void prepareOutputSpec (std::vector< o2::framework::OutputSpec > &outputSpec)
 

Public Attributes

bool mDumpData
 
std::vector< DigitmVecDigits
 
std::vector< ChannelDatamVecChannelData
 
- 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
 

Additional Inherited Members

- Public Types inherited from o2::fit::RawReaderBaseFIT< DigitBlockFITtype, DataBlockPMtype, DataBlockTCMtype >
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
 

Detailed Description

Definition at line 39 of file RawReaderFDD.h.

Constructor & Destructor Documentation

◆ RawReaderFDD() [1/3]

o2::fdd::RawReaderFDD::RawReaderFDD ( bool  dumpData)
inline

Definition at line 42 of file RawReaderFDD.h.

◆ RawReaderFDD() [2/3]

o2::fdd::RawReaderFDD::RawReaderFDD ( const RawReaderFDD )
default

◆ RawReaderFDD() [3/3]

o2::fdd::RawReaderFDD::RawReaderFDD ( )
default

◆ ~RawReaderFDD()

o2::fdd::RawReaderFDD::~RawReaderFDD ( )
default

Member Function Documentation

◆ accumulateDigits()

void o2::fdd::RawReaderFDD::accumulateDigits ( )
inline

Definition at line 52 of file RawReaderFDD.h.

◆ clear()

void o2::fdd::RawReaderFDD::clear ( )
inline

Definition at line 47 of file RawReaderFDD.h.

◆ makeSnapshot()

void o2::fdd::RawReaderFDD::makeSnapshot ( o2::framework::ProcessingContext pc)
inline

Definition at line 66 of file RawReaderFDD.h.

◆ prepareOutputSpec()

static void o2::fdd::RawReaderFDD::prepareOutputSpec ( std::vector< o2::framework::OutputSpec > &  outputSpec)
inlinestatic

Definition at line 61 of file RawReaderFDD.h.

Member Data Documentation

◆ mDumpData

bool o2::fdd::RawReaderFDD::mDumpData

Definition at line 71 of file RawReaderFDD.h.

◆ mVecChannelData

std::vector<ChannelData> o2::fdd::RawReaderFDD::mVecChannelData

Definition at line 73 of file RawReaderFDD.h.

◆ mVecDigits

std::vector<Digit> o2::fdd::RawReaderFDD::mVecDigits

Definition at line 72 of file RawReaderFDD.h.


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