Belle II Software release-09-00-07
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
18#include <framework/datastore/StoreObjPtr.h>
19
20namespace Belle2 {
26// Forward declarations
27//template <class T> class StoreObjPtr;
28 class SoftwareTriggerResult;
29 class TRGSummary;
30 class ParticleList;
31
36
37 public:
38
43
47 void initialize() override;
48
52 void beginRun() override;
53
57 void event() override;
58
62 void endRun() override;
63
67 void terminate() override;
68
72 void defineHisto() override;
73
74 private:
76 TH1F* m_h_mKS0 = nullptr;
77
79 TH1F* m_h_mPI0 = nullptr;
80
82 TH1F* m_h_mUPS = nullptr;
83
85 TH1F* m_h_R2 = nullptr;
86
88 TH1F* m_h_mUPSe = nullptr;
89
91 TH1F* m_h_physicsresults = nullptr;
92
94 std::string m_triggerIdentifier = "";
95
97 std::string m_triggerIdentifierMuMu = "";
98
101
104
106 std::string m_pi0PListName = "";
107
109 std::string m_ks0PListName = "";
110
112 std::string m_upsPListName = "";
113
115 std::string m_upsBhabhaPListName = "";
116
118 std::string m_hadbphysDQM = "";
119
124
126 std::string m_triggerIdentifierHLT = "";
127
129 TH1F* m_h_nKshortAllH = nullptr;
130 TH1F* m_h_nKshortActiveH = nullptr;
132 TH1F* m_h_nKshortActiveNotCDCECLH = nullptr; /* Histogram for Ks events : && active veto && !cdcecl cut */
133
135 std::string m_prefilter_Injection_Strip = "software_trigger_cut&filter&prefilter_InjectionStrip";
137 "software_trigger_cut&filter&prefilter_CDCECLthreshold";
140 bool m_TimingCut = false;
141 bool m_CDCECLCut = false;
143 };
144
146} // end namespace Belle2
147
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_nKshortAllH
Histograms for Ks.
TH1F * m_h_mUPS
Ups invariant mass.
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_mPI0
PI0 invariant mass.
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
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.
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.
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.