Project
Loading...
Searching...
No Matches
o2::itsmft::RawPixelDecoder< Mapping > Class Template Referencefinal

#include <RawPixelDecoder.h>

Inherits o2::itsmft::PixelReader.

Classes

struct  LinkEntry
 

Public Member Functions

 RawPixelDecoder ()
 
 ~RawPixelDecoder () final=default
 
void setFormat (GBTLink::Format f)
 
void init () final
 
bool getNextChipData (ChipPixelData &chipData) final
 
ChipPixelDatagetNextChipData (std::vector< ChipPixelData > &chipDataVec) final
 
void ensureChipOrdering ()
 
void startNewTF (o2::framework::InputRecord &inputs)
 
void collectROFCableData (int iru)
 
int decodeNextTrigger () final
 
template<class DigitContainer , class ROFContainer >
int fillDecodedDigits (DigitContainer &digits, ROFContainer &rofs)
 
template<class STATVEC >
void fillChipsStatus (STATVEC &chipStatus)
 
template<class CalibContainer >
void fillCalibData (CalibContainer &calib)
 
template<class LinkErrors , class DecErrors , class ErrMsgs >
void collectDecodingErrors (LinkErrors &linkErrors, DecErrors &decErrors, ErrMsgs &errInfos)
 
const RUDecodeDatagetRUDecode (int ruSW) const
 
const GBTLinkgetGBTLink (int i) const
 
int getNLinks () const
 
auto getUserDataOrigin () const
 
void setUserDataOrigin (header::DataOrigin orig)
 
auto getUserDataDescription () const
 
void setUserDataDescription (header::DataDescription desc)
 
void setNThreads (int n)
 
int getNThreads () const
 
void setFillCalibData (bool v)
 
bool getFillCalibData () const
 
void setVerbosity (int v)
 
int getVerbosity () const
 
void setInputFilter (std::vector< o2::framework::InputSpec > filter)
 
const auto & getInputFilter () const noexcept
 
void setAlwaysParseTrigger (bool v)
 
bool getAlwaysParseTrigger () const
 
void printReport (bool decstat=true, bool skipNoErr=true) const
 
size_t produceRawDataDumps (int dump, const o2::framework::TimingInfo &tinfo)
 
void clearStat (bool resetRaw=false)
 
TStopwatch & getTimerTFStart ()
 
TStopwatch & getTimerDecode ()
 
TStopwatch & getTimerExtract ()
 
uint32_t getNChipsFiredROF () const
 
uint32_t getNPixelsFiredROF () const
 
size_t getNChipsFired () const
 
size_t getNPixelsFired () const
 
void setAllowEmptyROFs (bool v)
 
bool getAllowEmptyROFs () const
 
void setVerifyDecoder (bool v)
 
bool getVerifyDecoder () const
 
void setInstanceID (size_t i)
 
void setNInstances (size_t n)
 
auto getInstanceID () const
 
auto getNInstances () const
 
void setRawDumpDirectory (const std::string &s)
 
auto getRawDumpDirectory () const
 
std::vector< PhysTrigger > & getExternalTriggers ()
 
const std::vector< PhysTrigger > & getExternalTriggers () const
 
void setSkipRampUpData (bool v=true)
 
bool getSkipRampUpData () const
 
auto getNROFsProcessed () const
 
uint16_t getSquashingDepth ()
 
bool doIRMajorityPoll ()
 
bool isRampUpStage () const
 
void reset ()
 
int fillDecodedDigits (DigitContainer &digits, ROFContainer &rofs)
 
- Public Member Functions inherited from o2::itsmft::PixelReader
 PixelReader ()=default
 Transient data for single fired pixel.
 
virtual ~PixelReader ()=default
 
 PixelReader (const PixelReader &cluster)=delete
 
PixelReaderoperator= (const PixelReader &src)=delete
 
virtual const o2::dataformats::ConstMCTruthContainerView< o2::MCCompLabel > * getDigitsMCTruth () const
 
const o2::InteractionRecordgetInteractionRecord () const
 
uint32_t getTrigger () const
 
bool getDecodeNextAuto () const
 
void setDecodeNextAuto (bool v)
 

Additional Inherited Members

- Protected Member Functions inherited from o2::itsmft::PixelReader
 ClassDef (PixelReader, 1)
 
- Protected Attributes inherited from o2::itsmft::PixelReader
o2::InteractionRecord mInteractionRecord = {}
 
uint32_t mTrigger = 0
 
