Belle II Software development
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
14namespace Belle2 {
24 public:
25
30
34 void initialize() override;
35
39 void beginRun() override;
40
44 void event() override;
45
49 void endRun() override;
50
54 void terminate() override;
55
59 void defineHisto() override;
60
61 private:
62 // ======== Hitograms for run dependence
63 // ----- Detector Hits
64 TH1F* m_h_npxd = nullptr;
65 TH1F* m_h_nsvd = nullptr;
66 TH1F* m_h_ncdc = nullptr;
67 TH1F* m_h_topdig = nullptr;
68 TH1F* m_h_DetPhotonARICH = nullptr;
69 // ----- Resolution
70 TH1F* m_h_dD0 = nullptr;
71 TH1F* m_h_dZ0 = nullptr;
72 TH1F* m_h_dPtcms = nullptr;
73 // ----- P-value
74 TH1F* m_h_Pval = nullptr;
75 // ----- Beam BG condition
76 TH1F* m_h_nExtraCDCHits = nullptr;
77 TH1F* m_h_nECLClusters = nullptr;
78 // ----- Nevt/Luminosity
79 TH1F* m_h_electronid = nullptr;
80 // ======== Other Hitograms
81 TH1F* m_h_inv_p = nullptr;
82 TH1F* m_h_ndf = nullptr;
83 TH1F* m_h_D0 = nullptr;
84 TH1F* m_h_Z0 = nullptr;
85 TH1F* m_h_theta = nullptr;
86 TH1F* m_h_theta_lab = nullptr;
87 TH1F* m_h_Phi0 = nullptr;
88 TH1F* m_h_Pt = nullptr;
89 TH1F* m_h_Mom = nullptr;
90 TH1F* m_h_dPhicms = nullptr;
91 TH1F* m_h_dThetacms = nullptr;
94 std::string m_triggerIdentifier = "";
95
97 std::string m_ePListName = "";
98
100 std::string m_bhabhaPListName = "";
101
102 };
104}
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
std::string m_ePListName
Name of the e+ particle list.
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.