Belle II Software development
DQMHistAnalysisDeltaTest.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 : DQMHistAnalysisDeltaTest.h
10// Description : DQM Analysis Delta Test code and example
11//-
12
13#pragma once
14
15#include <dqm/core/DQMHistAnalysis.h>
16
17#include <TCanvas.h>
18
19namespace Belle2 {
27
28 // Public functions
29 public:
30
35
40
44 void initialize(void) override final;
45
49 void beginRun(void) override final;
50
54 void endRun(void) override final;
55
59 void event(void) override final;
60
64 void terminate(void) override final;
65
66 private:
67
68 // Data members
72 std::string m_histogramName;
74 std::string m_pvPrefix;
75
77 TCanvas* m_cTest = nullptr;
78
81
82 };
84} // end namespace Belle2
85
DQM Delta Histogram Test code and example.
void terminate(void) override final
This method is called at the end of the event processing.
void initialize(void) override final
Initializer.
std::string m_histogramName
name of histogram
void endRun(void) override final
Called when run ends.
std::string m_pvPrefix
prefix for EPICS PVs
MonitoringObject * m_monObj
Monitoring Object.
std::string m_histogramDirectoryName
name of histogram directory
void beginRun(void) override final
Called when entering a new run.
void event(void) override final
This method is called for each event.
The base class for the histogram analysis module.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.