Belle II Software development
PhysicsObjectsDQMModule.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// File : PysicsObjectsDQMModule.h
10// Description : Module to monitor physics objects
11//-
12
13#include <framework/core/HistoModule.h>
14
15#include <string>
16#include "TH1F.h"
17
18namespace Belle2 {
28
29 public:
30
35
39 void initialize() override;
40
44 void beginRun() override;
45
49 void event() override;
50
54 void endRun() override;
55
59 void terminate() override;
60
64 void defineHisto() override;
65
66 private:
68 TH1F* m_h_mKS0 = nullptr;
69
71 TH1F* m_h_mPI0 = nullptr;
72
74 TH1F* m_h_mUPS = nullptr;
75
77 TH1F* m_h_R2 = nullptr;
78
80 TH1F* m_h_mUPSe = nullptr;
81
83 TH1F* m_h_physicsresults = nullptr;
84
86 std::string m_triggerIdentifier = "";
87
89 std::string m_triggerIdentifierMuMu = "";
90
92 std::string m_triggerIdentifierBhabha = "";
93
96
98 std::string m_pi0PListName = "";
99
101 std::string m_ks0PListName = "";
102
104 std::string m_upsPListName = "";
105
107 std::string m_upsBhabhaPListName = "";
108
110 std::string m_hadbphysDQM = "";
111 };
112
114} // end namespace Belle2
115
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
TH1F * m_h_mUPS
Ups invariant mass.
std::string m_ks0PListName
Name of the KS0 particle list.
void initialize() override
Initializer.
void event() override
This method is called for each event.
void endRun() override
This method is called if the current run ends.
void terminate() override
This method is called at the end of the event processing.
std::string m_triggerIdentifier
Trigger identifier string used to select events for the histograms.
TH1F * m_h_mPI0
PI0 invariant mass.
TH1F * m_h_mUPSe
Ups ee invariant mass.
void beginRun() override
Called when entering a new run.
TH1F * m_h_physicsresults
event physics results
TH1F * m_h_mKS0
KS0 invariant mass.
std::string m_upsPListName
Name of the Ups particle list.
std::string m_hadbphysDQM
Name of the pi hadron particle list.
std::string m_upsBhabhaPListName
Name of the Ups bhabha particle list.
std::string m_triggerIdentifierHadronb2
Trigger identifier string used to select events for the hadronb2 histograms.
std::string m_triggerIdentifierMuMu
Trigger identifier string used to select events for the mumu histograms.
std::string m_pi0PListName
Name of the pi0 particle list.
void defineHisto() override
Definition of the histograms.
std::string m_triggerIdentifierBhabha
Trigger identifier string used to select events for the ee histograms.
Abstract base class for different kinds of events.