Belle II Software  release-08-01-10
DQMHistAnalysisIP.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 : DQMHistAnalysisIP.h
10 // Description : Median for IP position with delta histogramming
11 //-
12 
13 #pragma once
14 
15 #include <dqm/core/DQMHistAnalysis.h>
16 #include <TLine.h>
17 
18 namespace Belle2 {
26 
27  // Public functions
28  public:
29 
34 
35  private:
36 
40  void initialize() override final;
41 
45  void beginRun() override final;
46 
50  void event() override final;
51 
52  // Data members
53  private:
55  std::string m_histoName;
57  std::string m_histoDirectory;
59  std::string m_pvPrefix;
61  std::string m_monPrefix;
63  int m_minEntries = 1000;
64 
66  TCanvas* m_c1 = nullptr;
68  TLine* m_line = nullptr;
70  TLine* m_line2 = nullptr;
71 
74  };
76 } // end namespace Belle2
77 
Class definition for the output module of Sequential ROOT I/O.
int m_minEntries
Update entry interval.
void initialize() override final
Initializer.
std::string m_histoName
The name of the histogram.
std::string m_pvPrefix
The prefix of PV.
MonitoringObject * m_monObj
Monitoring Object.
std::string m_monPrefix
The prefix for MonitoringObj.
void event() override final
This method is called for each event.
TCanvas * m_c1
The drawing canvas.
void beginRun() override final
Called when entering a new run.
TLine * m_line
The line for the mean result.
std::string m_histoDirectory
The name of the histogram dir.
TLine * m_line2
The line for the median result.
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.