15 #include <dqm/analysis/modules/DQMHistAnalysis.h>
16 #include <vxd/dataobjects/VxdID.h>
20 #include <TPaveText.h>
59 virtual void event()
override;
64 virtual void endRun()
override;
119 Int_t
findBinY(Int_t layer, Int_t sensor);
The base class for the histogram analysis module.
Class definition for the output module of Sequential ROOT I/O.
DQMHistAnalysisSVDGeneralModule()
Constructor.
TCanvas * m_cOnlineOccupancyU
online occupancy U histo canvas
std::string m_refFileName
Parameters accesible from basf2 scripts.
TCanvas * m_cOccupancyV
occupancy V histo canvas
const int nSensors
total number of sensors
TPaveText * m_legOnProblem
onlineOccupancy plot legend, problem
TPaveText * m_legError
OfflineOccupancy plot legend, error.
TPaveText * m_legEmpty
OfflineOccupancy plot legend, empty.
Int_t findBinY(Int_t layer, Int_t sensor)
find Y bin corresponding to sensor, occupancy plot
TCanvas * m_cOccupancyU
occupancy U histo canvas
TH1 * rtype
histogram from DQMInfo with runtype
virtual void initialize() override
Initializer.
int m_statThreshold
minimal number of events to compare histograms
Int_t m_occUstatus
0 = normal, 1 = empty, 2 = warning, 3 = error
virtual void event() override
This method is called for each event.
TCanvas ** m_cStripOccupancyV
u-side strip chart occupancy canvas
std::vector< VxdID > m_SVDModules
IDs of all SVD Modules to iterate over.
float m_refMeanC
mean of the signal time peak from Cosmic reference run
virtual void endRun() override
This method is called if the current run ends.
Int_t m_onlineOccUstatus
0 = normal, 1 = empty, 2 = warning, 3 = error
Int_t m_onlineOccVstatus
0 = normal, 1 = empty, 2 = warning, 3 = error
virtual void terminate() override
This method is called at the end of the event processing.
TPaveText * m_legOnEmpty
onlineOccupancy plot legend, empty
TH2F * m_hOnlineOccupancyV
online Occupancy V histo
TString runtype
string with runtype: physics or cosmic
float m_occWarning
warning level of the occupancy
float m_timeThreshold
difference between mean of cluster time for present and reference run
TPaveText * m_legWarning
OfflineOccupancy plot legend, warning.
TCanvas * m_cOccupancyChartChip
occupancy chart histo canvas
TH2F * m_hOnlineOccupancyU
online occupancy U histo
TPaveText * m_legOnError
onlineOccupancy plot legend, error
bool m_printCanvas
if true print the pdf of the canvases
TH1F m_hOccupancyChartChip
occupancy chart histo
float m_occError
error level of the occupancy
TCanvas ** m_cStripOccupancyU
u-side strip chart occupancy canvas
TH1F m_hStripOccupancyV[172]
u-side strip chart occupancy histos
virtual void beginRun() override
Called when entering a new run.
float m_onlineOccWarning
warning level of the onlineOccupancy
TPaveText * m_legOnNormal
onlineOccupancy plot legend, normal
TCanvas * m_cUnpacker
unpacker plot canvas
TH1F m_hClusterOnTrackTime_L456V
time for clusters on Track for L456V histo
virtual ~DQMHistAnalysisSVDGeneralModule()
Destructor.
TCanvas * m_cClusterOnTrackTime_L456V
time for clusters on Track for L456V canvas
TH2F * m_hOccupancyU
occupancy U histo
Double_t m_unpackError
Maximum bin_content/ # events allowed before throwing ERROR.
Int_t m_occVstatus
0 = normal, 1 = empty, 2 = warning, 3 = error
TPaveText * m_legNormal
OfflineOccupancy plot legend, normal.
TPaveText * m_legOnWarning
onlineOccupancy plot legend, warning
TCanvas * m_cOnlineOccupancyV
online Occupancy V histo canvas
float m_occEmpty
empty level of the occupancy
TPaveText * m_legProblem
OfflineOccupancy plot legend, problem.
float m_onlineOccError
error level of the onlineOccupancy
float m_refMeanP
mean of the signal time peak from Physics reference run
TH2F * m_hOccupancyV
occupancy V histo
TText * m_yTitle
y axis title text
TH1F m_hStripOccupancyU[172]
u-side strip chart occupancy histos
float m_onlineOccEmpty
empty level of the occupancy
TFile * m_refFile
The pointer to the reference file.
Abstract base class for different kinds of events.