Belle II Software  release-08-01-10
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 #ifdef _BELLE2_EPICS
16 // EPICS
17 #include "cadef.h"
18 #endif
19 
20 #include <dqm/core/DQMHistAnalysis.h>
21 
22 #include <TCanvas.h>
23 
24 namespace Belle2 {
32 
33  // Public functions
34  public:
35 
40 
45 
49  void initialize(void) override final;
50 
54  void beginRun(void) override final;
55 
59  void endRun(void) override final;
60 
64  void event(void) override final;
65 
69  void terminate(void) override final;
70 
71  private:
72 
73  // Data members
77  std::string m_histogramName;
79  std::string m_pvPrefix;
80 
82  TCanvas* m_cTest = nullptr;
83 
86 
87 #ifdef _BELLE2_EPICS
89  std::vector <chid> mychid;
90 #endif
91  };
93 } // end namespace Belle2
94 
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.