bool mDecodeNextAuto = true
 

Detailed Description

template<class Mapping>
class o2::itsmft::RawPixelDecoder< Mapping >

Definition at line 48 of file RawPixelDecoder.h.

Constructor & Destructor Documentation

◆ RawPixelDecoder()

template<class Mapping >
RawPixelDecoder::RawPixelDecoder ( )

C-tor

Definition at line 36 of file RawPixelDecoder.cxx.

◆ ~RawPixelDecoder()

template<class Mapping >
o2::itsmft::RawPixelDecoder< Mapping >::~RawPixelDecoder ( )
finaldefault

Member Function Documentation

◆ clearStat()

template<class Mapping >
void RawPixelDecoder::clearStat ( bool  resetRaw = false)

Definition at line 523 of file RawPixelDecoder.cxx.

◆ collectDecodingErrors()

template<class Mapping >
template<class LinkErrors , class DecErrors , class ErrMsgs >
void o2::itsmft::RawPixelDecoder< Mapping >::collectDecodingErrors ( LinkErrors &  linkErrors,
DecErrors &  decErrors,
ErrMsgs &  errInfos 
)

Definition at line 276 of file RawPixelDecoder.h.

◆ collectROFCableData()

template<class Mapping >
void RawPixelDecoder::collectROFCableData ( int  iru)

Collect cable data for the next ROF for given RU

Definition at line 161 of file RawPixelDecoder.cxx.

◆ decodeNextTrigger()

template<class Mapping >
int RawPixelDecoder::decodeNextTrigger ( )
finalvirtual

Decode next trigger for all links

Implements o2::itsmft::PixelReader.

Definition at line 81 of file RawPixelDecoder.cxx.

◆ doIRMajorityPoll()

template<class Mapping >
bool RawPixelDecoder::doIRMajorityPoll ( )

Definition at line 181 of file RawPixelDecoder.cxx.

◆ ensureChipOrdering()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::ensureChipOrdering ( )
inline

Definition at line 59 of file RawPixelDecoder.h.

◆ fillCalibData()

template<class Mapping >
template<class CalibContainer >
void o2::itsmft::RawPixelDecoder< Mapping >::fillCalibData ( CalibContainer &  calib)

Fill decoded digits to global vector

Definition at line 262 of file RawPixelDecoder.h.

◆ fillChipsStatus()

template<class Mapping >
template<class STATVEC >
void o2::itsmft::RawPixelDecoder< Mapping >::fillChipsStatus ( STATVEC &  chipStatus)

update status for every active chip

Definition at line 246 of file RawPixelDecoder.h.

◆ fillDecodedDigits() [1/2]

template<class Mapping >
template<class DigitContainer , class ROFContainer >
int o2::itsmft::RawPixelDecoder< Mapping >::fillDecodedDigits ( DigitContainer &  digits,
ROFContainer &  rofs 
)

Fill decoded digits to global vector

Definition at line 197 of file RawPixelDecoder.h.

◆ fillDecodedDigits() [2/2]

int o2::itsmft::RawPixelDecoder< ChipMappingMFT >::fillDecodedDigits ( DigitContainer &  digits,
ROFContainer &  rofs 
)

Fill decoded digits to global vector

Definition at line 222 of file RawPixelDecoder.h.

◆ getAllowEmptyROFs()

template<class Mapping >
bool o2::itsmft::RawPixelDecoder< Mapping >::getAllowEmptyROFs ( ) const
inline

Definition at line 115 of file RawPixelDecoder.h.

◆ getAlwaysParseTrigger()

template<class Mapping >
bool o2::itsmft::RawPixelDecoder< Mapping >::getAlwaysParseTrigger ( ) const
inline

Definition at line 99 of file RawPixelDecoder.h.

◆ getExternalTriggers() [1/2]

template<class Mapping >
std::vector< PhysTrigger > & o2::itsmft::RawPixelDecoder< Mapping >::getExternalTriggers ( )
inline

Definition at line 128 of file RawPixelDecoder.h.

◆ getExternalTriggers() [2/2]

template<class Mapping >
const std::vector< PhysTrigger > & o2::itsmft::RawPixelDecoder< Mapping >::getExternalTriggers ( ) const
inline

Definition at line 129 of file RawPixelDecoder.h.

◆ getFillCalibData()

template<class Mapping >
bool o2::itsmft::RawPixelDecoder< Mapping >::getFillCalibData ( ) const
inline

Definition at line 90 of file RawPixelDecoder.h.

