Belle II Software  release-05-02-19
ClawStudyModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Igal Jaegle *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef CLAWSTUDYMODULE_H
12 #define CLAWSTUDYMODULE_H
13 
14 #include <framework/core/HistoModule.h>
15 
16 #include <TH1.h>
17 #include <TH2.h>
18 
19 namespace Belle2 {
24  namespace claw {
25 
31  class ClawStudyModule : public HistoModule {
32 
33  public:
34 
39 
41  virtual ~ClawStudyModule();
42 
44  virtual void initialize() override;
45 
47  virtual void beginRun() override;
48 
50  virtual void event() override;
51 
53  virtual void endRun() override;
54 
56  virtual void terminate() override;
57 
59  virtual void defineHisto() override;
60 
61 
62  private:
63 
65  virtual void getXMLData();
67  double m_Ethres;
68 
70  TH2F* h_claws_Evtof1[8];
72  TH2F* h_claws_Evtof2[8];
74  TH2F* h_claws_Evtof3[8];
76  TH2F* h_claws_Evtof4[8];
78  TH1F* h_claws_edep[8];
80  TH1F* h_Wclaws_edep[8];
81 
83  TH1F* h_claws_rate1[8];
85  TH1F* h_claws_rate2[8];
87  TH1F* h_claws_rate1W[8];
89  TH1F* h_claws_rate2W[8];
90 
92  TH1F* h_claws_hitrate1;
94  TH1F* h_claws_hitrate2;
96  TH1F* h_claws_hitrate1W;
98  TH1F* h_claws_hitrate2W;
99 
101  TH2F* h_claws_rs_hitrate1;
103  TH2F* h_claws_rs_hitrate2;
105  TH2F* h_claws_rs_hitrate1W;
107  TH2F* h_claws_rs_hitrate2W;
108 
110  TH2F* h_claws_rs_rate1[8];
112  TH2F* h_claws_rs_rate2[8];
114  TH2F* h_claws_rs_rate1W[8];
116  TH2F* h_claws_rs_rate2W[8];
117 
119  TH2F* h_claws_pe1[8];
121  TH2F* h_claws_pe2[8];
123  TH2F* h_claws_pe1W[8];
125  TH2F* h_claws_pe2W[8];
126 
127  };
128 
129  }
131 }
132 
133 #endif /* CLAWSTUDYMODULE_H */
Belle2::claw::ClawStudyModule::h_claws_hitrate1
TH1F * h_claws_hitrate1
Energy deposited.
Definition: ClawStudyModule.h:100
Belle2::claw::ClawStudyModule::h_claws_rate1
TH1F * h_claws_rate1[8]
Energy deposited.
Definition: ClawStudyModule.h:91
Belle2::claw::ClawStudyModule::h_claws_Evtof1
TH2F * h_claws_Evtof1[8]
Energy deposited vs TOF.
Definition: ClawStudyModule.h:78
Belle2::claw::ClawStudyModule::h_claws_Evtof3
TH2F * h_claws_Evtof3[8]
Energy deposited vs TOF.
Definition: ClawStudyModule.h:82
Belle2::claw::ClawStudyModule::m_Ethres
double m_Ethres
Energy threshold.
Definition: ClawStudyModule.h:75
Belle2::claw::ClawStudyModule::h_claws_rs_hitrate2W
TH2F * h_claws_rs_hitrate2W
Energy deposited.
Definition: ClawStudyModule.h:115
Belle2::claw::ClawStudyModule::h_claws_hitrate2
TH1F * h_claws_hitrate2
Energy deposited.
Definition: ClawStudyModule.h:102
Belle2::claw::ClawStudyModule::h_claws_rs_rate1
TH2F * h_claws_rs_rate1[8]
Energy deposited.
Definition: ClawStudyModule.h:118
Belle2::claw::ClawStudyModule::beginRun
virtual void beginRun() override
Function to process begin_run record.
Definition: ClawStudyModule.cc:132
Belle2::claw::ClawStudyModule::h_claws_rs_rate2
TH2F * h_claws_rs_rate2[8]
Energy deposited.
Definition: ClawStudyModule.h:120
Belle2::claw::ClawStudyModule::h_claws_Evtof2
TH2F * h_claws_Evtof2[8]
Energy deposited vs TOF.
Definition: ClawStudyModule.h:80
Belle2::claw::ClawStudyModule::h_claws_rate2W
TH1F * h_claws_rate2W[8]
Energy deposited.
Definition: ClawStudyModule.h:97
Belle2::claw::ClawStudyModule::ClawStudyModule
ClawStudyModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: ClawStudyModule.cc:43
Belle2::claw::ClawStudyModule::h_claws_pe2
TH2F * h_claws_pe2[8]
Energy deposited.
Definition: ClawStudyModule.h:129
Belle2::claw::ClawStudyModule::h_Wclaws_edep
TH1F * h_Wclaws_edep[8]
Energy deposited.
Definition: ClawStudyModule.h:88
Belle2::claw::ClawStudyModule::h_claws_rate2
TH1F * h_claws_rate2[8]
Energy deposited.
Definition: ClawStudyModule.h:93
Belle2::claw::ClawStudyModule::terminate
virtual void terminate() override
Function to terminate module.
Definition: ClawStudyModule.cc:224
Belle2::claw::ClawStudyModule::h_claws_rs_hitrate1
TH2F * h_claws_rs_hitrate1
Energy deposited.
Definition: ClawStudyModule.h:109
Belle2::claw::ClawStudyModule::h_claws_pe1
TH2F * h_claws_pe1[8]
Energy deposited.
Definition: ClawStudyModule.h:127
Belle2::claw::ClawStudyModule::h_claws_rs_rate2W
TH2F * h_claws_rs_rate2W[8]
Energy deposited.
Definition: ClawStudyModule.h:124
Belle2::claw::ClawStudyModule::h_claws_rate1W
TH1F * h_claws_rate1W[8]
Energy deposited.
Definition: ClawStudyModule.h:95
Belle2::claw::ClawStudyModule::endRun
virtual void endRun() override
Function to process end_run record.
Definition: ClawStudyModule.cc:217
Belle2::claw::ClawStudyModule::defineHisto
virtual void defineHisto() override
Defines the histograms.
Definition: ClawStudyModule.cc:56
Belle2::claw::ClawStudyModule::h_claws_hitrate1W
TH1F * h_claws_hitrate1W
Energy deposited.
Definition: ClawStudyModule.h:104
Belle2::claw::ClawStudyModule::event
virtual void event() override
Function to process event record.
Definition: ClawStudyModule.cc:136
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::claw::ClawStudyModule::h_claws_rs_hitrate1W
TH2F * h_claws_rs_hitrate1W
Energy deposited.
Definition: ClawStudyModule.h:113
Belle2::claw::ClawStudyModule
Study module for Claws (BEAST)
Definition: ClawStudyModule.h:39
Belle2::claw::ClawStudyModule::h_claws_edep
TH1F * h_claws_edep[8]
Energy deposited.
Definition: ClawStudyModule.h:86
Belle2::claw::ClawStudyModule::h_claws_Evtof4
TH2F * h_claws_Evtof4[8]
Energy deposited vs TOF.
Definition: ClawStudyModule.h:84
Belle2::claw::ClawStudyModule::initialize
virtual void initialize() override
Function for dynamic initialization of module.
Definition: ClawStudyModule.cc:122
Belle2::claw::ClawStudyModule::h_claws_rs_rate1W
TH2F * h_claws_rs_rate1W[8]
Energy deposited.
Definition: ClawStudyModule.h:122
Belle2::claw::ClawStudyModule::h_claws_pe2W
TH2F * h_claws_pe2W[8]
Energy deposited.
Definition: ClawStudyModule.h:133
Belle2::claw::ClawStudyModule::getXMLData
virtual void getXMLData()
reads data from CLAW.xml
Definition: ClawStudyModule.cc:208
Belle2::claw::ClawStudyModule::h_claws_rs_hitrate2
TH2F * h_claws_rs_hitrate2
Energy deposited.
Definition: ClawStudyModule.h:111
Belle2::claw::ClawStudyModule::h_claws_hitrate2W
TH1F * h_claws_hitrate2W
Energy deposited.
Definition: ClawStudyModule.h:106
Belle2::claw::ClawStudyModule::h_claws_pe1W
TH2F * h_claws_pe1W[8]
Energy deposited.
Definition: ClawStudyModule.h:131