ATLAS Offline Software
Loading...
Searching...
No Matches
ChargeSelectorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef EVENT_SELECTOR_CHARGESELECTORALG_H
8#define EVENT_SELECTOR_CHARGESELECTORALG_H
9
10// Algorithm includes
18
19// Framework includes
25
26namespace CP {
27
30
31 class ChargeSelectorAlg final : public EL::AnaAlgorithm {
32
33 public:
35 ChargeSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
36 virtual StatusCode initialize() override;
37 virtual StatusCode execute() override;
38
39 private:
40
42 Gaudi::Property<bool> m_OSmode {this, "OS", true, "whether to request 2 opposite-sign leptons"};
43
46
49 this, "electrons", "", "the electron container to use"
50 };
51
54 this, "electronSelection", "", "the selection on the input electrons"
55 };
56
59 this, "muons", "", "the muon container to use"
60 };
61
64 this, "muonSelection", "", "the selection on the input muons"
65 };
66
69 this, "taus", "", "the tau-jet container to use"
70 };
71
74 this, "tauSelection", "", "the selection on the input tau-jets"
75 };
76
79 this, "truthElectrons", "", "the truth electron container to use"
80 };
81
84 this, "truthElectronSelection", "", "the selection on the input truth electrons"
85 };
86
89 this, "truthMuons", "", "the truth muon container to use"
90 };
91
94 this, "truthMuonSelection", "", "the selection on the input truth muons"
95 };
96
99 this, "truthTaus", "", "the truth tau container to use"
100 };
101
104 this, "truthTauSelection", "", "the selection on the input truth taus"
105 };
106
109 this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
110 };
111
114 this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
115 };
116
119 this, "decorationName", "SetMe", "decoration name for the MLL selector"
120 };
121
122 }; // class
123} // namespace CP
124
125#endif // EVENT_SELECTOR_CHARGESELECTORALG_H
CP::SysReadSelectionHandle m_tauSelection
the tau-jet selection handle
CP::SysReadSelectionHandle m_electronTruthSelection
the truth electron selection handle
CP::SysReadSelectionHandle m_muonTruthSelection
the truth muon selection handle
CP::SysReadSelectionHandle m_preselection
the preselection
CP::SysReadSelectionHandle m_tauTruthSelection
the truth muon selection handle
CP::SysReadHandle< xAOD::ElectronContainer > m_electronsHandle
the electron input handle
CP::SysReadHandle< xAOD::TruthParticleContainer > m_electronsTruthHandle
the truth electron input handle
virtual StatusCode execute() override
CP::SysWriteSelectionHandle m_decoration
the output decoration handle
virtual StatusCode initialize() override
CP::SysReadHandle< xAOD::MuonContainer > m_muonsHandle
the muon input handle
CP::SysReadHandle< xAOD::TruthParticleContainer > m_tausTruthHandle
the truth tau input handle
ChargeSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
CP::SysReadHandle< xAOD::TruthParticleContainer > m_muonsTruthHandle
the truth muon input handle
CP::SysReadHandle< xAOD::TauJetContainer > m_tausHandle
the tau-jet input handle
CP::SysListHandle m_systematicsList
the systematics list
Gaudi::Property< bool > m_OSmode
whether or not to select 2 opposite-sign leptons
CP::SysReadSelectionHandle m_electronSelection
the electron selection handle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
CP::SysReadSelectionHandle m_muonSelection
the muon selection handle
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
a data handle for writing systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
Select isolated Photons, Electrons and Muons.