Belle II Software release-09-00-00
IPDQMModule.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/* Basf2 headers. */
10#include <framework/core/HistoModule.h>
11
12/* ROOT headers. */
13#include <TH1F.h>
14
15/* C++ headers. */
16#include <string>
17
18namespace Belle2 {
31 class IPDQMModule : public HistoModule {
32
33 public:
34
39
43 void initialize() override;
44
49 void beginRun() override;
50
55 void event() override;
56
61 void defineHisto() override;
62
63 private:
64
66 TH1F* m_h_x = nullptr;
68 TH1F* m_h_y = nullptr;
70 TH1F* m_h_z = nullptr;
72 TH1F* m_h_px = nullptr;
74 TH1F* m_h_py = nullptr;
76 TH1F* m_h_pz = nullptr;
78 TH1F* m_h_E = nullptr;
80 TH1F* m_h_cov_x_x = nullptr;
82 TH1F* m_h_cov_y_y = nullptr;
84 TH1F* m_h_cov_z_z = nullptr;
86 TH1F* m_h_cov_x_z = nullptr;
88 TH1F* m_h_cov_y_z = nullptr;
90 TH1F* m_h_cov_x_y = nullptr;
92 std::string m_Y4SPListName = "";
94 std::string m_onlineMode = "";
95
96 };
97
99} // end namespace Belle2
100
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
This Module, made for monitors the position and the size of the interaction point using mu+mu- events...
Definition: IPDQMModule.h:31
TH1F * m_h_x
x coord
Definition: IPDQMModule.h:66
TH1F * m_h_cov_x_y
Cov xy.
Definition: IPDQMModule.h:90
TH1F * m_h_cov_y_z
Cov yz.
Definition: IPDQMModule.h:88
IPDQMModule()
Constructor.
Definition: IPDQMModule.cc:27
TH1F * m_h_px
x coord momentum in LAB frame
Definition: IPDQMModule.h:72
void initialize() override
Initialize the module.
Definition: IPDQMModule.cc:73
void event() override
Event processor The main analysis happens here.
Definition: IPDQMModule.cc:100
std::string m_Y4SPListName
Name of the Y4S particle list.
Definition: IPDQMModule.h:92
TH1F * m_h_cov_z_z
Var z.
Definition: IPDQMModule.h:84
TH1F * m_h_E
Energy in LAB frame.
Definition: IPDQMModule.h:78
TH1F * m_h_py
y coord momentum in LAB frame
Definition: IPDQMModule.h:74
std::string m_onlineMode
Mode of online processing ("HLT" or "ExpressReco")
Definition: IPDQMModule.h:94
TH1F * m_h_cov_y_y
Var y.
Definition: IPDQMModule.h:82
void beginRun() override
Called when entering a new run Reset the histograms.
Definition: IPDQMModule.cc:81
TH1F * m_h_pz
z coord momentum in LAB frame
Definition: IPDQMModule.h:76
TH1F * m_h_y
y coord
Definition: IPDQMModule.h:68
TH1F * m_h_z
z coord
Definition: IPDQMModule.h:70
TH1F * m_h_cov_x_z
Cov xz.
Definition: IPDQMModule.h:86
TH1F * m_h_cov_x_x
Var x.
Definition: IPDQMModule.h:80
void defineHisto() override
Defining the histograms.
Definition: IPDQMModule.cc:35
Abstract base class for different kinds of events.