Belle II Software development
ClawStudyModule.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 CLAWSTUDYMODULE_H
10#define CLAWSTUDYMODULE_H
11
12#include <framework/core/HistoModule.h>
13
14#include <TH1.h>
15#include <TH2.h>
16
17namespace Belle2 {
22 namespace claw {
23
30
31 public:
32
37
41 virtual ~ClawStudyModule();
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();
81 double m_Ethres;
82
92 TH1F* h_claws_edep[8];
94 TH1F* h_Wclaws_edep[8];
95
97 TH1F* h_claws_rate1[8];
99 TH1F* h_claws_rate2[8];
104
113
122
131
133 TH2F* h_claws_pe1[8];
135 TH2F* h_claws_pe2[8];
137 TH2F* h_claws_pe1W[8];
139 TH2F* h_claws_pe2W[8];
140
141 };
142
143 }
145}
146
147#endif /* CLAWSTUDYMODULE_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 Claws (BEAST)
TH2F * h_claws_pe2[8]
Energy deposited.
virtual ~ClawStudyModule()
Destructor.
TH2F * h_claws_rs_hitrate1
Energy deposited.
TH2F * h_claws_rs_hitrate2
Energy deposited.
ClawStudyModule()
Constructor: Sets the description, the properties and the parameters of the module.
TH2F * h_claws_rs_rate2W[8]
Energy deposited.
TH1F * h_claws_rate1[8]
Energy deposited.
virtual void initialize() override
Initialize the Module.
TH2F * h_claws_pe1W[8]
Energy deposited.
TH1F * h_claws_hitrate1
Energy deposited.
TH2F * h_claws_rs_hitrate1W
Energy deposited.
virtual void event() override
Event processor.
TH2F * h_claws_rs_hitrate2W
Energy deposited.
TH1F * h_claws_hitrate2
Energy deposited.
TH2F * h_claws_rs_rate1W[8]
Energy deposited.
TH1F * h_claws_edep[8]
Energy deposited.
virtual void endRun() override
End-of-run action.
TH1F * h_claws_hitrate2W
Energy deposited.
virtual void getXMLData()
reads data from CLAW.xml
TH2F * h_claws_rs_rate2[8]
Energy deposited.
TH2F * h_claws_Evtof4[8]
Energy deposited vs TOF.
virtual void terminate() override
Termination action.
virtual void beginRun() override
Called when entering a new run.
TH1F * h_claws_rate2[8]
Energy deposited.
TH2F * h_claws_Evtof3[8]
Energy deposited vs TOF.
TH2F * h_claws_pe2W[8]
Energy deposited.
TH2F * h_claws_rs_rate1[8]
Energy deposited.
TH1F * h_Wclaws_edep[8]
Energy deposited.
TH2F * h_claws_Evtof2[8]
Energy deposited vs TOF.
TH1F * h_claws_hitrate1W
Energy deposited.
TH1F * h_claws_rate2W[8]
Energy deposited.
TH2F * h_claws_Evtof1[8]
Energy deposited vs TOF.
double m_Ethres
Energy threshold.
TH1F * h_claws_rate1W[8]
Energy deposited.
TH2F * h_claws_pe1[8]
Energy deposited.
virtual void defineHisto() override
Defines the histograms.
Abstract base class for different kinds of events.