Locking object (wrapper) that holds a separate EventProcessor. This object can be used (theoretically) in separate thread. More...
#include <CSCDQM_Dispatcher.h>
Public Member Functions | |
EventProcessorMutex (Configuration *const p_config) | |
Constructor. More... | |
unsigned int | maskHWElements (std::vector< std::string > &tokens) |
Mask HW elements from the efficiency calculations. Can be applied on runtime! More... | |
void | processStandby (HWStandbyType &standby) |
Process standby information. More... | |
void | updateFractionAndEfficiencyHistos () |
Update Fraction and Efficiency histograms. More... | |
Public Member Functions inherited from cscdqm::Lock | |
Lock () | |
Constructor. More... | |
virtual | ~Lock () |
Destructor. More... | |
Private Attributes | |
Configuration * | config |
bool | fullStandbyProcessed |
HWStandbyType | lastStandby |
EventProcessor | processor |
Additional Inherited Members | |
Public Attributes inherited from cscdqm::Lock | |
bool | mutex |
Locking object (wrapper) that holds a separate EventProcessor. This object can be used (theoretically) in separate thread.
Definition at line 44 of file CSCDQM_Dispatcher.h.
|
inline |
Constructor.
p_config | Pointer to Global Configuration |
Definition at line 66 of file CSCDQM_Dispatcher.h.
References config, and fullStandbyProcessed.
|
inline |
Mask HW elements from the efficiency calculations. Can be applied on runtime!
tokens | String tokens of the HW elements |
Definition at line 92 of file CSCDQM_Dispatcher.h.
References cscdqm::EventProcessor::maskHWElements(), and processor.
Referenced by cscdqm::Dispatcher::maskHWElements().
|
inline |
Process standby information.
standby | Standby information |
Definition at line 101 of file CSCDQM_Dispatcher.h.
References config, fullStandbyProcessed, lastStandby, processor, cscdqm::EventProcessor::standbyEfficiencyHistos(), and cscdqm::EventProcessor::writeShifterHistograms().
Referenced by cscdqm::Dispatcher::processStandby().
|
inline |
Update Fraction and Efficiency histograms.
Definition at line 75 of file CSCDQM_Dispatcher.h.
References config, CommonMethods::lock(), cscdqm::Lock::mutex, processor, cscdqm::EventProcessor::updateEfficiencyHistos(), cscdqm::Configuration::updateEffTimer(), cscdqm::EventProcessor::updateFractionHistos(), and cscdqm::Configuration::updateFraTimer().
Referenced by cscdqm::Dispatcher::updateFractionAndEfficiencyHistos().
|
private |
Global Configuration
Definition at line 52 of file CSCDQM_Dispatcher.h.
Referenced by EventProcessorMutex(), processStandby(), and updateFractionAndEfficiencyHistos().
|
private |
If full standby was already processed?
Definition at line 55 of file CSCDQM_Dispatcher.h.
Referenced by EventProcessorMutex(), and processStandby().
|
private |
Last standby value. To be checked for HV changes
Definition at line 58 of file CSCDQM_Dispatcher.h.
Referenced by processStandby().
|
private |
Local (wrapped) event processor
Definition at line 49 of file CSCDQM_Dispatcher.h.
Referenced by maskHWElements(), processStandby(), and updateFractionAndEfficiencyHistos().