Belle II Software development
ClawsStudyModule.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 CLAWSSTUDYMODULE_H
10#define CLAWSSTUDYMODULE_H
11
12#include <framework/core/HistoModule.h>
13
14#include <TH1.h>
15#include <TH2.h>
16
17namespace Belle2 {
22 namespace claws {
23
30
31 public:
32
37
41 virtual ~ClawsStudyModule();
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
75 virtual void defineHisto() override;
76
77
78 private:
79
81 virtual void getXMLData();
83 double m_Ethres;
84
85 // These histrograms are currently
86 // not used in the code, but just declared.
87 // Commented out by the SW shifter, March 14th 2018
89 //TH2F* h_clawss_Evtof1[16];
91 //TH2F* h_clawss_Evtof2[16];
93 //TH2F* h_clawss_Evtof3[16];
95 //TH2F* h_clawss_Evtof4[16];
97 //TH1F* h_clawss_edep[16];
99 //TH1F* h_Wclawss_edep[16];
100
102 TH1F* h_clawss_rate1[16];
104 TH1F* h_clawss_rate2[16];
109
118
127
136
138 TH2F* h_clawss_pe1[16];
140 TH2F* h_clawss_pe2[16];
142 TH2F* h_clawss_pe1W[16];
144 TH2F* h_clawss_pe2W[16];
145
146 };
147
148 }
150}
151
152#endif /* CLAWSSTUDYMODULE_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 Clawss (BEAST)
TH2F * h_clawss_rs_hitrate1
Energy deposited.
TH2F * h_clawss_rs_rate1[16]
Energy deposited.
TH1F * h_clawss_hitrate2W
Energy deposited.
TH2F * h_clawss_pe1[16]
Energy deposited.
TH2F * h_clawss_rs_hitrate2W
Energy deposited.
virtual void initialize() override
Initialize the Module.
TH2F * h_clawss_rs_hitrate2
Energy deposited.
TH1F * h_clawss_hitrate1
Energy deposited.
virtual void event() override
Event processor.
TH1F * h_clawss_rate1[16]
Energy deposited vs TOF.
virtual void endRun() override
End-of-run action.
virtual void getXMLData()
reads data from CLAWS.xml
virtual void terminate() override
Termination action.
TH1F * h_clawss_hitrate1W
Energy deposited.
ClawsStudyModule()
Constructor: Sets the description, the properties and the parameters of the module.
TH2F * h_clawss_pe1W[16]
Energy deposited.
TH2F * h_clawss_pe2[16]
Energy deposited.
TH1F * h_clawss_rate2W[16]
Energy deposited.
virtual void beginRun() override
Called when entering a new run.
TH1F * h_clawss_rate1W[16]
Energy deposited.
virtual ~ClawsStudyModule()
Destructor.
TH1F * h_clawss_hitrate2
Energy deposited.
TH1F * h_clawss_rate2[16]
Energy deposited.
TH2F * h_clawss_rs_rate2[16]
Energy deposited.
double m_Ethres
Energy threshold.
TH2F * h_clawss_rs_rate2W[16]
Energy deposited.
TH2F * h_clawss_rs_hitrate1W
Energy deposited.
TH2F * h_clawss_rs_rate1W[16]
Energy deposited.
virtual void defineHisto() override
Defines the histograms.
TH2F * h_clawss_pe2W[16]
Energy deposited.
Abstract base class for different kinds of events.