◆ getGBTLink()

template<class Mapping >
const GBTLink * o2::itsmft::RawPixelDecoder< Mapping >::getGBTLink ( int  i) const
inline

Definition at line 77 of file RawPixelDecoder.h.

◆ getInputFilter()

template<class Mapping >
const auto & o2::itsmft::RawPixelDecoder< Mapping >::getInputFilter ( ) const
inlinenoexcept

Definition at line 96 of file RawPixelDecoder.h.

◆ getInstanceID()

template<class Mapping >
auto o2::itsmft::RawPixelDecoder< Mapping >::getInstanceID ( ) const
inline

Definition at line 122 of file RawPixelDecoder.h.

◆ getNChipsFired()

template<class Mapping >
size_t o2::itsmft::RawPixelDecoder< Mapping >::getNChipsFired ( ) const
inline

Definition at line 111 of file RawPixelDecoder.h.

◆ getNChipsFiredROF()

template<class Mapping >
uint32_t o2::itsmft::RawPixelDecoder< Mapping >::getNChipsFiredROF ( ) const
inline

Definition at line 109 of file RawPixelDecoder.h.

◆ getNextChipData() [1/2]

template<class Mapping >
bool RawPixelDecoder::getNextChipData ( ChipPixelData chipData)
finalvirtual

read single chip data to the provided container

Implements o2::itsmft::PixelReader.

Definition at line 423 of file RawPixelDecoder.cxx.

◆ getNextChipData() [2/2]

template<class Mapping >
ChipPixelData * RawPixelDecoder::getNextChipData ( std::vector< ChipPixelData > &  chipDataVec)
finalvirtual

Implements o2::itsmft::PixelReader.

Definition at line 390 of file RawPixelDecoder.cxx.

◆ getNInstances()

template<class Mapping >
auto o2::itsmft::RawPixelDecoder< Mapping >::getNInstances ( ) const
inline

Definition at line 123 of file RawPixelDecoder.h.

◆ getNLinks()

template<class Mapping >
int o2::itsmft::RawPixelDecoder< Mapping >::getNLinks ( ) const
inline

Definition at line 78 of file RawPixelDecoder.h.

◆ getNPixelsFired()

template<class Mapping >
size_t o2::itsmft::RawPixelDecoder< Mapping >::getNPixelsFired ( ) const
inline

Definition at line 112 of file RawPixelDecoder.h.

◆ getNPixelsFiredROF()

template<class Mapping >
uint32_t o2::itsmft::RawPixelDecoder< Mapping >::getNPixelsFiredROF ( ) const
inline

Definition at line 110 of file RawPixelDecoder.h.

◆ getNROFsProcessed()

template<class Mapping >
auto o2::itsmft::RawPixelDecoder< Mapping >::getNROFsProcessed ( ) const
inline

Definition at line 133 of file RawPixelDecoder.h.

◆ getNThreads()

template<class Mapping >
int o2::itsmft::RawPixelDecoder< Mapping >::getNThreads ( ) const
inline

Definition at line 87 of file RawPixelDecoder.h.

◆ getRawDumpDirectory()

template<class Mapping >
auto o2::itsmft::RawPixelDecoder< Mapping >::getRawDumpDirectory ( ) const
inline

Definition at line 126 of file RawPixelDecoder.h.

◆ getRUDecode()

template<class Mapping >
const RUDecodeData * o2::itsmft::RawPixelDecoder< Mapping >::getRUDecode ( int  ruSW) const
inline

Definition at line 76 of file RawPixelDecoder.h.

◆ getSkipRampUpData()

template<class Mapping >
bool o2::itsmft::RawPixelDecoder< Mapping >::getSkipRampUpData ( ) const
inline

Definition at line 132 of file RawPixelDecoder.h.

◆ getSquashingDepth()

template<class Mapping >
uint16_t o2::itsmft::RawPixelDecoder< Mapping >::getSquashingDepth ( )
inline

Definition at line 139 of file RawPixelDecoder.h.

◆ getTimerDecode()

template<class Mapping >
TStopwatch & o2::itsmft::RawPixelDecoder< Mapping >::getTimerDecode ( )
inline

Definition at line 107 of file RawPixelDecoder.h.

◆ getTimerExtract()

template<class Mapping >
TStopwatch & o2::itsmft::RawPixelDecoder< Mapping >::getTimerExtract ( )
inline

Definition at line 108 of file RawPixelDecoder.h.

◆ getTimerTFStart()

