Belle II Software prerelease-11-00-00c
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 {
30 public:
31
36
40 void initialize() override;
41
45 void beginRun() override;
46
50 void event() override;
51
55 void endRun() override;
56
60 void terminate() override;
61
65 void defineHisto() override;
66
67 private:
72
73 // ======== Hitograms for run dependence
74 // ----- Efficiency of L1 bits
75 TH1F* m_h_L1ECL1x1 = nullptr;
76 TH1F* m_h_L1ECL1x3 = nullptr;
77 TH1F* m_h_L1CDC1x1 = nullptr;
78 TH1F* m_h_L1CDC1x3 = nullptr;
79 TH1F* m_h_L1CDCKLM1x1 = nullptr;
80 TH1F* m_h_L1CDCKLM1x3 = nullptr;
81
83 std::array<std::string, 13> m_ECLTrgBit =
84 {"hie", "c4", "eclmumu", "ecltaub2b", "lml0", "lml1", "lml2", "lml4", "lml6", "lml8", "lml12", "lml13", "lml16"};
85
87 std::array<std::string, 9> m_CDCTrgBit =
88 {"ffz", "fzo", "fz30", "fso", "syo", "sso", "szo", "szoecl", "sttz"};
89
91 std::array<std::string, 17> m_CDCKLMTrgBit =
92 {"klm2", "eklm2", "eklmhit", "fwd_seklm", "bwd_seklm", "ieklm1", "mu_pair", "mu_eb2b", "klmb2b", "eklmb2b", "beklm", "zcdcklm1", "zcdcklm2", "cdcklm3", "cdcklm4", "seklm1", "seklm2"};
93
95 std::string m_tautau1x1PListName = "";
96
98 std::string m_tautau1x3PListName = "";
99
101 bool m_ECL_ref = false;
102 bool m_CDC_ref = false;
103
104
105
106 };
107
108}
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.
std::array< std::string, 9 > m_CDCTrgBit
Array of CDC trigger bits.
TH1F * m_h_L1CDC1x1
histogram for efficiency of CDC TRG bits using 1x1 prong tau pairs
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, 13 > m_ECLTrgBit
Array of ECL trigger bits.
bool m_ECL_ref
Reference bits for L1 Trigger efficiency monitor.
std::array< std::string, 17 > m_CDCKLMTrgBit
Array of KLM and CDC-KLM bits.
void defineHisto() override
Definition of the histograms.
Abstract base class for different kinds of events.