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 <TH1F.h>
16
17#include <string>
18
19#include <framework/datastore/StoreObjPtr.h>
20
21namespace Belle2 {
26
27// Forward declarations
28//template <class T> class StoreObjPtr;
30 class TRGSummary;
31 class ParticleList;
32
37
38 public:
39
44
48 void initialize() override;
49
53 void beginRun() override;
54
58 void event() override;
59
63 void endRun() override;
64
68 void terminate() override;
69
73 void defineHisto() override;
74
75 private:
77 TH1F* m_h_mKS0 = nullptr;
78
80 TH1F* m_h_mPI0 = nullptr;
81
83 TH1F* m_h_mUPS = nullptr;
84
86 TH1F* m_h_R2 = nullptr;
87
89 TH1F* m_h_mUPSe = nullptr;
90
92 TH1F* m_h_physicsresults = nullptr;
93
95 std::string m_triggerIdentifier = "";
96
98 std::string m_triggerIdentifierMuMu = "";
99
102
105
107 std::string m_pi0PListName = "";
108
110 std::string m_ks0PListName = "";
111
113 std::string m_upsPListName = "";
114
116 std::string m_upsBhabhaPListName = "";
117
119 std::string m_hadbphysDQM = "";
120
122
125
127 std::string m_triggerIdentifierHLT = "";
128
130 TH1F* m_h_nKshortAllH = nullptr;
131 TH1F* m_h_nKshortActiveH = nullptr;
133 TH1F* m_h_nKshortActiveNotCDCECLH = nullptr; /* Histogram for Ks events : && active veto && !cdcecl cut */
134
136 std::string m_prefilter_Injection_Strip = "software_trigger_cut&filter&prefilter_InjectionStrip";
138 "software_trigger_cut&filter&prefilter_CDCECLthreshold";
139
141 bool m_TimingCut = false;
142 bool m_CDCECLCut = false;
143
144 };
145
147} // end namespace Belle2
148
HistoModule()
Constructor.
Definition HistoModule.h:32
ParticleList is a container class that stores a collection of Particle objects.
std::string m_ks0PListName
Name of the KS0 particle list.
void initialize() override
Initializer.
StoreObjPtr< TRGSummary > m_l1Trigger
Objects relevant to HLTprefilter monitoring.
void event() override
This method is called for each event.
void endRun() override
This method is called if the current run ends.
std::string m_prefilter_Injection_Strip
HLTPrefilter lines.
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.
bool m_CDCECLCut
Flag for timing cut on injection strip.
TH1F * m_h_nKshortActiveNotCDCECLH
Histogram for Ks events : && active veto && !timing cut.
TH1F * m_h_mUPSe
Ups ee invariant mass.
void beginRun() override
Called when entering a new run.
TH1F * m_h_physicsresults
event physics results
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.
bool m_TimingCut
CDC-ECL occupancy cut for prefilter.
std::string m_prefilter_CDCECL_Cut
Timing cut for prefilter.
std::string m_triggerIdentifierHLT
Trigger identifier string used to select events for HLTprefilter histograms.
std::string m_triggerIdentifierMuMu
Trigger identifier string used to select events for the mumu histograms.
TH1F * m_h_nKshortActiveH
Histogram for Ks events.
std::string m_pi0PListName
Name of the pi0 particle list.
TH1F * m_h_nKshortActiveNotTimeH
Histogram for Ks events : active veto.
void defineHisto() override
Definition of the histograms.
std::string m_triggerIdentifierBhabha
Trigger identifier string used to select events for the ee histograms.
Dataobject to store the results of the cut calculations performed by the SoftwareTriggerModule.
Type-safe access to single objects in the data store.
Definition StoreObjPtr.h:96
Trigger Summary Information input bits input bits from subdetectors ftdl (Final Trigger Decision Logi...
Definition TRGSummary.h:32
Abstract base class for different kinds of events.