Analysis Software
Documentation for sPHENIX simulation software
|
#include <online_distribution/blob/master/newbasic/mvtx_decoder/DecodingStat.h>
Public Member Functions | |
ChipStat ()=default | |
ChipStat (uint16_t _feeID) | |
void | clear () |
uint32_t | getNErrors () const |
uint32_t | addErrors (uint32_t mask, uint16_t chID, int verbosity) |
print link decoding statistics | |
uint32_t | addErrors (const ChipPixelData &d, int verbosity) |
print link decoding statistics | |
void | print (bool skipNoErr=true, const std::string &pref="FEEID") const |
print chip decoding statistics | |
Static Public Member Functions | |
static int | getAPENonCritical (uint8_t c) |
static int | getAPECode (uint8_t c, bool &ft) |
Public Attributes | |
const std::array< const std::string, NErrorsDefined > | ErrNames |
uint16_t | feeID = -1 |
size_t | nHits = 0 |
std::array< uint32_t, NErrorsDefined > | errorCounts = {} |
Static Public Attributes | |
static constexpr std::array < uint32_t, NErrorsDefined > | ErrActions |
Definition at line 19 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 19 of file DecodingStat.h
enum mvtx::ChipStat::ActionOnError : int |
Definition at line 20 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 20 of file DecodingStat.h
enum mvtx::ChipStat::DecErrors : int |
Definition at line 26 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 26 of file DecodingStat.h
|
default |
|
inline |
Definition at line 136 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 136 of file DecodingStat.h
uint32_t ChipStat::addErrors | ( | uint32_t | mask, |
uint16_t | chID, | ||
int | verbosity | ||
) |
print link decoding statistics
Definition at line 30 of file DecodingStat.cxx.
View newest version in sPHENIX GitHub at line 30 of file DecodingStat.cxx
References ErrActDump, ErrActions, ErrActPropagate, errorCounts, i, and NErrorsDefined.
uint32_t ChipStat::addErrors | ( | const ChipPixelData & | d, |
int | verbosity | ||
) |
print link decoding statistics
Definition at line 50 of file DecodingStat.cxx.
View newest version in sPHENIX GitHub at line 50 of file DecodingStat.cxx
References ErrActDump, ErrActions, ErrActPropagate, errorCounts, mvtx::ChipPixelData::getErrorFlags(), i, and NErrorsDefined.
|
inline |
Definition at line 138 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 138 of file DecodingStat.h
|
inlinestatic |
Definition at line 153 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 153 of file DecodingStat.h
References APE_STRIP.
|
inlinestatic |
Definition at line 144 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 144 of file DecodingStat.h
References APE_STRIP.
uint32_t ChipStat::getNErrors | ( | ) | const |
Definition at line 19 of file DecodingStat.cxx.
View newest version in sPHENIX GitHub at line 19 of file DecodingStat.cxx
References errorCounts, i, and NErrorsDefined.
void ChipStat::print | ( | bool | skipNoErr = true , |
const std::string & | pref = "FEEID" |
||
) | const |
print chip decoding statistics
Definition at line 72 of file DecodingStat.cxx.
View newest version in sPHENIX GitHub at line 72 of file DecodingStat.cxx
References errorCounts, i, and NErrorsDefined.
|
static |
Definition at line 99 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 99 of file DecodingStat.h
Referenced by addErrors().
constexpr std::array< std::string_view, ChipStat::NErrorsDefined > ChipStat::ErrNames |
Definition at line 64 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 64 of file DecodingStat.h
std::array<uint32_t, NErrorsDefined> mvtx::ChipStat::errorCounts = {} |
Definition at line 134 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 134 of file DecodingStat.h
Referenced by addErrors(), getNErrors(), and print().
uint16_t mvtx::ChipStat::feeID = -1 |
Definition at line 132 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 132 of file DecodingStat.h
size_t mvtx::ChipStat::nHits = 0 |
Definition at line 133 of file DecodingStat.h.
View newest version in sPHENIX GitHub at line 133 of file DecodingStat.h