Belle II Software development
PhysicsObjectsMiraBelleTauModule.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#pragma once
10
11#include <framework/core/HistoModule.h>
12
13#include <TH1F.h>
14
15#include <string>
16
17namespace 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:
69
70 // ======== Hitograms for run dependence
71 // ----- Efficiency of L1 bits
72 TH1F* m_h_L1ECL1x1 = nullptr;
73 TH1F* m_h_L1ECL1x3 = nullptr;
74 TH1F* m_h_L1CDC1x1 = nullptr;
75 TH1F* m_h_L1CDC1x3 = nullptr;
76 TH1F* m_h_L1CDCKLM1x1 = nullptr;
77 TH1F* m_h_L1CDCKLM1x3 = nullptr;
78
80 std::array<std::string, 14> m_ECLTrgBit =
81 {"hie", "c4", "eclmumu", "lml0", "lml1", "lml2", "lml4", "lml6", "lml7", "lml8", "lml9", "lml10", "lml12", "lml13"};
82
84 std::array<std::string, 17> m_CDCTrgBit =
85 {"ff30", "ffo", "fff", "fs30", "ss30", "fso", "sso", "ffs", "fss", "sss", "fy30", "fyo", "syo", "ffy", "fyy", "yyy", "y"};
86
88 std::array<std::string, 6> m_CDCKLMTrgBit =
89 {"mu_b2b", "mu_eb2b", "cdcklm1", "cdcklm2", "seklm1", "seklm2"};
90
92 std::string m_tautau1x1PListName = "";
93
95 std::string m_tautau1x3PListName = "";
96
98 bool m_ECL_ref = false;
99 bool m_CDC_ref = false;
100
101
102
103 };
104
105}
HistoModule()
Constructor.
Definition HistoModule.h:32
std::string m_tautau1x3PListName
Name of the tau+tau- (1x3) particle list.
TH1F * m_h_L1ECL1x1
histogram for efficiency of ECL TRG bits using 1x1 prong tau pairs
TH1F * m_h_L1ECL1x3
histogram for efficiency of ECL TRG bits using 1x3 prong tau pairs
std::string m_triggerIdentifierTauNtrk
Trigger identifier string used to select 1x3 tau pairs for the histograms.
void event() override
This method is called for each event.
TH1F * m_h_L1CDCKLM1x3
histogram for efficiency of CDC-KLM TRG bits using 1x3 prong tau pairs
void endRun() override
This method is called if the current run ends.
void terminate() override
This method is called at the end of the event processing.
TH1F * m_h_L1CDC1x1
histogram for efficiency of CDC TRG bits using 1x1 prong tau pairs
std::array< std::string, 14 > m_ECLTrgBit
Array of ECL trigger bits.
TH1F * m_h_L1CDCKLM1x1
histogram for efficiency of CDC-KLM TRG bits using 1x1 prong tau pairs
void beginRun() override
Called when entering a new run.
TH1F * m_h_L1CDC1x3
histogram for efficiency of CDC TRG bits using 1x3 prong tau pairs
std::string m_tautau1x1PListName
Name of the tau+tau- (1x1) particle list.
std::string m_triggerIdentifierTau2trk
Trigger identifier string used to select 1x1 tau pairs for the histograms.
std::array< std::string, 6 > m_CDCKLMTrgBit
Array of KLM and CDC-KLM bits.
std::array< std::string, 17 > m_CDCTrgBit
Array of CDC trigger bits.
bool m_ECL_ref
Reference bits for L1 Trigger efficiency monitor.
void defineHisto() override
Definition of the histograms.
Abstract base class for different kinds of events.