Belle II Software development
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 {
28 class IPDQMModule : public HistoModule {
29
30 public:
31
36
40 void initialize() override;
41
46 void beginRun() override;
47
52 void event() override;
53
58 void defineHisto() override;
59
60 private:
61
63 TH1F* m_h_x = nullptr;
65 TH1F* m_h_y = nullptr;
67 TH1F* m_h_z = nullptr;
69 TH1F* m_h_px = nullptr;
71 TH1F* m_h_py = nullptr;
73 TH1F* m_h_pz = nullptr;
75 TH1F* m_h_E = nullptr;
77 TH1F* m_h_cov_x_x = nullptr;
79 TH1F* m_h_cov_y_y = nullptr;
81 TH1F* m_h_cov_z_z = nullptr;
83 TH1F* m_h_cov_x_z = nullptr;
85 TH1F* m_h_cov_y_z = nullptr;
87 TH1F* m_h_cov_x_y = nullptr;
89 std::string m_Y4SPListName = "";
91 std::string m_onlineMode = "";
92
93 };
94
96} // end namespace Belle2
97
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:28
TH1F * m_h_x
x coord
Definition: IPDQMModule.h:63
TH1F * m_h_cov_x_y
Cov xy.
Definition: IPDQMModule.h:87
TH1F * m_h_cov_y_z
Cov yz.
Definition: IPDQMModule.h:85
IPDQMModule()
Constructor.
Definition: IPDQMModule.cc:27
TH1F * m_h_px
x coord momentum in LAB frame
Definition: IPDQMModule.h:69
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:89
TH1F * m_h_cov_z_z
Var z.
Definition: IPDQMModule.h:81
TH1F * m_h_E
Energy in LAB frame.
Definition: IPDQMModule.h:75
TH1F * m_h_py
y coord momentum in LAB frame
Definition: IPDQMModule.h:71
std::string m_onlineMode
Mode of online processing ("HLT" or "ExpressReco")
Definition: IPDQMModule.h:91
TH1F * m_h_cov_y_y
Var y.
Definition: IPDQMModule.h:79
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:73
TH1F * m_h_y
y coord
Definition: IPDQMModule.h:65
TH1F * m_h_z
z coord
Definition: IPDQMModule.h:67
TH1F * m_h_cov_x_z
Cov xz.
Definition: IPDQMModule.h:83
TH1F * m_h_cov_x_x
Var x.
Definition: IPDQMModule.h:77
void defineHisto() override
Defining the histograms.
Definition: IPDQMModule.cc:35
Abstract base class for different kinds of events.