Belle II Software  release-08-01-10
DQMHistAnalysisPXDReduction.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 : DQMHistAnalysisPXDReduction.h
10 // Description : DAQM Analysis for PXD Data Reduction
11 //-
12 
13 #pragma once
14 
15 #include <dqm/core/DQMHistAnalysis.h>
16 
17 #include <vxd/dataobjects/VxdID.h>
18 #include <TLine.h>
19 
20 
21 namespace Belle2 {
29 
30  // Public functions
31  public:
32 
37 
42 
46  void initialize(void) override final;
47 
51  void beginRun(void) override final;
52 
56  void event(void) override final;
57 
61  void terminate(void) override final;
62 
63  private:
64 
65  // Data members
69  double m_lowarnlimit{NAN};
71  double m_loerrorlimit{NAN};
73  double m_hiwarnlimit{NAN};
75  double m_hierrorlimit{NAN};
77  int m_minEntries = 1000;
79  std::vector<int> m_excluded;
80 
82  std::vector<VxdID> m_PXDModules;
83 
85  TH1F* m_hReduction = nullptr;
87  TCanvas* m_cReduction = nullptr;
88 
90  TLine* m_line1 = nullptr;
91 
94  };
96 } // end namespace Belle2
97 
The base class for the histogram analysis module.
DQM Histogram Analysis for PXD Reduction.
void terminate(void) override final
This method is called at the end of the event processing.
TH1F * m_hReduction
Histogram covering all modules.
void initialize(void) override final
Initializer.
MonitoringObject * m_monObj
Monitoring Object.
std::vector< VxdID > m_PXDModules
IDs of all PXD Modules to iterate over.
std::string m_histogramDirectoryName
name of histogram directory
TLine * m_line1
Line in the Canvas to guide the eye.
std::vector< int > m_excluded
Indizes of excluded PXD Modules.
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.