Go to the documentation of this file.
20 #ifndef CSCDQM_EventProcessor_H
21 #define CSCDQM_EventProcessor_H
145 const unsigned int& dmbId,
146 unsigned int& cscType,
147 unsigned int& cscPosition)
const;
182 void processEvent(
const char*
data,
const int32_t dataSize,
const uint32_t errorStat,
const int32_t nodeNumber);
193 bool bCSCEventCounted;
const bool getEMUHisto(const HistoId &histo, MonitorObject *&me)
Get EMU (Top Level) Monitoring Object.
std::map< CSCIdType, ExaminerStatusType > CSCExaminerMapType
void resetEmuEventDisplays()
Reset Emu level EventDisplay histograms once per event.
bool fCloseL1As
Data Format version (2005, 2013)
void standbyEfficiencyHistos(HWStandbyType &standby)
apply standby flags/parameters
Hardware and Physics Efficiency data structures and routines.
void processCSC(const CSCEventData &data, const int dduID, const CSCDCCExaminer &binChecker)
Process Chamber Data and fill MOs.
void writeShifterHistograms()
bool operator==(const HWStandbyType &t) const
uint32_t cntALCTs
Total Number of CFEBs per event from DMB DAV.
void preProcessEvent()
Common Local and Global DQM function to be called before processing Event.
void processDDU(const CSCDDUEventData &data, const CSCDCCExaminer &binChecker)
Process DDU output and fill MOs.
const bool getCSCFromMap(const unsigned int &crateId, const unsigned int &dmbId, unsigned int &cscType, unsigned int &cscPosition) const
Get CSC type and position from crate and dmb identifiers.
bool processExaminer(const CSCDCCExaminer &binChecker)
const bool getDDUHisto(const HistoId &histo, const HwId &dduID, MonitorObject *&me)
Get DDU Level Monitoring Object.
void updateEfficiencyHistos()
Update Efficiency MOs.
const HWStandbyType & operator=(const HWStandbyType &t)
void init()
Initialize EventProcessor: reading out config information.
bool operator!=(const HWStandbyType &t) const
dispatcher processEvent(e, inputTag, standby)
~EventProcessor()
Destructor.
void setEmuEventDisplayBit(MonitorObject *&mo, const unsigned int x, const unsigned int y, const unsigned int bit)
Set a single bit in the 3D Histogram (aka EMU level event display). Checks if mo and x !...
void calcEMUFractionHisto(const HistoId &result, const HistoId &set, const HistoId &subset)
Calculate fractional histogram.
const bool getCSCHisto(const HistoId &histo, const HwId &crateID, const HwId &dmbSlot, MonitorObject *&me)
Get CSC (Chamber) Level Monitoring Object.
uint16_t theFormatVersion
Total Number of TMBs per event from DMB DAV.
void applyMeM(bool ready)
EventProcessor(Configuration *const p_config)
Constructor.
void updateFractionHistos()
Update Fractional MOs.
edm::EDGetTokenT< FEDRawDataCollection > frdtoken
bool EmuEventDisplayWasReset
uint32_t cntTMBs
Total Number of ALCTs per event from DMB DAV.
const bool getFEDHisto(const HistoId &histo, const HwId &fedID, MonitorObject *&me)
Get FED Level Monitoring Object.
CSCDQM Framework Global Configuration.
const bool getParHisto(const HistoId &histo, MonitorObject *&me)
Get Parameter Monitoring Object.
void applyMeP(bool ready)
unsigned int maskHWElements(std::vector< std::string > &tokens)
Mask HW elements from the efficiency calculations. Can be applied on runtime!
Monitoring Object interface used to cover Root object and provide common interface to EventProcessor ...
char data[epos_bytes_allocation]
uint32_t cntCFEBs
Total Number of DMBs per event from DDU Header DAV.
Object used to process Events and compute statistics.
std::vector< DDUIdType > DDUExaminerVectorType
std::map< uint32_t, bool > fNotFirstEvent
std::map< uint32_t, uint32_t > L1ANumbers