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
42
46 void initialize(void) override final;
47
51 void beginRun(void) override final;
52
56 void event(void) override final;
57
61 void terminate(void) override final;
62
63 private:
64
65 // Data members
69 double m_meanLowerWarn{NAN};
71 double m_meanLowerAlarm{NAN};
73 double m_meanUpperWarn{NAN};
75 double m_meanUpperAlarm{NAN};
77 int m_minEntries = 1000;
79 std::vector<int> m_excluded;
80
82 std::vector<VxdID> m_PXDModules;
83
85 TH1F* m_hReduction = nullptr;
87 TCanvas* m_cReduction = nullptr;
88
90 TLine* m_meanLine = nullptr;
92 TLine* m_meanLowerWarnLine = nullptr;
94 TLine* m_meanUpperWarnLine = nullptr;
96 TLine* m_meanLowerAlarmLine = nullptr;
98 TLine* m_meanUpperAlarmLine = nullptr;
99
102 };
103
104} // end namespace Belle2
105
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.