![]() |
Project
|
#include <HmpidDecodeRawMem.h>
Inherits o2::hmpid::HmpidDecodeRawMem.
Public Member Functions | |
| HmpidDecodeRawDigit (int *EqIds, int *CruIds, int *LinkIds, int numOfEquipments) | |
| HmpidDecodeRawDigit (int numOfEquipments) | |
| ~HmpidDecodeRawDigit () | |
| Destructor. | |
Public Member Functions inherited from o2::hmpid::HmpidDecodeRawMem | |
| HmpidDecodeRawMem (int *EqIds, int *CruIds, int *LinkIds, int numOfEquipments) | |
| HmpidDecodeRawMem (int numOfEquipments) | |
| ~HmpidDecodeRawMem () | |
| Destructor. | |
| bool | setUpStream (void *Buffer, long BufferLen) override |
Public Member Functions inherited from o2::hmpid::HmpidDecoder | |
| HmpidDecoder (int *EqIds, int *CruIds, int *LinkIds, int numOfEquipments) | |
| HmpidDecoder (int numOfEquipments) | |
| ~HmpidDecoder () | |
| Destructor : remove the Equipments instances. | |
| void | init () |
| Init all the members variables. | |
| void | setVerbosity (int Level) |
| int | getVerbosity () |
| int | getNumberOfEquipments () |
| int | getEquipmentIndex (int EquipmentId) |
| int | getEquipmentIndex (int CruID, int LinkId) |
| int | getEquipmentID (int CruId, int LinkId) |
| void | decodePage (uint32_t **streamBuffer) |
| void | decodePageFast (uint32_t **streamBuf) |
| bool | decodeBuffer () |
| bool | decodeBufferFast () |
| uint16_t | getChannelSamples (int Equipment, int Column, int Dilogic, int Channel) |
| double | getChannelSum (int Equipment, int Column, int Dilogic, int Channel) |
| double | getChannelSquare (int Equipment, int Column, int Dilogic, int Channel) |
| uint16_t | getPadSamples (int Module, int Row, int Column) |
| double | getPadSum (int Module, int Row, int Column) |
| double | getPadSquares (int Module, int Row, int Column) |
| void | dumpErrors (int Equipment) |
| void | dumpPads (int Equipment, int type=0) |
| void | writeSummaryFile (char *summaryFileName) |
| float | getAverageEventSize (int Equipment) |
| float | getAverageBusyTime (int Equipment) |
| bool | decodeHmpidError (int ErrorField, char *outbuf) |
| void | dumpHmpidError (int ErrorField) |
| bool | isPadWord (uint32_t wp, int *Err, int *Col, int *Dilogic, int *Channel, int *Charge) |
| int | decodeHeader (uint32_t *streamPtrAdr, int *EquipIndex) |
| HmpidEquipment * | evaluateHeaderContents (int EquipmentIndex) |
| void | updateStatistics (HmpidEquipment *eq) |
Public Attributes | |
| std::vector< o2::hmpid::Digit > | mDigits |
Public Attributes inherited from o2::hmpid::HmpidDecoder | |
| int | mVerbose |
| HmpidEquipment * | mTheEquipments [Geo::MAXEQUIPMENTS] |
| int | mNumberOfEquipments |
| uint64_t | mHeEvent |
| int | mHeBusy |
| int | mNumberWordToRead |
| int | mPayloadTail |
| int | mHeFEEID |
| int | mHeSize |
| int | mHeVer |
| int | mHePrior |
| int | mHeStop |
| int | mHePages |
| int | mEquipment |
| int | mHeOffsetNewPack |
| int | mHeMemorySize |
| int | mHeDetectorID |
| int | mHeDW |
| int | mHeCruID |
| int | mHePackNum |
| int | mHePAR |
| int | mHePageNum |
| int | mHeLinkNum |
| int | mHeFirmwareVersion |
| int | mHeHmpidError |
| int | mHeBCDI |
| int | mHeORBIT |
| int | mHeTType |
| uint32_t * | mActualStreamPtr |
| uint32_t * | mEndStreamPtr |
| uint32_t * | mStartStreamPtr |
| int | mRDHSize |
| int | mRDHAcceptedVersion |
| o2::InteractionRecord | mIntReco |
Additional Inherited Members | |
Static Public Attributes inherited from o2::hmpid::HmpidDecoder | |
| static char | sErrorDescription [MAXERRORS][MAXDESCRIPTIONLENGHT] |
| Decoding Error Messages Definitions. | |
| static char | sHmpidErrorDescription [MAXHMPIDERRORS][MAXDESCRIPTIONLENGHT] |
| HMPID Firmware Error Messages Definitions. | |
Protected Member Functions inherited from o2::hmpid::HmpidDecoder | |
| int | checkType (uint32_t wp, int *p1, int *p2, int *p3, int *p4) |
| bool | isRowMarker (uint32_t wp, int *Err, int *rowSize, int *mark) |
| bool | isSegmentMarker (uint32_t wp, int *Err, int *segSize, int *Seg, int *mark) |
| bool | isEoEmarker (uint32_t wp, int *Err, int *Col, int *Dilogic, int *Eoesize) |
| uint32_t * | getActualStreamPtr () |
Definition at line 58 of file HmpidDecodeRawMem.h.
| HmpidDecodeRawDigit::HmpidDecodeRawDigit | ( | int * | EqIds, |
| int * | CruIds, | ||
| int * | LinkIds, | ||
| int | numOfEquipments | ||
| ) |
Constructor : accepts the number of equipments to define and their complete address map Allocates instances for all defined equipments
The Address map is build from three array
| [in] | numOfEquipments | : the number of equipments to define [1..14] |
| [in] | *EqIds | : the pointer to the Equipments ID array |
| [in] | *CruIds | : the pointer to the CRU ID array |
| [in] | *LinkIds | : the pointer to the Link ID array |
Definition at line 161 of file HmpidDecodeRawMem.cxx.
| HmpidDecodeRawDigit::HmpidDecodeRawDigit | ( | int | numOfEquipments | ) |
Constructor : accepts the number of equipments to define The mapping is the default at P2 Allocates instances for all defined equipments normally it is equal to 14
| [in] | numOfEquipments | : the number of equipments to define [1..14] |
Definition at line 147 of file HmpidDecodeRawMem.cxx.
|
default |
Destructor.
| std::vector<o2::hmpid::Digit> o2::hmpid::HmpidDecodeRawDigit::mDigits |
Definition at line 65 of file HmpidDecodeRawMem.h.