Belle II Software  release-08-01-10
PhysicsObjectsMiraBelleBhabhaModule.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 //#include <framework/core/Module.h>
10 #include <framework/core/HistoModule.h>
11 #include <string>
12 #include "TH1F.h"
13 
14 namespace Belle2 {
27  public:
28 
33 
37  void initialize() override;
38 
42  void beginRun() override;
43 
47  void event() override;
48 
52  void endRun() override;
53 
57  void terminate() override;
58 
62  void defineHisto() override;
63 
64  private:
65  // ======== Hitograms for run dependence
66  // ----- Detector Hits
67  TH1F* m_h_npxd = nullptr;
68  TH1F* m_h_nsvd = nullptr;
69  TH1F* m_h_ncdc = nullptr;
70  TH1F* m_h_topdig = nullptr;
71  TH1F* m_h_DetPhotonARICH = nullptr;
72  // ----- Resolution
73  TH1F* m_h_dD0 = nullptr;
74  TH1F* m_h_dZ0 = nullptr;
75  TH1F* m_h_dPtcms = nullptr;
76  // ----- P-value
77  TH1F* m_h_Pval = nullptr;
78  // ----- Beam BG condition
79  TH1F* m_h_nExtraCDCHits = nullptr;
80  TH1F* m_h_nECLClusters = nullptr;
81  // ----- Nevt/Luminosity
82  TH1F* m_h_electronid = nullptr;
83  // ======== Other Hitograms
84  TH1F* m_h_inv_p = nullptr;
85  TH1F* m_h_ndf = nullptr;
86  TH1F* m_h_D0 = nullptr;
87  TH1F* m_h_Z0 = nullptr;
88  TH1F* m_h_theta = nullptr;
89  TH1F* m_h_theta_lab = nullptr;
90  TH1F* m_h_Phi0 = nullptr;
91  TH1F* m_h_Pt = nullptr;
92  TH1F* m_h_Mom = nullptr;
93  TH1F* m_h_dPhicms = nullptr;
94  TH1F* m_h_dThetacms = nullptr;
97  std::string m_triggerIdentifier = "";
98 
100  std::string m_ePListName = "";
101 
103  std::string m_bhabhaPListName = "";
104 
105  };
107 }
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_dZ0
histogram for Z0 difference between e+ and e-
TH1F * m_h_DetPhotonARICH
histogram for number of photon in ARICH associated with electron track
TH1F * m_h_dPhicms
histogram for phi difference between e+ and e- in CMS
TH1F * m_h_Mom
histogram for Momentum of electron track
void event() override
This method is called for each event.
TH1F * m_h_dPtcms
histogram for Pt difference between e+ and e-
TH1F * m_h_theta
histogram for theta of electron track
TH1F * m_h_ncdc
histogram for number of CDC hits associated with electron track
void endRun() override
This method is called if the current run ends.
TH1F * m_h_npxd
histogram for number of PXD hits associated with electron track
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_dThetacms
histogram for theta difference between e+ and e- in CMS
void beginRun() override
Called when entering a new run.
TH1F * m_h_theta_lab
histogram for theta of electron track in lab frame
TH1F * m_h_nsvd
histogram for number of SVD hits associated with electron track
TH1F * m_h_nExtraCDCHits
histogram for number of CDC hits not associated with any tracks
TH1F * m_h_dD0
histogram for D0 difference between e+ and e-
TH1F * m_h_topdig
histogram for TOP digits associated with electron track
TH1F * m_h_inv_p
histogram for invariant mass of di-electron
TH1F * m_h_Pval
histogram for Pvalue of tracks in CDC
TH1F * m_h_Phi0
histogram for phi of electron track
std::string m_bhabhaPListName
Name of the e+e- (Upsilon) particle list.
void defineHisto() override
Definition of the histograms.
Abstract base class for different kinds of events.