![]() |
Project
|
#include <RawPixelReader.h>
Inherits o2::itsmft::PixelReader.
Public Member Functions | |
| RawPixelReader () | |
| ~RawPixelReader () override | |
| bool | isPadding128 () const |
| do we interpred GBT words as padded to 128 bits? | |
| bool | isMaxPageImposed () const |
| do we treat CRU pages as having max size? | |
| int | getGBTWordSize () const |
| assumed GBT word size (accounting for eventual padding) | |
| void | setPadding128 (bool v) |
| impose padding model for GBT words | |
| void | setMinTriggersToCache (int n) |
| set min number of triggers to cache per frame | |
| int | getMinTriggersToCache () const |
| void | imposeMaxPage (bool v) |
| CRU pages are of max size of 8KB. | |
| ChipPixelData * | getNextChipData (std::vector< ChipPixelData > &chipDataVec) override |
| void | init () override |
| void | clear (bool resetStat=true) |
| int | digits2raw (const std::vector< o2::itsmft::Digit > &digiVec, int from, int ndig, const o2::InteractionRecord &bcData, uint8_t ruSWMin=0, uint8_t ruSWMax=0xff) |
| ================================== Encoding methods ======================== | |
| void | convertChip (o2::itsmft::ChipPixelData &chipData) |
| void | convertEmptyChips (int fromChip, int uptoChip) |
| int | fillGBTLinks () |
| int | flushSuperPages (int maxPages, PayLoadCont &sink, bool unusedToHead=true) |
| size_t | cacheLinksData (PayLoadCont &buffer) |
| ================================== Decoding methods ======================== | |
| int | decodeNextTrigger () final |
| int | decodeNextRUData (RUDecodeData &ruDecData) |
| bool | findNextRDH (PayLoadCont &buffer) |
| uint8_t * | decodeRUData (uint8_t *raw, RUDecodeData &ruDecData, bool &aborted) |
| int | skimNextRUData (PayLoadCont &outBuffer) |
| uint8_t * | skimPaddedRUData (uint8_t *raw, PayLoadCont &outBuffer, bool &aborted) |
| bool | isSameRUandTrigger (const o2::header::RAWDataHeader *rdhOld, const o2::header::RAWDataHeader *rdhNew) const |
| int | decodeAlpideData (RUDecodeData &decData) |
| bool | getNextChipData (ChipPixelData &chipData) override |
| void | openInput (const std::string filename) |
| size_t | loadInput (PayLoadCont &buffer) |
| const GBTLinkDecodingStat * | getGBTLinkDecodingStatSW (uint16_t idSW, int ruLink) const |
| const GBTLinkDecodingStat * | getGBTLinkDecodingStatHW (uint16_t idHW, int ruLink) const |
| const GBTLinkDecodingStat * | getRUDecodingStatSW (uint16_t idSW, int ruLink=0) const |
| const GBTLinkDecodingStat * | getRUDecodingStatHW (uint16_t idHW, int ruLink=0) const |
| const RawDecodingStat & | getDecodingStat () const |
| void | setVerbosity (int v) |
| int | getVerbosity () const |
| Mapping & | getMapping () |
| const RUDecodeData * | getCurrRUDecodeData () const |
| PayLoadCont & | getRawBuffer () |
| int | getNLinks () const |
| int | getNRUs () const |
| const std::array< RUDecodeData, Mapping::getNRUs()> & | getRUDecodeVec () const |
| const std::array< int, Mapping::getNRUs()> & | getRUEntries () const |
| const RUDecodeData * | getRUDecode (int ruSW) const |
| RUDecodeData & | getCreateRUDecode (int ruSW) |
| int | addGBTLink () |
| GBTLink * | getGBTLink (int i) |
| const GBTLink * | getGBTLink (int i) const |
Public Member Functions inherited from o2::itsmft::PixelReader | |
| PixelReader ()=default | |
| Transient data for single fired pixel. | |
| virtual | ~PixelReader ()=default |
| PixelReader (const PixelReader &cluster)=delete | |
| PixelReader & | operator= (const PixelReader &src)=delete |
| virtual const o2::dataformats::ConstMCTruthContainerView< o2::MCCompLabel > * | getDigitsMCTruth () const |
| const o2::InteractionRecord & | getInteractionRecord () 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 |
Used both for encoding to and decoding from the alpide raw data format Requires as a template parameter a helper class for detector-specific mapping between the software global chip ID and HW module ID and chip ID within the module, see for example ChipMappingITS class. Similar helper class must be provided for the MFT
Definition at line 120 of file RawPixelReader.h.
|
inline |
Definition at line 125 of file RawPixelReader.h.
|
inlineoverride |
Definition at line 130 of file RawPixelReader.h.
|
inline |
Definition at line 1427 of file RawPixelReader.h.
|
inline |
================================== Decoding methods ========================
Definition at line 499 of file RawPixelReader.h.
|
inline |
Definition at line 199 of file RawPixelReader.h.
|
inline |
< convert digits of single chip to Alpide format.
Definition at line 293 of file RawPixelReader.h.
|
inline |
Definition at line 318 of file RawPixelReader.h.
|
inline |
decode the ALPIDE data from the buffer of single lane
Definition at line 1229 of file RawPixelReader.h.
|
inline |
Definition at line 653 of file RawPixelReader.h.
|
inlinefinalvirtual |
Implements o2::itsmft::PixelReader.
Definition at line 617 of file RawPixelReader.h.
|
inline |
Decode raw data of single RU (possibly in a few GBT packets), collecting raw data for every cable in the corresponding slot of the provided ruDecData. No check is done if the necessary data are fully contained in the raw buffer. Return the pointer on the last raw data byte after decoding the RU In case of unrecoverable error set aborted to true
Definition at line 714 of file RawPixelReader.h.
|
inline |
================================== Encoding methods ========================
Definition at line 220 of file RawPixelReader.h.
|
inline |
Definition at line 331 of file RawPixelReader.h.
|
inline |
Definition at line 682 of file RawPixelReader.h.
|
inline |
Definition at line 459 of file RawPixelReader.h.
|
inline |
Definition at line 1414 of file RawPixelReader.h.
|
inline |
Definition at line 1392 of file RawPixelReader.h.
|
inline |
Definition at line 1384 of file RawPixelReader.h.
|
inline |
Definition at line 1435 of file RawPixelReader.h.
|
inline |
Definition at line 1436 of file RawPixelReader.h.
|
inline |
Definition at line 1372 of file RawPixelReader.h.
|
inline |
Definition at line 1362 of file RawPixelReader.h.
|
inline |
assumed GBT word size (accounting for eventual padding)
Definition at line 147 of file RawPixelReader.h.
|
inline |
Definition at line 1389 of file RawPixelReader.h.
|
inline |
Definition at line 159 of file RawPixelReader.h.
|
inlineoverridevirtual |
read single chip data to the provided container
Implements o2::itsmft::PixelReader.
Definition at line 1292 of file RawPixelReader.h.
|
inlineoverridevirtual |
|
inline |
Definition at line 1397 of file RawPixelReader.h.
|
inline |
Definition at line 1400 of file RawPixelReader.h.
|
inline |
Definition at line 1394 of file RawPixelReader.h.
|
inline |
Definition at line 1408 of file RawPixelReader.h.
|
inline |
Definition at line 1403 of file RawPixelReader.h.
|
inline |
Definition at line 1381 of file RawPixelReader.h.
|
inline |
Definition at line 1380 of file RawPixelReader.h.
|
inline |
Definition at line 1405 of file RawPixelReader.h.
|
inline |
Definition at line 1387 of file RawPixelReader.h.
|
inline |
CRU pages are of max size of 8KB.
Definition at line 162 of file RawPixelReader.h.
|
inlineoverridevirtual |
|
inline |
do we treat CRU pages as having max size?
Definition at line 144 of file RawPixelReader.h.
|
inline |
do we interpred GBT words as padded to 128 bits?
Definition at line 141 of file RawPixelReader.h.
|
inline |
check if the rdhNew is just a continuation of the data described by the rdhOld
Definition at line 1216 of file RawPixelReader.h.
|
inline |
assure the buffers are large enough
Definition at line 1338 of file RawPixelReader.h.
|
inline |
Definition at line 1323 of file RawPixelReader.h.
|
inline |
set min number of triggers to cache per frame
Definition at line 157 of file RawPixelReader.h.
|
inline |
impose padding model for GBT words
Definition at line 150 of file RawPixelReader.h.
|
inline |
Definition at line 1386 of file RawPixelReader.h.
|
inline |
Definition at line 947 of file RawPixelReader.h.
|
inline |
Skim CRU data with 128b-padded GBT words and fixed 8KB pages to 80b-GBT words and page size corresponding to real payload.
Definition at line 978 of file RawPixelReader.h.