Belle II Software development
AnalysisPhase1StudyModule.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#ifndef ANALYSISPHASE1STUDYMODULE_H
10#define ANALYSISPHASE1STUDYMODULE_H
11
12#include <framework/core/HistoModule.h>
13
14#include <TH1.h>
15#include <TH2.h>
16
17namespace Belle2 {
22 // namespace analysis {
23
30
31 public:
32
37
40
45 virtual void initialize() override;
46
51 virtual void beginRun() override;
52
56 virtual void event() override;
57
62 virtual void endRun() override;
63
68 virtual void terminate() override;
69
73 virtual void defineHisto() override;
74
75 private:
76
78 TH1F* h_count = nullptr;
80 TH2F* h_prodvtx[10] = {nullptr};
82 TH2F* h_decavtx[10] = {nullptr};
84 TH2F* h_kineticvz[10] = {nullptr};
86 TH2F* h_kineticvz1[10] = {nullptr};
88 TH2F* h_kineticvz2[10] = {nullptr};
90 TH2F* h_kineticvz_zoom[10] = {nullptr};
92 TH2F* h_Wkineticvz[10] = {nullptr};
94 TH2F* h_Wkineticvz_zoom[10] = {nullptr};
96 TH2F* h_thetavz[10] = {nullptr};
98 TH2F* h_phivz[10] = {nullptr};
100 TH2F* h_phive[10] = {nullptr};
102 TH2F* h_rve[10] = {nullptr};
104 TH2F* h_sad_xy[2] = {nullptr};
106 TH2F* h_g4_xy = nullptr;
108 TH1F* h_sad_sir[2] = {nullptr};
110 TH1F* h_sad_sall[2] = {nullptr};
112 TH1F* h_sad_sraw[2] = {nullptr};
114 TH2F* h_sad_sE[2] = {nullptr};
116 TH1F* h_sad_E[2] = {nullptr};
118 TH1F* h_sad_s[2] = {nullptr};
120 TH1F* h_dE = nullptr;
122 TH1F* h_dpx = nullptr;
124 TH1F* h_dpy = nullptr;
126 TH1F* h_E = nullptr;
128 TH1F* h_P = nullptr;
130 TH1F* h_px = nullptr;
132 TH1F* h_py = nullptr;
134 TH1F* h_pz = nullptr;
136 TH1F* h_dx = nullptr;
138 TH1F* h_dy = nullptr;
140 TH1F* h_dz = nullptr;
142 TH1F* h_z[2] = {nullptr};
143
144 };
145
146 // }
148}
149
150#endif /* ANALYSISPHASE1STUDYMODULE_H */
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
virtual void endRun() override
End-of-run action.
virtual void terminate() override
Termination action.
virtual void beginRun() override
Called when entering a new run.
AnalysisPhase1StudyModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual void defineHisto() override
Defines the histograms.
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
Abstract base class for different kinds of events.