Belle II Software  release-06-01-15
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 namespace Belle2 {
31 
32  public:
33 
38 
42  void initialize() override;
43 
47  void beginRun() override;
48 
52  void event() override;
53 
57  void endRun() override;
58 
62  void terminate() override;
63 
67  void defineHisto() override;
68 
69  private:
71  TH1F* m_h_mKS0 = nullptr;
72 
74  TH1F* m_h_mPI0 = nullptr;
75 
77  TH1F* m_h_mUPS = nullptr;
78 
80  TH1F* m_h_R2 = nullptr;
81 
83  std::string m_triggerIdentifier = "";
84 
86  std::string m_triggerIdentifierMuMu = "";
87 
89  std::string m_pi0PListName = "";
90 
92  std::string m_ks0PListName = "";
93 
95  std::string m_upsPListName = "";
96  };
97 
99 } // end namespace Belle2
100 
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.
void beginRun() override
Called when entering a new run.
TH1F * m_h_mKS0
KS0 invariant mass.
std::string m_upsPListName
Name of the Ups particle list.
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.
Abstract base class for different kinds of events.