|
ATLAS Offline Software
|
Class that holds Data Quality fragment information and provides functions to extract the data quality status for channels Checks for the following types of errors stored in the Data Quality fragment:
More...
#include <TileDQstatus.h>
|
| TileDQstatus () |
| Default constructor. More...
|
|
bool | isFilled () const |
| returns whether TileDQStatus has been filled with data from TileDQ fragment More...
|
|
bool | isBiGain () const |
| returns gain mode of run More...
|
|
bool | nonZeroCounter () const |
| returns True if there are any errors in event More...
|
|
bool | isAdcDQgood (int partition, int drawer, int ch, int gain) const |
| returns status of single ADC returns False if there are any errors More...
|
|
bool | isChanDQgood (int partition, int drawer, int ch) const |
| returns status of single channel (if bigain, returns AND of ADCs' status More...
|
|
int | checkEmptyEvent (int partition, int drawer, int dmu) const |
| returns 0 if event is ok, 1 if empty LG event, 2 if empty HG event, 3 if empty event in both gains More...
|
|
int | checkGlobalErr (int partition, int drawer, int gain) const |
| returns 1 if adc channel has any global error More...
|
|
int | checkGlobalCRCErr (int partition, int drawer, int gain) const |
| returns 1 if adc channel has global CRC error More...
|
|
int | checkROD_CRCErr (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has CRC error originating in ROD More...
|
|
int | checkFE_CRCErr (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has CRC error originating in FE electronics More...
|
|
int | checkBCIDErr (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has BCID mismatch between DMU and ROD
Since BCID errors in the DQ fragment are determined by comparison of each DMU to DMU1, if DMU1 is bad and DMUX is also bad, we must compare the individual DMU's BCID to the actual (ROD) BCID. More...
|
|
int | checkBCIDErrDetail (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has BCID mismatch between DMU and ROD This method accesses the TileDigitsContainer in order to explicitly check the DMU BCID with the ROD BCID. More...
|
|
int | checkHeaderFormatErr (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has header word format error More...
|
|
int | checkHeaderParityErr (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has header word parity error More...
|
|
int | checkSampleFormatErr (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has data word format error More...
|
|
int | checkSampleParityErr (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has data word parity error More...
|
|
int | checkMemoryParityErr (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has memory parity error More...
|
|
int | checkSingleStrobeErr (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has single strobe error More...
|
|
int | checkDoubleStrobeErr (int partition, int drawer, int dmu, int gain) const |
| returns 1 if DMU has double strobe error More...
|
|
bool | incompleteDigits () const |
| A few extra items (from TileBeamInfoProvider). More...
|
|
void | setIncompleteDigits (bool incomplete) |
|
uint32_t | calibMode () const |
| Calibration mode. More...
|
|
void | setCalibMode (uint32_t calibMode) |
|
const uint32_t * | cispar () const |
| CIS parameters. More...
|
|
uint32_t * | cispar () |
|
int | trigType () const |
| Trigger type. More...
|
|
void | setTrigType (int trigType) |
|
uint32_t | RODBCID () const |
|
|
static int | isChEmpty (int partition, int drawer, int ch) |
| True if channel is not fully implemented. More...
|
|
|
void | setFilled (bool filled) |
| sets flag that DQ status instance has been filled for this event More...
|
|
void | setBiGain (bool biGain) |
| sets flag of gain mode of run More...
|
|
void | setAllGood () |
| mark all channels/ADC's as DQ good More...
|
|
void | setRODBCID (uint32_t BCID) |
| sets the ROD BCID stored and used in DQStatus
More...
|
|
void | setEmptyEvent (int partition, int drawer, int dmu, int gain, int isEmpty) |
| sets flag that DMU sent an empty event (0xFFFFFFFF) More...
|
|
void | fillArrays (const TileRawChannelCollection *coll, const TileDigitsContainer *digitsCnt, int gain, unsigned short fragBCID) |
| parses DQ fragments and fill error arrays for event More...
|
|
void | fillBCIDErrDetail (const TileDigitsContainer *digitsCnt, int frag, int gain) |
|
void | fillTrips (unsigned int partition, const std::vector< float > &trips, double *rndmVec, MsgStream &msg) |
|
Class that holds Data Quality fragment information and provides functions to extract the data quality status for channels Checks for the following types of errors stored in the Data Quality fragment:
- Global CRC
- ROD CRC
- Front End CRC
- BCID Mismatch
- Header Format
- Header Parity
- Sample Format
- Sample Parity
- Single Strobe
- Double Strobe
Also holds a few other pieces of information, such as trigger type, calibration mode, and CIS parameters.
Definition at line 48 of file TileDQstatus.h.
◆ TileDQstatus()
TileDQstatus::TileDQstatus |
( |
| ) |
|
◆ calibMode()
uint32_t TileDQstatus::calibMode |
( |
| ) |
const |
|
inline |
◆ checkBCIDErr()
int TileDQstatus::checkBCIDErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has BCID mismatch between DMU and ROD
Since BCID errors in the DQ fragment are determined by comparison of each DMU to DMU1, if DMU1 is bad and DMUX is also bad, we must compare the individual DMU's BCID to the actual (ROD) BCID.
This is due to the fact that DMU1 is checked against the ROD, while the others DMUs are checked against DMU1. This requires access to the digits in the function checkBCIDErrDetail. If this behavior is undesired set m_checkDigi to false in TileBeamInfoProvider. Setting m_checkDigi=false would cause any BCID errors simultaneous with DMU1 to be flagged as BAD (conservative approach)
Definition at line 100 of file TileDQstatus.h.
◆ checkBCIDErrDetail()
int TileDQstatus::checkBCIDErrDetail |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has BCID mismatch between DMU and ROD This method accesses the TileDigitsContainer in order to explicitly check the DMU BCID with the ROD BCID.
Definition at line 109 of file TileDQstatus.h.
◆ checkDoubleStrobeErr()
int TileDQstatus::checkDoubleStrobeErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has double strobe error
Definition at line 137 of file TileDQstatus.h.
◆ checkEmptyEvent()
int TileDQstatus::checkEmptyEvent |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu |
|
) |
| const |
|
inline |
returns 0 if event is ok, 1 if empty LG event, 2 if empty HG event, 3 if empty event in both gains
Definition at line 71 of file TileDQstatus.h.
◆ checkFE_CRCErr()
int TileDQstatus::checkFE_CRCErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has CRC error originating in FE electronics
Definition at line 88 of file TileDQstatus.h.
◆ checkGlobalCRCErr()
int TileDQstatus::checkGlobalCRCErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if adc channel has global CRC error
Definition at line 80 of file TileDQstatus.h.
◆ checkGlobalErr()
int TileDQstatus::checkGlobalErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if adc channel has any global error
Definition at line 76 of file TileDQstatus.h.
◆ checkHeaderFormatErr()
int TileDQstatus::checkHeaderFormatErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has header word format error
Definition at line 113 of file TileDQstatus.h.
◆ checkHeaderParityErr()
int TileDQstatus::checkHeaderParityErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has header word parity error
Definition at line 117 of file TileDQstatus.h.
◆ checkMemoryParityErr()
int TileDQstatus::checkMemoryParityErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has memory parity error
Definition at line 129 of file TileDQstatus.h.
◆ checkROD_CRCErr()
int TileDQstatus::checkROD_CRCErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has CRC error originating in ROD
Definition at line 84 of file TileDQstatus.h.
◆ checkSampleFormatErr()
int TileDQstatus::checkSampleFormatErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has data word format error
Definition at line 121 of file TileDQstatus.h.
◆ checkSampleParityErr()
int TileDQstatus::checkSampleParityErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has data word parity error
Definition at line 125 of file TileDQstatus.h.
◆ checkSingleStrobeErr()
int TileDQstatus::checkSingleStrobeErr |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain |
|
) |
| const |
|
inline |
returns 1 if DMU has single strobe error
Definition at line 133 of file TileDQstatus.h.
◆ cispar() [1/2]
uint32_t * TileDQstatus::cispar |
( |
| ) |
|
◆ cispar() [2/2]
const uint32_t* TileDQstatus::cispar |
( |
| ) |
const |
|
inline |
◆ fillArrays()
parses DQ fragments and fill error arrays for event
Definition at line 72 of file TileDQstatus.cxx.
82 int drawer = (frag & 0x3F);
83 bool eb = (frag > 0x2ff);
84 bool ebsp = (frag == 0x30e || frag == 0x411);
102 if (ebsp) FE_DMUmask <<= 1;
103 FE_DMUmask = (FE_DMUmask & 0xFF) | ((FE_DMUmask & 0xF00) << 2);
109 unsigned short BCIDerr = fragBCID;
116 if (DSPBCID != 0xDEAD && DSPBCID !=
m_BCID) {
135 #ifdef TILECELL_DEBUG
136 std::cout <<
"masking whole drawer " <<
drawer <<
" in partition " <<
partition <<
" because all 4 MB have BCID errors"
157 #ifdef TILECELL_DEBUG
158 std::cout << std::hex
171 <<
" counter is " << std::dec <<
m_counter << std::endl;
◆ fillBCIDErrDetail()
Definition at line 249 of file TileDQstatus.cxx.
253 int drawer = (frag & 0x3F);
256 if (digitsCnt == NULL)
263 for (; collItr != lastColl; ++collItr) {
264 if ((*collItr)->identify() != frag)
267 std::vector < uint32_t >
data;
269 data = (*collItr)->getFragChipHeaderWordsHigh();
271 data = (*collItr)->getFragChipHeaderWords();
274 short bcidCheck = 0x0;
275 uint32_t rodbcid = (*collItr)->getRODBCID();
276 for (
unsigned int dmu = 0; dmu <
dataSize; ++dmu) {
277 bcidCheck |= ((
data[dmu] & 0xFFF) != rodbcid) << dmu;
278 #ifdef TILECELL_DEBUG
279 std::cout <<
"Part: " <<
partition <<
" Drawer: " <<
drawer <<
" DMU: " << dmu << (
gain?
"HG":
"LG")
280 <<
" DMU BCID: " << (
data[dmu] & 0xFFF) <<
" ROD BCID: " << rodbcid << std::endl;
◆ fillTrips()
void TileDQstatus::fillTrips |
( |
unsigned int |
partition, |
|
|
const std::vector< float > & |
trips, |
|
|
double * |
rndmVec, |
|
|
MsgStream & |
msg |
|
) |
| |
|
protected |
Definition at line 291 of file TileDQstatus.cxx.
299 <<
"The drawer has been tripped (simulation): "
◆ incompleteDigits()
bool TileDQstatus::incompleteDigits |
( |
| ) |
const |
|
inline |
A few extra items (from TileBeamInfoProvider).
True if not all digits are available.
Definition at line 144 of file TileDQstatus.h.
◆ isAdcDQgood()
bool TileDQstatus::isAdcDQgood |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
ch, |
|
|
int |
gain |
|
) |
| const |
returns status of single ADC returns False if there are any errors
Definition at line 178 of file TileDQstatus.cxx.
182 #ifdef TILECELL_DEBUG
198 for(
int i=0;
i<9;++
i){
199 nError += errorArray[
i];
201 std::cout << std::dec <<
"Part: " <<
partition <<
" Drawer: " <<
drawer+1 <<
" DMU: " << dmu <<
" ch: " <<
ch << std::endl;
202 std::cout <<
"IsBigain " <<
m_isBiGain << std::endl;
205 std::cout <<
"GlobalCRCErr " << errorArray[0] << std::endl;
208 std::cout <<
"ROD_CRCErr " << std::dec << errorArray[1] << std::endl;
211 std::cout <<
"FE_CRCErr " << std::dec << errorArray[2] << std::endl;
212 std::cout <<
"BCIDErr " << std::dec << errorArray[3] << std::endl;
213 std::cout <<
"HeaderFormatErr " << std::dec << errorArray[4] << std::endl;
214 std::cout <<
"HeaderParityErr " << std::dec << errorArray[5] << std::endl;
215 std::cout <<
"SampleFormatErr " << std::dec << errorArray[6] << std::endl;
216 std::cout <<
"SampleParityErr " << std::dec << errorArray[7] << std::endl;
217 std::cout <<
"MemoryParityErr " << std::dec << errorArray[8] << std::endl;
218 std::cout <<
"SingleStrobeErr " << std::dec << errorArray[9] << std::endl;
219 std::cout <<
"DoubleStrobeErr " << std::dec << errorArray[10] << std::endl;
220 std::cout <<
"Total number of errors: " << std::dec << nError << std::endl;
◆ isBiGain()
bool TileDQstatus::isBiGain |
( |
| ) |
const |
|
inline |
◆ isChanDQgood()
bool TileDQstatus::isChanDQgood |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
ch |
|
) |
| const |
returns status of single channel (if bigain, returns AND of ADCs' status
Definition at line 240 of file TileDQstatus.cxx.
◆ isChEmpty()
static int TileDQstatus::isChEmpty |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
ch |
|
) |
| |
|
static |
True if channel is not fully implemented.
◆ isFilled()
bool TileDQstatus::isFilled |
( |
| ) |
const |
|
inline |
returns whether TileDQStatus has been filled with data from TileDQ fragment
Definition at line 58 of file TileDQstatus.h.
◆ nonZeroCounter()
bool TileDQstatus::nonZeroCounter |
( |
| ) |
const |
|
inline |
returns True if there are any errors in event
Definition at line 62 of file TileDQstatus.h.
◆ RODBCID()
uint32_t TileDQstatus::RODBCID |
( |
| ) |
const |
|
inline |
◆ setAllGood()
void TileDQstatus::setAllGood |
( |
| ) |
|
|
protected |
◆ setBiGain()
void TileDQstatus::setBiGain |
( |
bool |
biGain | ) |
|
|
inlineprotected |
◆ setCalibMode()
void TileDQstatus::setCalibMode |
( |
uint32_t |
calibMode | ) |
|
◆ setEmptyEvent()
void TileDQstatus::setEmptyEvent |
( |
int |
partition, |
|
|
int |
drawer, |
|
|
int |
dmu, |
|
|
int |
gain, |
|
|
int |
isEmpty |
|
) |
| |
|
inlineprotected |
sets flag that DMU sent an empty event (0xFFFFFFFF)
Definition at line 173 of file TileDQstatus.h.
◆ setFilled()
void TileDQstatus::setFilled |
( |
bool |
filled | ) |
|
|
inlineprotected |
sets flag that DQ status instance has been filled for this event
Definition at line 165 of file TileDQstatus.h.
◆ setIncompleteDigits()
void TileDQstatus::setIncompleteDigits |
( |
bool |
incomplete | ) |
|
◆ setRODBCID()
void TileDQstatus::setRODBCID |
( |
uint32_t |
BCID | ) |
|
|
inlineprotected |
sets the ROD BCID stored and used in DQStatus
Definition at line 171 of file TileDQstatus.h.
◆ setTrigType()
void TileDQstatus::setTrigType |
( |
int |
trigType | ) |
|
◆ trigType()
int TileDQstatus::trigType |
( |
| ) |
const |
|
inline |
◆ TileDQstatusTool
◆ m_BCID
uint32_t TileDQstatus::m_BCID |
|
private |
◆ m_BCIDErrArray
short TileDQstatus::m_BCIDErrArray[5][64][2] |
|
private |
Array of bit masks storing BCID errors for all DMUs (from comparison with DMU1)
Definition at line 205 of file TileDQstatus.h.
◆ m_BCIDErrArrayDetail
short TileDQstatus::m_BCIDErrArrayDetail[5][64][2] |
|
private |
Array of bit masks storing BCID errors for all DMUs (from comparison with Digits)
Definition at line 207 of file TileDQstatus.h.
◆ m_calibMode
uint32_t TileDQstatus::m_calibMode |
|
private |
◆ m_checkDigi
bool TileDQstatus::m_checkDigi |
|
private |
◆ m_cispar
uint32_t TileDQstatus::m_cispar[110] |
|
private |
◆ m_counter
int TileDQstatus::m_counter |
|
private |
Counter of non-zero elements in all error arrays.
Definition at line 195 of file TileDQstatus.h.
◆ m_DoubleStrobeErrArray
short TileDQstatus::m_DoubleStrobeErrArray[5][64][2] |
|
private |
Array of bit masks storing Double Strobe errors for all DMUs.
Definition at line 221 of file TileDQstatus.h.
◆ m_EmptyEventArray
short TileDQstatus::m_EmptyEventArray[5][64][16][2] |
|
private |
◆ m_FE_DMUmaskArray
short TileDQstatus::m_FE_DMUmaskArray[5][64][2] |
|
private |
Array of bit masks storing CRC errors for all DMUs.
Definition at line 201 of file TileDQstatus.h.
◆ m_GlobalCRCErrArray
short TileDQstatus::m_GlobalCRCErrArray[5][64][2] |
|
private |
Array of bit masks storing CRC errors for all DMUs.
Definition at line 199 of file TileDQstatus.h.
◆ m_HeaderFormatErrArray
short TileDQstatus::m_HeaderFormatErrArray[5][64][2] |
|
private |
Array of bit masks storing Header Format errors for all DMUs.
Definition at line 209 of file TileDQstatus.h.
◆ m_HeaderParityErrArray
short TileDQstatus::m_HeaderParityErrArray[5][64][2] |
|
private |
◆ m_incompleteDigits
bool TileDQstatus::m_incompleteDigits |
|
private |
◆ m_isBiGain
bool TileDQstatus::m_isBiGain |
|
private |
◆ m_isFilled
bool TileDQstatus::m_isFilled |
|
private |
Boolean storing if DQ fragment has been parsed already.
Definition at line 187 of file TileDQstatus.h.
◆ m_MemoryParityErrArray
short TileDQstatus::m_MemoryParityErrArray[5][64][2] |
|
private |
◆ m_ROD_DMUmaskArray
short TileDQstatus::m_ROD_DMUmaskArray[5][64][2] |
|
private |
Array of bit masks storing CRC errors for all DMUs.
Definition at line 203 of file TileDQstatus.h.
◆ m_SampleFormatErrArray
short TileDQstatus::m_SampleFormatErrArray[5][64][2] |
|
private |
Array of bit masks storing Sample Format errors for all DMUs.
Definition at line 213 of file TileDQstatus.h.
◆ m_SampleParityErrArray
short TileDQstatus::m_SampleParityErrArray[5][64][2] |
|
private |
◆ m_SingleStrobeErrArray
short TileDQstatus::m_SingleStrobeErrArray[5][64][2] |
|
private |
Array of bit masks storing Single Strobe errors for all DMUs.
Definition at line 219 of file TileDQstatus.h.
◆ m_trigType
int TileDQstatus::m_trigType |
|
private |
◆ s_ch2dmuEB
const int TileDQstatus::s_ch2dmuEB |
|
staticprivate |
Initial value:= { 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 2,
2, 2, 2, 2, 2, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 2, 2,
2, 2, 2, 2 }
Definition at line 236 of file TileDQstatus.h.
◆ s_ch2dmuEBspecial
const int TileDQstatus::s_ch2dmuEBspecial |
|
staticprivate |
Initial value:= { 2, 2, 2, 1,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 2, 2, 2, 2, 2, 2, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0,
2, 2, 2, 2, 2, 2 }
Definition at line 237 of file TileDQstatus.h.
◆ s_ch2dmuLB
const int TileDQstatus::s_ch2dmuLB |
|
staticprivate |
Initial value:= { 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
0, 0, 0, 0 }
Definition at line 235 of file TileDQstatus.h.
The documentation for this class was generated from the following files:
bool m_isFilled
Boolean storing if DQ fragment has been parsed already.
short m_GlobalCRCErrArray[5][64][2]
Array of bit masks storing CRC errors for all DMUs.
char data[hepevt_bytes_allocation_ATLAS]
short m_BCIDErrArrayDetail[5][64][2]
Array of bit masks storing BCID errors for all DMUs (from comparison with Digits)
int checkBCIDErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has BCID mismatch between DMU and ROD Since BCID errors in the DQ fragment are det...
uint32_t getFragSampleBit() const
int checkBCIDErrDetail(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has BCID mismatch between DMU and ROD This method accesses the TileDigitsContainer i...
uint32_t getFragHeaderPar() const
uint32_t calibMode() const
Calibration mode.
bool isBiGain() const
returns gain mode of run
uint32_t getFragDstrobe() const
short m_SampleParityErrArray[5][64][2]
Array of bit masks storing Sample Parity errors for all DMUs.
int m_trigType
Trigger type.
short m_FE_DMUmaskArray[5][64][2]
Array of bit masks storing CRC errors for all DMUs.
short m_HeaderFormatErrArray[5][64][2]
Array of bit masks storing Header Format errors for all DMUs.
short m_MemoryParityErrArray[5][64][2]
Array of bit masks storing Memory Parity errors for all DMUs.
uint32_t getFragBCID() const
@ u
Enums for curvilinear frames.
uint32_t m_calibMode
Calibration mode.
int checkGlobalCRCErr(int partition, int drawer, int gain) const
returns 1 if adc channel has global CRC error
short m_HeaderParityErrArray[5][64][2]
Array of bit masks storing Header Parity errors for all DMUs.
int checkROD_CRCErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has CRC error originating in ROD
static const unsigned int MAX_DRAWER
Number of drawers in ROS 1-4.
int trigType() const
Trigger type.
uint32_t getFragMemoryPar() const
bool m_isBiGain
Boolean storing gain mode of run.
void fillBCIDErrDetail(const TileDigitsContainer *digitsCnt, int frag, int gain)
short m_EmptyEventArray[5][64][16][2]
Array storing whether event is empty.
bool m_incompleteDigits
True if not all digits are available.
bool m_checkDigi
Boolean flag to control TileDigitsContainer access
uint32_t m_BCID
Event bunch crossing identification.
int checkHeaderFormatErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has header word format error
const_iterator end() const
return const_iterator for end of container
const_iterator begin() const
return const_iterator for first entry
int m_counter
Counter of non-zero elements in all error arrays.
bool isAdcDQgood(int partition, int drawer, int ch, int gain) const
returns status of single ADC returns False if there are any errors
uint32_t m_cispar[110]
CIS parameters.
short m_BCIDErrArray[5][64][2]
Array of bit masks storing BCID errors for all DMUs (from comparison with DMU1)
uint32_t getFragSstrobe() const
int checkSampleParityErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has data word parity error
size_t dataSize(TDA::PayloadIterator start)
Size in bytes of the buffer that is needed to decode next fragment data content.
int checkHeaderParityErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has header word parity error
uint32_t getFragRODChipMask() const
int checkSampleFormatErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has data word format error
uint32_t getFragHeaderBit() const
static std::string getDrawerString(unsigned int ros, unsigned int drawer)
Return the drawer name, e.g.
void setAllGood()
mark all channels/ADC's as DQ good
short m_DoubleStrobeErrArray[5][64][2]
Array of bit masks storing Double Strobe errors for all DMUs.
uint32_t getFragSamplePar() const
uint32_t getFragFEChipMask() const
int checkSingleStrobeErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has single strobe error
short m_ROD_DMUmaskArray[5][64][2]
Array of bit masks storing CRC errors for all DMUs.
uint32_t getFragGlobalCRC() const
Various get methods.
int checkDoubleStrobeErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has double strobe error
int checkMemoryParityErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has memory parity error
int checkFE_CRCErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has CRC error originating in FE electronics
uint32_t getFragDSPBCID() const
size_type size() const noexcept
Returns the number of elements in the collection.
short m_SingleStrobeErrArray[5][64][2]
Array of bit masks storing Single Strobe errors for all DMUs.
short m_SampleFormatErrArray[5][64][2]
Array of bit masks storing Sample Format errors for all DMUs.