Belle II Software prerelease-11-00-00a
DQMHistAnalysisDeltaEpicsMonObjExample.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 : DQMHistAnalysisDeltaEpicsMonObjExample.h
10// Description : DQM Analysis Delta+Epics+MonObj example
11//-
12
13#pragma once
14
15#include <dqm/core/DQMHistAnalysis.h>
16
17#include <TLine.h>
18
19namespace Belle2 {
25
27
28 // Public functions
29 public:
30
35
36 private:
37
41 void initialize(void) override final;
42
46 void beginRun(void) override final;
47
51 void endRun(void) override final;
52
56 void event(void) override final;
57
61 void terminate(void) override final;
62
66 void doHistAnalysis(bool forMiraBelle = false);
67
68 private:
69
70 // Data members
74 std::string m_histogramName;
76 std::string m_pvPrefix;
77
79 TCanvas* m_canvas = nullptr;
80
83
85 double m_meanLowerAlarm{NAN};
87 double m_meanLowerWarn{NAN};
89 double m_meanUpperWarn{NAN};
91 double m_meanUpperAlarm{NAN};
93 double m_widthUpperWarn{NAN};
95 double m_widthUpperAlarm{NAN};
96
98 TLine* m_meanLowerAlarmLine{nullptr};
100 TLine* m_meanLowerWarnLine{nullptr};
102 TLine* m_meanUpperWarnLine{nullptr};
104 TLine* m_meanUpperAlarmLine{nullptr};
105
106 };
107
108} // end namespace Belle2
109
void terminate(void) override final
This method is called at the end of the event processing.
void beginRun(void) override final
Called when entering a new run.
void event(void) override final
This method is called for each event.
void doHistAnalysis(bool forMiraBelle=false)
Do the actual processing.
DQMHistAnalysisModule()
Constructor / Destructor.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.