Belle II Software  release-08-01-10
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 
17 namespace Belle2 {
22  // namespace analysis {
23 
33 
34  public:
35 
40 
42  virtual ~AnalysisPhase1StudyModule();
43 
48  virtual void initialize() override;
49 
54  virtual void beginRun() override;
55 
59  virtual void event() override;
60 
65  virtual void endRun() override;
66 
71  virtual void terminate() override;
72 
76  virtual void defineHisto() override;
77 
78  private:
79 
81  TH1F* h_count = nullptr;
83  TH2F* h_prodvtx[10] = {nullptr};
85  TH2F* h_decavtx[10] = {nullptr};
87  TH2F* h_kineticvz[10] = {nullptr};
89  TH2F* h_kineticvz1[10] = {nullptr};
91  TH2F* h_kineticvz2[10] = {nullptr};
93  TH2F* h_kineticvz_zoom[10] = {nullptr};
95  TH2F* h_Wkineticvz[10] = {nullptr};
97  TH2F* h_Wkineticvz_zoom[10] = {nullptr};
99  TH2F* h_thetavz[10] = {nullptr};
101  TH2F* h_phivz[10] = {nullptr};
103  TH2F* h_phive[10] = {nullptr};
105  TH2F* h_rve[10] = {nullptr};
107  TH2F* h_sad_xy[2] = {nullptr};
109  TH2F* h_g4_xy = nullptr;
111  TH1F* h_sad_sir[2] = {nullptr};
113  TH1F* h_sad_sall[2] = {nullptr};
115  TH1F* h_sad_sraw[2] = {nullptr};
117  TH2F* h_sad_sE[2] = {nullptr};
119  TH1F* h_sad_E[2] = {nullptr};
121  TH1F* h_sad_s[2] = {nullptr};
123  TH1F* h_dE = nullptr;
125  TH1F* h_dpx = nullptr;
127  TH1F* h_dpy = nullptr;
129  TH1F* h_E = nullptr;
131  TH1F* h_P = nullptr;
133  TH1F* h_px = nullptr;
135  TH1F* h_py = nullptr;
137  TH1F* h_pz = nullptr;
139  TH1F* h_dx = nullptr;
141  TH1F* h_dy = nullptr;
143  TH1F* h_dz = nullptr;
145  TH1F* h_z[2] = {nullptr};
146 
147  };
148 
149  // }
151 }
152 
153 #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.