Analysis Software
Documentation for sPHENIX simulation software
|
Statistics for per-link decoding. More...
#include <online_distribution/blob/master/newbasic/mvtx_decoder/DecodingStat.h>
Public Types | |
enum | DecErrors : int { ErrNoRDHAtStart, ErrPageNotStopped, ErrStopPageNotEmpty, ErrPageCounterDiscontinuity, ErrRDHvsGBTHPageCnt, ErrMissingGBTTrigger, ErrMissingGBTHeader, ErrMissingGBTTrailer, ErrNonZeroPageAfterStop, ErrUnstoppedLanes, ErrDataForStoppedLane, ErrNoDataForActiveLane, ErrIBChipLaneMismatch, ErrCableDataHeadWrong, ErrInvalidActiveLanes, ErrPacketCounterJump, ErrPacketDoneMissing, ErrMissingDiagnosticWord, ErrGBTWordNotRecognized, ErrWrongeCableID, ErrWrongAlignmentWord, ErrMissingROF, ErrOldROF, NErrorsDefined } |
counters for format checks More... | |
enum | BitMaps : int { ORBIT = 0, HB = 1, HBr = 2, HC = 3, PHYSICS = 4, PP = 5, CAL = 6, SOT = 7, EOT = 8, SOC = 9, EOC = 10, TF = 11, FE_RST = 12, RT = 13, RS = 14, nBitMap = 15 } |
Public Member Functions | |
void | clear () |
void | print (bool skipNoErr=true) const |
print link decoding statistics | |
Public Attributes | |
const std::array< std::string, NErrorsDefined > | ErrNames |
const std::array< std::string, nBitMap > | BitMapName |
uint16_t | feeID = 0 |
std::array< uint32_t, NErrorsDefined > | errorCounts = {} |
std::array< uint32_t, nBitMap > | trgBitCounts = {} |
Statistics for per-link decoding.
Definition at line 182 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 182 of file DecodingStat.h
enum mvtx::GBTLinkDecodingStat::BitMaps : int |
Definition at line 242 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 242 of file DecodingStat.h
enum mvtx::GBTLinkDecodingStat::DecErrors : int |
counters for format checks
Definition at line 185 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 185 of file DecodingStat.h
|
inline |
Definition at line 287 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 287 of file DecodingStat.h
Referenced by mvtx::GBTLink::clear().
void GBTLinkDecodingStat::print | ( | bool | skipNoErr = true | ) | const |
print link decoding statistics
Definition at line 91 of file DecodingStat.cxx.
View newest version in sPHENIX GitHub at line 91 of file DecodingStat.cxx
References errorCounts, i, and NErrorsDefined.
const std::array<std::string, nBitMap> mvtx::GBTLinkDecodingStat::BitMapName |
Definition at line 264 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 264 of file DecodingStat.h
const std::array<std::string, NErrorsDefined> mvtx::GBTLinkDecodingStat::ErrNames |
Definition at line 215 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 215 of file DecodingStat.h
std::array<uint32_t, NErrorsDefined> mvtx::GBTLinkDecodingStat::errorCounts = {} |
Definition at line 284 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 284 of file DecodingStat.h
Referenced by print().
uint16_t mvtx::GBTLinkDecodingStat::feeID = 0 |
Definition at line 283 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 283 of file DecodingStat.h
std::array<uint32_t, nBitMap> mvtx::GBTLinkDecodingStat::trgBitCounts = {} |
Definition at line 285 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 285 of file DecodingStat.h