Belle II Software  release-08-01-10
DosiStudyModule.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 DOSISTUDYMODULE_H
10 #define DOSISTUDYMODULE_H
11 
12 #include <framework/core/HistoModule.h>
13 
14 #include <TH1.h>
15 #include <TH2.h>
16 
17 namespace Belle2 {
22  namespace dosi {
23 
32  class DosiStudyModule : public HistoModule {
33 
34  public:
35 
40 
44  virtual ~DosiStudyModule();
45 
50  virtual void initialize() override;
51 
56  virtual void beginRun() override;
57 
61  virtual void event() override;
62 
67  virtual void endRun() override;
68 
73  virtual void terminate() override;
74 
76  virtual void defineHisto() override;
77 
78 
79  private:
80 
82  //virtual void getXMLData();
83 
85  TH1F* h_dosi_edep0[18];
87  TH1F* h_dosi_edep1[18];
89  TH1F* h_dosi_edep2[18];
91  TH1F* h_dosi_edep3[18];
93  TH1F* h_dosi_edep4[18];
95  TH1F* h_dosi_edep5[18];
97  TH1F* h_dosi_edep6[18];
99  TH1F* h_dosi_edep7[18];
101  TH1F* h_dosi_edep8[18];
102 
104  TH2F* h_dosi_rs_edep0[18];
106  TH2F* h_dosi_rs_edep1[18];
108  TH2F* h_dosi_rs_edep2[18];
110  TH2F* h_dosi_rs_edep3[18];
112  TH2F* h_dosi_rs_edep4[18];
114  TH2F* h_dosi_rs_edep5[18];
116  TH2F* h_dosi_rs_edep6[18];
118  TH2F* h_dosi_rs_edep7[18];
120  TH2F* h_dosi_rs_edep8[18];
121 
122 
123  };
124 
125  }
127 }
128 
129 #endif /* DOSISTUDYMODULE_H */
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
Study module for Dosis (BEAST)
TH1F * h_dosi_edep4[18]
Energy deposited.
TH1F * h_dosi_edep6[18]
Energy deposited.
TH1F * h_dosi_edep1[18]
Energy deposited.
virtual ~DosiStudyModule()
Destructor.
TH2F * h_dosi_rs_edep6[18]
Energy deposited.
TH2F * h_dosi_rs_edep3[18]
Energy deposited.
TH1F * h_dosi_edep7[18]
Energy deposited.
virtual void initialize() override
Initialize the Module.
TH1F * h_dosi_edep8[18]
Energy deposited.
virtual void event() override
Event processor.
TH2F * h_dosi_rs_edep5[18]
Energy deposited.
TH2F * h_dosi_rs_edep2[18]
Energy deposited.
TH1F * h_dosi_edep3[18]
Energy deposited.
TH2F * h_dosi_rs_edep7[18]
Energy deposited.
virtual void endRun() override
End-of-run action.
TH2F * h_dosi_rs_edep0[18]
Energy deposited.
virtual void terminate() override
Termination action.
virtual void beginRun() override
Called when entering a new run.
TH1F * h_dosi_edep2[18]
Energy deposited.
TH2F * h_dosi_rs_edep4[18]
Energy deposited.
DosiStudyModule()
Constructor: Sets the description, the properties and the parameters of the module.
TH2F * h_dosi_rs_edep1[18]
Energy deposited.
TH1F * h_dosi_edep5[18]
Energy deposited.
TH2F * h_dosi_rs_edep8[18]
Energy deposited.
TH1F * h_dosi_edep0[18]
reads data from DOSI.xml: tube location, drift data filename, sigma of impulse response function
virtual void defineHisto() override
Defines the histograms.
Abstract base class for different kinds of events.