20 #include <dqm/analysis/modules/DQMHistAnalysis.h>
21 #include <vxd/dataobjects/VxdID.h>
23 #include <TEfficiency.h>
50 void event(
void)
override final;
125 std::vector <chid> mychid_status;
127 std::map <VxdID, chid> mychid_eff;
129 std::map <VxdID, chid> mychid_low;
131 std::map <VxdID, chid> mychid_lolo;
The base class for the histogram analysis module.
DQM Histogram Analysis for PXD Efficiency.
TCanvas * m_cOuterMap
Full Eff Map Outer Layer.
TCanvas * m_cInnerMap
Full Eff Map Inner Layer.
void terminate(void) override final
This method is called at the end of the event processing.
int m_minEntries
Update entry intervall.
std::map< VxdID, double > m_warnlevelmod
warn level for alarm per module
~DQMHistAnalysisPXDEffModule()
Destructor.
bool m_perModuleAlarm
use alarm level per module
TCanvas * m_cEffAll
Final Canvas.
TEfficiency * m_hEffAll
One bin for each module in the geometry.
std::map< VxdID, TCanvas * > m_cEffModules
Individual efficiency for each module, canvas.
void initialize(void) override final
Module functions to be called from main process.
TEfficiency * m_hEffAllUpdate
Efficiency, last state, updated.
int m_u_bins
u binning for 2d plots
std::map< VxdID, double > m_errorlevelmod
error level for alarm per module
TH1 * m_hEffAllLastTotal
TH1, last state, total.
TH1 * m_hEffAllLastPassed
TH1, last state, passed.
TH2F * m_hOuterMap
Full Eff Map Outer Layer.
std::string m_pvPrefix
prefix for EPICS PVs
MonitoringObject * m_monObj
Monitoring Object.
std::vector< VxdID > m_PXDModules
IDs of all PXD Modules to iterate over.
DQMHistAnalysisPXDEffModule()
Constructor.
std::string m_histogramDirectoryName
name of histogram directory
TCanvas * m_cEffAllUpdate
Final Canvas for Update.
TH2F * m_hInnerMap
Full Eff Map Inner Layer.
double m_confidence
confidence level for error bars
int m_v_bins
v binning for 2d plots
TH1F * m_hWarnLine
TLine object for warning limit.
double m_errorlevel
error level for alarm
bool m_useEpicsRO
flag if to import from EPICS only
std::map< VxdID, TEfficiency * > m_hEffModules
Individual efficiency for each module, 2d histogram.
bool m_useEpics
flag if to export to EPICS
TH1F * m_hErrorLine
TLine object for error error.
bool m_alarmAdhoc
generate alarm from adhoc values
double m_warnlevel
warn level for alarm
void beginRun(void) override final
Module functions to be called from event process.
void event(void) override final
This method is the core of the module.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.