Belle II Software development
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
17namespace Belle2 {
22 namespace dosi {
23
30
31 public:
32
37
41 virtual ~DosiStudyModule();
42
47 virtual void initialize() override;
48
53 virtual void beginRun() override;
54
58 virtual void event() override;
59
64 virtual void endRun() override;
65
70 virtual void terminate() override;
71
73 virtual void defineHisto() override;
74
75
76 private:
77
79 //virtual void getXMLData();
80
82 TH1F* h_dosi_edep0[18];
84 TH1F* h_dosi_edep1[18];
86 TH1F* h_dosi_edep2[18];
88 TH1F* h_dosi_edep3[18];
90 TH1F* h_dosi_edep4[18];
92 TH1F* h_dosi_edep5[18];
94 TH1F* h_dosi_edep6[18];
96 TH1F* h_dosi_edep7[18];
98 TH1F* h_dosi_edep8[18];
99
118
119
120 };
121
122 }
124}
125
126#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.