Belle II Software development
PhysicsObjectsMiraBelleDstModule.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#pragma once
10//#include <framework/core/Module.h>
11#include <framework/core/HistoModule.h>
12#include <string>
13#include "TH1F.h"
14
15namespace Belle2 {
22 public:
23
28
32 void initialize() override;
33
37 void beginRun() override;
38
42 void event() override;
43
47 void endRun() override;
48
52 void terminate() override;
53
57 void defineHisto() override;
58
59 private:
60
61 /*******************************
62 * Hitograms for run dependence *
63 ********************************/
64
66 TH1F* m_h_D0_InvM = nullptr;
67
69 TH1F* m_h_delta_m = nullptr;
70
73
76
79
82
85
88
91
93 TH1F* m_h_D0_pi_PID_ALL_pion = nullptr;
94
96 TH1F* m_h_D0_pi_PID_SVD_pion = nullptr;
97
99 TH1F* m_h_D0_pi_PID_CDC_pion = nullptr;
100
102 TH1F* m_h_D0_pi_PID_TOP_pion = nullptr;
103
106
108 TH1F* m_h_D0_pi_PID_ECL_pion = nullptr;
109
111 TH1F* m_h_D0_pi_PID_KLM_pion = nullptr;
112
114 TH1F* m_h_D0_K_PID_ALL_kaon = nullptr;
115
117 TH1F* m_h_D0_K_PID_SVD_kaon = nullptr;
118
120 TH1F* m_h_D0_K_PID_CDC_kaon = nullptr;
121
123 TH1F* m_h_D0_K_PID_TOP_kaon = nullptr;
124
126 TH1F* m_h_D0_K_PID_ARICH_kaon = nullptr;
127
129 TH1F* m_h_D0_K_PID_ECL_kaon = nullptr;
130
132 TH1F* m_h_D0_K_PID_KLM_kaon = nullptr;
133
136
139
142
145
148
151
154
157
160
163
166
169
172
175
178
181
184
187
190
193
196
198 std::string m_triggerIdentifier = "";
199
201 std::string m_dstListName = "";
202
203 };
205}
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
DQM modules to monitor D* related variables.
TH1F * m_h_sideband_D0_pi_PID_CDC_pion
PID of CDC for pion in sideband.
TH1F * m_h_D0_softpi_PID_ARICH_pion
PID of ARICH for soft pion.
TH1F * m_h_sideband_D0_pi_PID_KLM_pion
PID of KLM for pion in sideband.
TH1F * m_h_sideband_D0_K_PID_ARICH_kaon
PID of ARICH for kaon in sideband.
TH1F * m_h_sideband_D0_softpi_PID_KLM_pion
PID of KLM for soft pion in sideband.
TH1F * m_h_D0_softpi_PID_KLM_pion
PID of KLM for soft pion.
std::string m_dstListName
Name of the mu+ particle list.
TH1F * m_h_sideband_D0_pi_PID_SVD_pion
PID of SVD for pion in sideband.
TH1F * m_h_sideband_D0_K_PID_KLM_kaon
PID of KLM for kaon in sideband.
TH1F * m_h_sideband_D0_softpi_PID_ARICH_pion
PID of ARICH for soft pion in sideband.
TH1F * m_h_D0_softpi_PID_TOP_pion
PID of TOP for soft pion.
TH1F * m_h_sideband_D0_K_PID_SVD_kaon
PID of SVD for kaon in sideband.
void event() override
This method is called for each event.
void endRun() override
This method is called if the current run ends.
TH1F * m_h_sideband_D0_softpi_PID_SVD_pion
PID of SVD for soft pion in sideband.
void terminate() override
This method is called at the end of the event processing.
TH1F * m_h_sideband_D0_K_PID_TOP_kaon
PID of TOP for kaon in sideband.
TH1F * m_h_sideband_D0_pi_PID_TOP_pion
PID of TOP for pion in sideband.
std::string m_triggerIdentifier
Trigger identifier string used to select events for the histograms.
TH1F * m_h_sideband_D0_softpi_PID_ECL_pion
PID of ECL for soft pion in sideband.
TH1F * m_h_delta_m
Mass difference b/w D*+ and D0.
TH1F * m_h_D0_softpi_PID_ECL_pion
PID of ECL for soft pion.
TH1F * m_h_sideband_D0_softpi_PID_ALL_pion
PID of all detectors for soft pion in sideband.
TH1F * m_h_sideband_D0_pi_PID_ALL_pion
PID of all detectors for pion in sideband.
TH1F * m_h_D0_softpi_PID_ALL_pion
PID of all detectors for soft pion.
TH1F * m_h_D0_softpi_PID_SVD_pion
PID of SVD for soft pion.
void beginRun() override
Called when entering a new run.
TH1F * m_h_sideband_D0_K_PID_ECL_kaon
PID of ECL for kaon in sideband.
TH1F * m_h_sideband_D0_pi_PID_ARICH_pion
PID of ARICH for pion in sideband.
TH1F * m_h_D0_softpi_PID_CDC_pion
PID of CDC for soft pion.
TH1F * m_h_sideband_D0_K_PID_ALL_kaon
PID of all detectors for kaon in sideband.
TH1F * m_h_sideband_D0_softpi_PID_TOP_pion
PID of TOP for soft pion in sideband.
TH1F * m_h_sideband_D0_pi_PID_ECL_pion
PID of ECL for pion in sideband.
TH1F * m_h_sideband_D0_K_PID_CDC_kaon
PID of CDC for kaon in sideband.
TH1F * m_h_sideband_D0_softpi_PID_CDC_pion
PID of CDC for soft pion in sideband.
TH1F * m_h_D0_K_PID_ALL_kaon
PID of all detectors for kaon.
void defineHisto() override
Definition of the histograms.
Abstract base class for different kinds of events.