![]() |
Project
|
#include <HmpidDecodeRawFile.h>
Inherits o2::hmpid::HmpidDecoder.
Public Member Functions | |
| HmpidDecodeRawFile (int *EqIds, int *CruIds, int *LinkIds, int numOfEquipments) | |
| HmpidDecodeRawFile (int numOfEquipments) | |
| ~HmpidDecodeRawFile () | |
| Destructor. | |
| bool | setUpStream (void *InpuFileName, long Size) |
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) |
Definition at line 39 of file HmpidDecodeRawFile.h.
| HmpidDecodeRawFile::HmpidDecodeRawFile | ( | int * | EqIds, |
| int * | CruIds, | ||
| int * | LinkIds, | ||
| int | numOfEquipments | ||
| ) |
Constructor with the HMPID address map
| [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 41 of file HmpidDecodeRawFile.cxx.
| HmpidDecodeRawFile::HmpidDecodeRawFile | ( | int | numOfEquipments | ) |
Constructor with the default HMPID equipments map at P2
| [in] | numOfEquipments | : number of defined equipments [0..13] |
Definition at line 30 of file HmpidDecodeRawFile.cxx.
| HmpidDecodeRawFile::~HmpidDecodeRawFile | ( | ) |
Destructor.
Definition at line 48 of file HmpidDecodeRawFile.cxx.
Setup the Input Stream with a File Handle verify the existence and try to open it
| [in] | *FileName | : the string that contains the File Name |
| [in] | Size | : not used |
| TH_FILENOTEXISTS | Thrown if the file doesn't exists |
| TH_OPENFILE | Thrown if Fails to open the file |
Implements o2::hmpid::HmpidDecoder.
Definition at line 59 of file HmpidDecodeRawFile.cxx.