Belle II Software development
DQMHistAnalysisPXDReduction.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8//+
9// File : DQMHistAnalysisPXDReduction.h
10// Description : DAQM Analysis for PXD Data Reduction
11//-
12
13#pragma once
14
15#include <dqm/core/DQMHistAnalysis.h>
16
17#include <vxd/dataobjects/VxdID.h>
18#include <TLine.h>
19
20
21namespace Belle2 {
27
29
30 // Public functions
31 public:
32
37
41 void initialize(void) override final;
42
46 void beginRun(void) override final;
47
51 void event(void) override final;
52
56 void terminate(void) override final;
57
58 private:
59
60 // Data members
64 double m_meanLowerWarn{NAN};
66 double m_meanLowerAlarm{NAN};
68 double m_meanUpperWarn{NAN};
70 double m_meanUpperAlarm{NAN};
72 int m_minEntries = 1000;
74 std::vector<int> m_excluded;
75
77 std::vector<VxdID> m_PXDModules;
78
80 TH1F* m_hReduction = nullptr;
82 TCanvas* m_cReduction = nullptr;
83
85 TLine* m_meanLine = nullptr;
87 TLine* m_meanLowerWarnLine = nullptr;
89 TLine* m_meanUpperWarnLine = nullptr;
91 TLine* m_meanLowerAlarmLine = nullptr;
93 TLine* m_meanUpperAlarmLine = nullptr;
94
97 };
98
99} // end namespace Belle2
100
DQMHistAnalysisModule()
Constructor / Destructor.
void terminate(void) override final
This method is called at the end of the event processing.
TH1F * m_hReduction
Histogram covering all modules.
TLine * m_meanUpperAlarmLine
Line in the Canvas to indicate limits.
TLine * m_meanLowerAlarmLine
Line in the Canvas to indicate limits.
void initialize(void) override final
Initializer.
MonitoringObject * m_monObj
Monitoring Object.
std::vector< VxdID > m_PXDModules
IDs of all PXD Modules to iterate over.
std::string m_histogramDirectoryName
name of histogram directory
TLine * m_meanLowerWarnLine
Line in the Canvas to indicate limits.
TLine * m_meanLine
Line in the Canvas to guide the eye.
TLine * m_meanUpperWarnLine
Line in the Canvas to indicate limits.
std::vector< int > m_excluded
Indizes of excluded PXD Modules.
void beginRun(void) override final
Called when entering a new run.
void event(void) override final
This method is called for each event.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.