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 defineHisto() override;
53
54 private:
59
60 // ======== Hitograms for run dependence
61 // ----- Efficiency of L1 bits
62 TH1F* m_h_L1ECL1x1 = nullptr;
63 TH1F* m_h_L1ECL1x3 = nullptr;
64 TH1F* m_h_L1CDC1x1 = nullptr;
65 TH1F* m_h_L1CDC1x3 = nullptr;
66 TH1F* m_h_L1CDCKLM1x1 = nullptr;
67 TH1F* m_h_L1CDCKLM1x3 = nullptr;
68
70 std::array<std::string, 13> m_ECLTrgBit =
71 {"hie", "c4", "eclmumu", "ecltaub2b", "lml0", "lml1", "lml2", "lml4", "lml6", "lml8", "lml12", "lml13", "lml16"};
72
74 std::array<std::string, 9> m_CDCTrgBit =
75 {"ffz", "fzo", "fz30", "fso", "syo", "sso", "szo", "szoecl", "sttz"};
76
78 std::array<std::string, 17> m_CDCKLMTrgBit =
79 {"klm2", "eklm2", "eklmhit", "fwd_seklm", "bwd_seklm", "ieklm1", "mu_pair", "mu_eb2b", "klmb2b", "eklmb2b", "beklm", "zcdcklm1", "zcdcklm2", "cdcklm3", "cdcklm4", "seklm1", "seklm2"};
80
82 std::string m_tautau1x1PListName = "";
83
85 std::string m_tautau1x3PListName = "";
86
88 bool m_ECL_ref = false;
89 bool m_CDC_ref = false;
90
91
92
93 };
94
95}
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
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.