Belle II Software development
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 {
27
29
30 // Public functions
31 public:
32
37
38 private:
39
43 void initialize(void) override final;
44
48 void beginRun(void) override final;
49
53 void endRun(void) override final;
54
58 void event(void) override final;
59
63 void terminate(void) override final;
64
68 void doHistAnalysis(bool forMiraBelle = false);
69
70 private:
71
72 // Data members
76 std::string m_histogramName;
78 std::string m_pvPrefix;
79
81 TCanvas* m_canvas = nullptr;
82
85
87 double m_meanLowerAlarm{NAN};
89 double m_meanLowerWarn{NAN};
91 double m_meanUpperWarn{NAN};
93 double m_meanUpperAlarm{NAN};
95 double m_widthUpperWarn{NAN};
97 double m_widthUpperAlarm{NAN};
98
100 TLine* m_meanLowerAlarmLine{nullptr};
102 TLine* m_meanLowerWarnLine{nullptr};
104 TLine* m_meanUpperWarnLine{nullptr};
106 TLine* m_meanUpperAlarmLine{nullptr};
107
108 };
109
110} // end namespace Belle2
111
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.