|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #ifndef TILEEVENT_TILEDQSTATUS_H
17 #define TILEEVENT_TILEDQSTATUS_H
182 void fillTrips(
unsigned int partition,
const std::vector<float>& trips,
double* rndmVec,
264 #endif // not TILEEVENT_TILEDQSTATUS_H
bool m_isFilled
Boolean storing if DQ fragment has been parsed already.
void setTrigType(int trigType)
short m_GlobalCRCErrArray[5][64][2]
Array of bit masks storing CRC errors for all DMUs.
void fillArrays(const TileRawChannelCollection *coll, const TileDigitsContainer *digitsCnt, int gain, unsigned short fragBCID)
parses DQ fragments and fill error arrays for event
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...
bool isChanDQgood(int partition, int drawer, int ch) const
returns status of single channel (if bigain, returns AND of ADCs' status
void setBiGain(bool biGain)
sets flag of gain mode of run
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 calibMode() const
Calibration mode.
void setFilled(bool filled)
sets flag that DQ status instance has been filled for this event
bool isFilled() const
returns whether TileDQStatus has been filled with data from TileDQ fragment
bool isBiGain() const
returns gain mode of run
TileDQstatus()
Default constructor.
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.
static const int s_ch2dmuEB[48]
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.
static int isChEmpty(int partition, int drawer, int ch)
True if channel is not fully implemented.
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.
void setRODBCID(uint32_t BCID)
sets the ROD BCID stored and used in DQStatus
__attribute__((always_inline)) inline int TileDQstatus
int checkROD_CRCErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has CRC error originating in ROD
int trigType() const
Trigger type.
bool m_isBiGain
Boolean storing gain mode of run.
bool incompleteDigits() const
A few extra items (from TileBeamInfoProvider).
Class that holds Data Quality fragment information and provides functions to extract the data quality...
void fillBCIDErrDetail(const TileDigitsContainer *digitsCnt, int frag, int gain)
static const int s_ch2dmuLB[48]
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
bool nonZeroCounter() const
returns True if there are any errors in event
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
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)
int checkGlobalErr(int partition, int drawer, int gain) const
returns 1 if adc channel has any global error
void setEmptyEvent(int partition, int drawer, int dmu, int gain, int isEmpty)
sets flag that DMU sent an empty event (0xFFFFFFFF)
int checkSampleParityErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has data word parity error
int checkHeaderParityErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has header word parity error
int checkSampleFormatErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has data word format error
const uint32_t * cispar() const
CIS parameters.
void setAllGood()
mark all channels/ADC's as DQ good
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
short m_DoubleStrobeErrArray[5][64][2]
Array of bit masks storing Double Strobe errors for all DMUs.
void fillTrips(unsigned int partition, const std::vector< float > &trips, double *rndmVec, MsgStream &msg)
static const int s_ch2dmuEBspecial[48]
void setIncompleteDigits(bool incomplete)
int checkSingleStrobeErr(int partition, int drawer, int dmu, int gain) const
returns 1 if DMU has single strobe error
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
short m_ROD_DMUmaskArray[5][64][2]
Array of bit masks storing CRC errors for all DMUs.
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
short m_SingleStrobeErrArray[5][64][2]
Array of bit masks storing Single Strobe errors for all DMUs.
macros to associate a CLID to a type
short m_SampleFormatErrArray[5][64][2]
Array of bit masks storing Sample Format errors for all DMUs.
void setCalibMode(uint32_t calibMode)