template<class Mapping >
TStopwatch & o2::itsmft::RawPixelDecoder< Mapping >::getTimerTFStart ( )
inline

Definition at line 106 of file RawPixelDecoder.h.

◆ getUserDataDescription()

template<class Mapping >
auto o2::itsmft::RawPixelDecoder< Mapping >::getUserDataDescription ( ) const
inline

Definition at line 83 of file RawPixelDecoder.h.

◆ getUserDataOrigin()

template<class Mapping >
auto o2::itsmft::RawPixelDecoder< Mapping >::getUserDataOrigin ( ) const
inline

Definition at line 80 of file RawPixelDecoder.h.

◆ getVerbosity()

template<class Mapping >
int o2::itsmft::RawPixelDecoder< Mapping >::getVerbosity ( ) const
inline

Definition at line 93 of file RawPixelDecoder.h.

◆ getVerifyDecoder()

template<class Mapping >
bool o2::itsmft::RawPixelDecoder< Mapping >::getVerifyDecoder ( ) const
inline

Definition at line 118 of file RawPixelDecoder.h.

◆ init()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::init ( )
inlinefinalvirtual

Implements o2::itsmft::PixelReader.

Definition at line 56 of file RawPixelDecoder.h.

◆ isRampUpStage()

template<class Mapping >
bool o2::itsmft::RawPixelDecoder< Mapping >::isRampUpStage ( ) const
inline

Definition at line 141 of file RawPixelDecoder.h.

◆ printReport()

template<class Mapping >
void RawPixelDecoder::printReport ( bool  decstat = true,
bool  skipNoErr = true 
) const

Definition at line 50 of file RawPixelDecoder.cxx.

◆ produceRawDataDumps()

template<class Mapping >
size_t RawPixelDecoder::produceRawDataDumps ( int  dump,
const o2::framework::TimingInfo tinfo 
)

Definition at line 535 of file RawPixelDecoder.cxx.

◆ reset()

template<class Mapping >
void RawPixelDecoder::reset ( )

Definition at line 602 of file RawPixelDecoder.cxx.

◆ setAllowEmptyROFs()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setAllowEmptyROFs ( bool  v)
inline

Definition at line 114 of file RawPixelDecoder.h.

◆ setAlwaysParseTrigger()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setAlwaysParseTrigger ( bool  v)
inline

Definition at line 98 of file RawPixelDecoder.h.

◆ setFillCalibData()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setFillCalibData ( bool  v)
inline

Definition at line 89 of file RawPixelDecoder.h.

◆ setFormat()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setFormat ( GBTLink::Format  f)
inline

Definition at line 55 of file RawPixelDecoder.h.

◆ setInputFilter()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setInputFilter ( std::vector< o2::framework::InputSpec filter)
inline

Definition at line 95 of file RawPixelDecoder.h.

◆ setInstanceID()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setInstanceID ( size_t  i)
inline

Definition at line 120 of file RawPixelDecoder.h.

◆ setNInstances()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setNInstances ( size_t  n)
inline

Definition at line 121 of file RawPixelDecoder.h.

◆ setNThreads()

template<class Mapping >
void RawPixelDecoder::setNThreads ( int  n)

Definition at line 511 of file RawPixelDecoder.cxx.

◆ setRawDumpDirectory()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setRawDumpDirectory ( const std::string &  s)
inline

Definition at line 125 of file RawPixelDecoder.h.

◆ setSkipRampUpData()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setSkipRampUpData ( bool  v = true)
inline

Definition at line 131 of file RawPixelDecoder.h.

◆ setUserDataDescription()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setUserDataDescription ( header::DataDescription  desc)
inline

Definition at line 84 of file RawPixelDecoder.h.

◆ setUserDataOrigin()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setUserDataOrigin ( header::DataOrigin  orig)
inline

Definition at line 81 of file RawPixelDecoder.h.

◆ setVerbosity()

template<class Mapping >
void RawPixelDecoder::setVerbosity ( int  v)

Definition at line 501 of file RawPixelDecoder.cxx.

◆ setVerifyDecoder()

template<class Mapping >
void o2::itsmft::RawPixelDecoder< Mapping >::setVerifyDecoder ( bool  v)
inline

Definition at line 117 of file RawPixelDecoder.h.

◆ startNewTF()

template<class Mapping >
void RawPixelDecoder::startNewTF ( o2::framework::InputRecord inputs)

prepare for new TF

Definition at line 139 of file RawPixelDecoder.cxx.


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