Belle II Software  release-06-00-14
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:
30 
31  void initialize() override;
32  void beginRun() override;
33  void event() override;
34  void endRun() override;
35  void terminate() override;
36 
37  void defineHisto() override;
38 
39  private:
40  // ======== Hitograms for run dependence
41  // ----- IP position
42  /* TH1F* m_h_vx = nullptr;/\**< histogram for x coordiate of IP position *\/ */
43  /* TH1F* m_h_vy = nullptr;/\**< histogram for y coordiate of IP position *\/ */
44  /* TH1F* m_h_vz = nullptr;/\**< histogram for z coordiate of IP position *\/ */
45  // ----- Detector Hits
46  TH1F* m_h_npxd = nullptr;
47  TH1F* m_h_nsvd = nullptr;
48  TH1F* m_h_ncdc = nullptr;
49  TH1F* m_h_topdig = nullptr;
50  TH1F* m_h_DetPhotonARICH = nullptr;
51  TH1F* m_h_klmTotalHits = nullptr;
52  TH1F* m_h_klmTotalBarrelHits = nullptr;
53  TH1F* m_h_klmTotalEndcapHits = nullptr;
54  TH1F* m_h_klmClusterLayers = nullptr;
55  // ----- Resolution
56  TH1F* m_h_dD0 = nullptr;
57  TH1F* m_h_dZ0 = nullptr;
58  TH1F* m_h_dPtcms = nullptr;
59  // ----- P-value
60  TH1F* m_h_Pval = nullptr;
61  // ----- Beam BG condition
62  TH1F* m_h_nExtraCDCHits = nullptr;
63  TH1F* m_h_nECLClusters = nullptr;
64  // ----- Nevt/Luminosity
65  TH1F* m_h_muid = nullptr;
66  // ----- D*
67  // ======== Other Hitograms
68  TH1F* m_h_inv_p = nullptr;
69  TH1F* m_h_ndf = nullptr;
70  TH1F* m_h_D0 = nullptr;
71  TH1F* m_h_Z0 = nullptr;
72  TH1F* m_h_theta = nullptr;
73  TH1F* m_h_Phi0 = nullptr;
74  TH1F* m_h_Pt = nullptr;
75  TH1F* m_h_Mom = nullptr;
76  TH1F* m_h_dPhicms = nullptr;
79  std::string m_triggerIdentifier = "";
80 
82  std::string m_muPListName = "";
83 
85  std::string m_mumuPListName = "";
86 
87  };
89 }
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
void initialize() override
Function for dynamic initialization of module.
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
Function to process event record.
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
Function to process end_run record.
TH1F * m_h_npxd
histogram for number of PXD hits associated with muon track
void terminate() override
Function to terminate module.
PhysicsObjectsMiraBelleModule()
Constructor, for setting module description and parameters.
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
void beginRun() override
Function to process begin_run record.
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
Function to define histograms.
Abstract base class for different kinds of events.