Belle II Software  release-08-01-10
PhysicsObjectsMiraBelleModule.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  // ----- IP position
67  /* TH1F* m_h_vx = nullptr;/\**< histogram for x coordiate of IP position *\/ */
68  /* TH1F* m_h_vy = nullptr;/\**< histogram for y coordiate of IP position *\/ */
69  /* TH1F* m_h_vz = nullptr;/\**< histogram for z coordiate of IP position *\/ */
70  // ----- Detector Hits
71  TH1F* m_h_npxd = nullptr;
72  TH1F* m_h_nsvd = nullptr;
73  TH1F* m_h_ncdc = nullptr;
74  TH1F* m_h_topdig = nullptr;
75  TH1F* m_h_DetPhotonARICH = nullptr;
76  TH1F* m_h_klmTotalHits = nullptr;
77  TH1F* m_h_klmTotalBarrelHits = nullptr;
78  TH1F* m_h_klmTotalEndcapHits = nullptr;
79  TH1F* m_h_klmClusterLayers = nullptr;
80  // ----- Resolution
81  TH1F* m_h_dD0 = nullptr;
82  TH1F* m_h_dZ0 = nullptr;
83  TH1F* m_h_dPtcms = nullptr;
84  // ----- P-value
85  TH1F* m_h_Pval = nullptr;
86  // ----- Beam BG condition
87  TH1F* m_h_nExtraCDCHits = nullptr;
88  TH1F* m_h_nECLClusters = nullptr;
89  // ----- Nevt/Luminosity
90  TH1F* m_h_muid = nullptr;
91  // ----- D*
92  // ======== Other Hitograms
93  TH1F* m_h_inv_p = nullptr;
94  TH1F* m_h_ndf = nullptr;
95  TH1F* m_h_D0 = nullptr;
96  TH1F* m_h_Z0 = nullptr;
97  TH1F* m_h_theta = nullptr;
98  TH1F* m_h_theta_lab = nullptr;
99  TH1F* m_h_Phi0 = nullptr;
100  TH1F* m_h_Pt = nullptr;
101  TH1F* m_h_Mom = nullptr;
102  TH1F* m_h_dPhicms = nullptr;
103  TH1F* m_h_dThetacms = nullptr;
106  std::string m_triggerIdentifier = "";
107 
109  std::string m_muPListName = "";
110 
112  std::string m_mumuPListName = "";
113 
114  };
116 }
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 mu+ and mu-
TH1F * m_h_D0
histogram for D0 of muon track
std::string m_muPListName
Name of the mu+ particle list.
TH1F * m_h_Pt
histogram for Pt of muon track
TH1F * m_h_DetPhotonARICH
histogram for number of photon in ARICH associated with muon track
TH1F * m_h_klmTotalEndcapHits
histogram for number of EKLM hits associated with muon track
TH1F * m_h_dPhicms
histogram for phi difference between mu+ and mu- in CMS
TH1F * m_h_Mom
histogram for Momentum of muon track
void event() override
This method is called for each event.
TH1F * m_h_dPtcms
histogram for Pt difference between mu+ and mu-
TH1F * m_h_theta
histogram for theta of muon track
TH1F * m_h_ncdc
histogram for number of CDC hits associated with muon 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 muon 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_klmTotalBarrelHits
histogram for number of BKLM hits associated with muon track
TH1F * m_h_dThetacms
histogram for theta difference between mu+ and mu- in CMS
void beginRun() override
Called when entering a new run.
TH1F * m_h_theta_lab
histogram for theta of muon track in lab frame
TH1F * m_h_klmTotalHits
histogram for number of KLM hits associated with muon track
TH1F * m_h_nsvd
histogram for number of SVD hits associated with muon track
std::string m_mumuPListName
Name of the mu+mu- (Upsilon) particle list.
TH1F * m_h_Z0
histogram for Z0 of muon 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 mu+ and mu-
TH1F * m_h_topdig
histogram for TOP digits associated with muon track
TH1F * m_h_inv_p
histogram for invariant mass of di-muon
TH1F * m_h_klmClusterLayers
histogram for number of KLM layers with cluster associated with muon track
TH1F * m_h_Pval
histogram for Pvalue of tracks in CDC
TH1F * m_h_Phi0
histogram for phi of muon track
TH1F * m_h_nECLClusters
histogram for ECL clusters
void defineHisto() override
Definition of the histograms.
Abstract base class for different kinds of events.