Belle II Software  release-06-02-00
DQMHistAnalysisRunNr.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 : DQMHistAnalysisRunNr.h
10 // Description : DQM Analysis for RunNr Check
11 //-
12 
13 #pragma once
14 
15 #ifdef _BELLE2_EPICS
16 // EPICS
17 #include "cadef.h"
18 #endif
19 
20 #include <dqm/analysis/modules/DQMHistAnalysis.h>
21 #include <TCanvas.h>
22 
23 namespace Belle2 {
31 
32  // Public functions
33  public:
34 
39 
44 
48  void initialize(void) override final;
49 
53  void beginRun(void) override final;
54 
58  void event(void) override final;
59 
63  void terminate(void) override final;
64 
65  private:
66 
67  // Data members
71  std::string m_pvPrefix;
72 
74  TCanvas* m_cRunNr = nullptr;
75 
78 
80  bool m_useEpics;
81 
82 #ifdef _BELLE2_EPICS
84  std::vector <chid> mychid;
85 #endif
86  };
88 } // end namespace Belle2
89 
The base class for the histogram analysis module.
DQM Histogram Analysis for PXD Common Modes.
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_pvPrefix
prefix for EPICS PVs
MonitoringObject * m_monObj
Monitoring Object.
std::string m_histogramDirectoryName
name of histogram directory
bool m_useEpics
flag if to export to EPICS
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.