Belle II Software development
QcsmonitorStudyModule.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 QCSMONITORSTUDYMODULE_H
10#define QCSMONITORSTUDYMODULE_H
11
12#include <framework/core/HistoModule.h>
13
14#include <TH1.h>
15#include <TH2.h>
16
17namespace Belle2 {
22 namespace qcsmonitor {
23
30
31 public:
32
37
41 virtual ~QcsmonitorStudyModule();
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
84 TH2F* h_qcss_Evtof1[48];
86 TH2F* h_qcss_Evtof2[48];
88 TH2F* h_qcss_Evtof3[48];
90 TH2F* h_qcss_Evtof4[48];
92 TH1F* h_qcss_edep[48];
94 TH1F* h_Wqcss_edep[48];
95
97 TH1F* h_qcss_rate1[48];
99 TH1F* h_qcss_rate2[48];
101 TH1F* h_qcss_rate1W[48];
103 TH1F* h_qcss_rate2W[48];
104
115
124
133
135 TH2F* h_qcss_pe1[48];
137 TH2F* h_qcss_pe2[48];
139 TH2F* h_qcss_pe1W[48];
141 TH2F* h_qcss_pe2W[48];
142
143 };
144
145 }
147}
148
149#endif /* QCSMONITORSTUDYMODULE_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 Qcsmonitor (BEAST)
TH2F * h_qcss_Evtof3[48]
Energy deposited vs TOF.
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
TH2F * h_qcss_Evtof1[48]
Energy deposited vs TOF.
virtual void endRun() override
End-of-run action.
TH2F * h_qcss_Evtof2[48]
Energy deposited vs TOF.
virtual void getXMLData()
reads data from QCSMONITOR.xml
virtual void terminate() override
Termination action.
QcsmonitorStudyModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual void beginRun() override
Called when entering a new run.
TH2F * h_qcss_Evtof4[48]
Energy deposited vs TOF.
virtual void defineHisto() override
Defines the histograms.
Abstract base class for different kinds of events.