Go to the documentation of this file.
20 #ifndef CSCDQM_Dispatcher_H
21 #define CSCDQM_Dispatcher_H
26 #include <boost/thread.hpp>
74 config->updateFraTimer(
true);
76 config->updateFraTimer(
false);
77 if (
config->getPROCESS_EFF_HISTOS()) {
78 config->updateEffTimer(
true);
80 config->updateEffTimer(
false);
98 if (
config->getIN_FULL_STANDBY()) {
176 void processEvent(
const char*
data,
const int32_t dataSize,
const uint32_t errorStat,
const int32_t nodeNumber);
Abstract Base Histogram Definition.
void standbyEfficiencyHistos(HWStandbyType &standby)
apply standby flags/parameters
Dispatcher(Configuration *const p_config, MonitorObjectProvider *const p_provider)
Constructor.
void writeShifterHistograms()
Manage collection of histograms, load histogram definitions from XML file and book histograms by call...
void updateFractionAndEfficiencyHistos()
On demand update fraction and efficiency MOs.
EventProcessorMutex(Configuration *const p_config)
Constructor.
HWStandbyType lastStandby
~Dispatcher()
Destructor. Joins and waits to complete all threads.
EventProcessorMutex processorFract
void updateEfficiencyHistos()
Update Efficiency MOs.
Lockable interface that blocks thread.
void updateFractionAndEfficiencyHistosAuto()
Automatically called fraction and efficiency MOs update function.
dispatcher processEvent(e, inputTag, standby)
void processStandby(HWStandbyType &standby)
Process standby information.
Locking object (wrapper) that holds a separate EventProcessor. This object can be used (theoretically...
MonitorObject cache - list objects and routines to manage cache.
unsigned int maskHWElements(std::vector< std::string > &tokens)
Mask HW elements from the efficiency calculations. Can be applied on runtime!
void commonConstruct(Configuration *const p_config, MonitorObjectProvider *const p_provider)
void updateFractionHistos()
Update Fractional MOs.
unsigned int maskHWElements(std::vector< std::string > &tokens)
Mask HW elements from the efficiency calculations. Can be applied on runtime!
void processStandby(HWStandbyType &standby)
Set HW Standby modes.
CSCDQM Framework Global Configuration.
MonitorObjectProvider * provider
bool fullStandbyProcessed
void init()
Initialize Dispatcher: book histograms, init processor, etc.
const bool getHisto(const HistoDef &histoD, MonitorObject *&me)
Global get MO function. If request has reached this function it means that histo is not in cache!
CSCDQM Framework frontend and Histogram Cache controller.
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]
Object used to process Events and compute statistics.
void updateFractionAndEfficiencyHistos()
Update Fraction and Efficiency histograms.
Interface for Histogram providing objects. Used by Event Processor to retrieve MonitorObject 's and b...