Belle II Software release-11-00-00
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
40
41 public:
42
47
51 void initialize() override;
52
56 void beginRun() override;
57
61 void event() override;
62
66 void defineHisto() override;
67
68 private:
70 TH1F* m_h_mKS0 = nullptr;
71
73 TH1F* m_h_mPI0 = nullptr;
74
76 TH1F* m_h_mUPS = nullptr;
77
79 TH1F* m_h_R2 = nullptr;
80
82 TH1F* m_h_mUPSe = nullptr;
83
85 TH1F* m_h_physicsresults = nullptr;
86
88 std::string m_triggerIdentifier = "";
89
91 std::string m_triggerIdentifierMuMu = "";
92
94 std::string m_triggerIdentifierBhabha = "";
95
98
100 std::string m_pi0PListName = "";
101
103 std::string m_ks0PListName = "";
104
106 std::string m_upsPListName = "";
107
109 std::string m_upsBhabhaPListName = "";
110
112 std::string m_hadbphysDQM = "";
113
115
118
120 std::string m_triggerIdentifierHLT = "";
121
123 TH1F* m_h_nKshortAllH = nullptr;
124 TH1F* m_h_nKshortActiveH = nullptr;
126 TH1F* m_h_nKshortActiveNotCDCECLH = nullptr; /* Histogram for Ks events : && active veto && !cdcecl cut */
127
129 std::string m_prefilter_Injection_Strip = "software_trigger_cut&filter&prefilter_InjectionStrip";
131 "software_trigger_cut&filter&prefilter_CDCECLthreshold";
132
134 bool m_TimingCut = false;
135 bool m_CDCECLCut = false;
136
137 };
138
140} // end namespace Belle2
141
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.
std::string m_prefilter_Injection_Strip
HLTPrefilter lines.
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.