Belle II Software  release-05-02-19
PhysicsObjectsMiraBelleModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2020 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Shun Watanuki *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 //#include <framework/core/Module.h>
12 #include <framework/core/HistoModule.h>
13 #include <string>
14 #include "TH1F.h"
15 
16 namespace Belle2 {
28  class PhysicsObjectsMiraBelleModule : public HistoModule {
29  public:
32 
33  void initialize() override;
34  void beginRun() override;
35  void event() override;
36  void endRun() override;
37  void terminate() override;
38 
39  void defineHisto() override;
40 
41  private:
42  // ======== Hitograms for run dependence
43  // ----- IP position
44  /* TH1F* m_h_vx = nullptr;/\**< histogram for x coordiate of IP position *\/ */
45  /* TH1F* m_h_vy = nullptr;/\**< histogram for y coordiate of IP position *\/ */
46  /* TH1F* m_h_vz = nullptr;/\**< histogram for z coordiate of IP position *\/ */
47  // ----- Detector Hits
48  TH1F* m_h_npxd = nullptr;
49  TH1F* m_h_nsvd = nullptr;
50  TH1F* m_h_ncdc = nullptr;
51  TH1F* m_h_topdig = nullptr;
52  TH1F* m_h_DetPhotonARICH = nullptr;
53  TH1F* m_h_klmTotalHits = nullptr;
54  TH1F* m_h_klmTotalBarrelHits = nullptr;
55  TH1F* m_h_klmTotalEndcapHits = nullptr;
56  TH1F* m_h_klmClusterLayers = nullptr;
57  // ----- Resolution
58  TH1F* m_h_dD0 = nullptr;
59  TH1F* m_h_dZ0 = nullptr;
60  TH1F* m_h_dPtcms = nullptr;
61  // ----- P-value
62  TH1F* m_h_Pval = nullptr;
63  // ----- Beam BG condition
64  TH1F* m_h_nExtraCDCHits = nullptr;
65  TH1F* m_h_nECLClusters = nullptr;
66  // ----- Nevt/Luminosity
67  TH1F* m_h_muid = nullptr;
68  // ----- D*
69  // ======== Other Hitograms
70  TH1F* m_h_inv_p = nullptr;
71  TH1F* m_h_ndf = nullptr;
72  TH1F* m_h_D0 = nullptr;
73  TH1F* m_h_Z0 = nullptr;
74  TH1F* m_h_theta = nullptr;
75  TH1F* m_h_Phi0 = nullptr;
76  TH1F* m_h_Pt = nullptr;
77  TH1F* m_h_Mom = nullptr;
78  TH1F* m_h_dPhicms = nullptr;
81  std::string m_triggerIdentifier = "";
82 
84  std::string m_muPListName = "";
85 
86  };
88 }
Belle2::PhysicsObjectsMiraBelleModule::PhysicsObjectsMiraBelleModule
PhysicsObjectsMiraBelleModule()
Constructor, for setting module description and parameters.
Definition: PhysicsObjectsMiraBelleModule.cc:37
Belle2::PhysicsObjectsMiraBelleModule::m_h_Pt
TH1F * m_h_Pt
histogram for Pt of muon track
Definition: PhysicsObjectsMiraBelleModule.h:84
Belle2::PhysicsObjectsMiraBelleModule::m_h_Z0
TH1F * m_h_Z0
histogram for Z0 of muon track
Definition: PhysicsObjectsMiraBelleModule.h:81
Belle2::PhysicsObjectsMiraBelleModule::event
void event() override
Function to process event record.
Definition: PhysicsObjectsMiraBelleModule.cc:144
Belle2::PhysicsObjectsMiraBelleModule::m_h_topdig
TH1F * m_h_topdig
histogram for TOP digits associated with muon track
Definition: PhysicsObjectsMiraBelleModule.h:59
Belle2::PhysicsObjectsMiraBelleModule::m_h_dPhicms
TH1F * m_h_dPhicms
histogram for phi difference between mu+ and mu- in CMS
Definition: PhysicsObjectsMiraBelleModule.h:86
Belle2::PhysicsObjectsMiraBelleModule::defineHisto
void defineHisto() override
Function to define histograms.
Definition: PhysicsObjectsMiraBelleModule.cc:47
Belle2::PhysicsObjectsMiraBelleModule::m_h_Mom
TH1F * m_h_Mom
histogram for Momentum of muon track
Definition: PhysicsObjectsMiraBelleModule.h:85
Belle2::PhysicsObjectsMiraBelleModule::m_h_Phi0
TH1F * m_h_Phi0
histogram for phi of muon track
Definition: PhysicsObjectsMiraBelleModule.h:83
Belle2::PhysicsObjectsMiraBelleModule::m_h_D0
TH1F * m_h_D0
histogram for D0 of muon track
Definition: PhysicsObjectsMiraBelleModule.h:80
Belle2::PhysicsObjectsMiraBelleModule::m_h_klmClusterLayers
TH1F * m_h_klmClusterLayers
histogram for number of KLM layers with cluster associated with muon track
Definition: PhysicsObjectsMiraBelleModule.h:64
Belle2::PhysicsObjectsMiraBelleModule::m_h_ncdc
TH1F * m_h_ncdc
histogram for number of CDC hits associated with muon track
Definition: PhysicsObjectsMiraBelleModule.h:58
Belle2::PhysicsObjectsMiraBelleModule::m_h_inv_p
TH1F * m_h_inv_p
histogram for invariant mass of di-muon
Definition: PhysicsObjectsMiraBelleModule.h:78
Belle2::PhysicsObjectsMiraBelleModule::terminate
void terminate() override
Function to terminate module.
Definition: PhysicsObjectsMiraBelleModule.cc:259
Belle2::PhysicsObjectsMiraBelleModule::m_h_muid
TH1F * m_h_muid
histogram for muon ID
Definition: PhysicsObjectsMiraBelleModule.h:75
Belle2::PhysicsObjectsMiraBelleModule::m_triggerIdentifier
std::string m_triggerIdentifier
Trigger identifier string used to select events for the histograms.
Definition: PhysicsObjectsMiraBelleModule.h:89
Belle2::PhysicsObjectsMiraBelleModule::beginRun
void beginRun() override
Function to process begin_run record.
Definition: PhysicsObjectsMiraBelleModule.cc:115
Belle2::PhysicsObjectsMiraBelleModule::m_h_Pval
TH1F * m_h_Pval
histogram for Pvalue of tracks in CDC
Definition: PhysicsObjectsMiraBelleModule.h:70
Belle2::PhysicsObjectsMiraBelleModule::m_h_ndf
TH1F * m_h_ndf
histogram for n.d.f.
Definition: PhysicsObjectsMiraBelleModule.h:79
Belle2::PhysicsObjectsMiraBelleModule::endRun
void endRun() override
Function to process end_run record.
Definition: PhysicsObjectsMiraBelleModule.cc:255
Belle2::PhysicsObjectsMiraBelleModule::m_h_DetPhotonARICH
TH1F * m_h_DetPhotonARICH
histogram for number of photon in ARICH associated with muon track
Definition: PhysicsObjectsMiraBelleModule.h:60
Belle2::PhysicsObjectsMiraBelleModule::m_h_theta
TH1F * m_h_theta
histogram for theta of muon track
Definition: PhysicsObjectsMiraBelleModule.h:82
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PhysicsObjectsMiraBelleModule::m_h_dD0
TH1F * m_h_dD0
histogram for D0 difference between mu+ and mu-
Definition: PhysicsObjectsMiraBelleModule.h:66
Belle2::PhysicsObjectsMiraBelleModule::m_h_klmTotalBarrelHits
TH1F * m_h_klmTotalBarrelHits
histogram for number of BKLM hits associated with muon track
Definition: PhysicsObjectsMiraBelleModule.h:62
Belle2::PhysicsObjectsMiraBelleModule::m_h_nExtraCDCHits
TH1F * m_h_nExtraCDCHits
histogram for number of CDC hits not associated with any tracks
Definition: PhysicsObjectsMiraBelleModule.h:72
Belle2::PhysicsObjectsMiraBelleModule::m_h_nECLClusters
TH1F * m_h_nECLClusters
histogram for ECL clusters
Definition: PhysicsObjectsMiraBelleModule.h:73
Belle2::PhysicsObjectsMiraBelleModule::m_muPListName
std::string m_muPListName
Name of the mu+ particle list.
Definition: PhysicsObjectsMiraBelleModule.h:92
Belle2::PhysicsObjectsMiraBelleModule::m_h_dZ0
TH1F * m_h_dZ0
histogram for Z0 difference between mu+ and mu-
Definition: PhysicsObjectsMiraBelleModule.h:67
Belle2::PhysicsObjectsMiraBelleModule::m_h_nsvd
TH1F * m_h_nsvd
histogram for number of SVD hits associated with muon track
Definition: PhysicsObjectsMiraBelleModule.h:57
Belle2::PhysicsObjectsMiraBelleModule::m_h_klmTotalHits
TH1F * m_h_klmTotalHits
histogram for number of KLM hits associated with muon track
Definition: PhysicsObjectsMiraBelleModule.h:61
Belle2::PhysicsObjectsMiraBelleModule::initialize
void initialize() override
Function for dynamic initialization of module.
Definition: PhysicsObjectsMiraBelleModule.cc:107
Belle2::PhysicsObjectsMiraBelleModule::m_h_dPtcms
TH1F * m_h_dPtcms
histogram for Pt difference between mu+ and mu-
Definition: PhysicsObjectsMiraBelleModule.h:68
Belle2::PhysicsObjectsMiraBelleModule::m_h_npxd
TH1F * m_h_npxd
histogram for number of PXD hits associated with muon track
Definition: PhysicsObjectsMiraBelleModule.h:56
Belle2::PhysicsObjectsMiraBelleModule::m_h_klmTotalEndcapHits
TH1F * m_h_klmTotalEndcapHits
histogram for number of EKLM hits associated with muon track
Definition: PhysicsObjectsMiraBelleModule.h:63