ATLAS Offline Software
Loading...
Searching...
No Matches
SumNLeptonPtSelectorAlg.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_SUMNLEPTONPTSELECTORALG_H
8#define EVENT_SELECTOR_SUMNLEPTONPTSELECTORALG_H
9
10// Algorithm includes
16
17// Framework includes
20
22
23namespace CP {
24
27
29
31 public:
32 SumNLeptonPtSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
33 virtual StatusCode initialize() override;
34 virtual StatusCode execute() override;
35
36 private:
37
39 Gaudi::Property<float> m_elptmin {this, "minPtEl", 0., "minimum electron pT (in MeV)"};
40
42 Gaudi::Property<float> m_muptmin {this, "minPtMu", 0., "minimum muon pT (in MeV)"};
43
45 Gaudi::Property<float> m_tauptmin {this, "minPtTau", 0., "minimum tau pT (in MeV)"};
46
48 Gaudi::Property<std::string> m_sign {this, "sign", "SetMe", "comparison sign to use"};
49
51 Gaudi::Property<int> m_count {this, "count", 0, "count value"};
52
54 Gaudi::Property<bool> m_useDressedProperties{this, "useDressedProperties", false,
55 "whether to use dressed lepton kinematics rather than simple P4 kinematics"};
56
59
62
65 this, "electrons", "", "the electron container to use"
66 };
67
70 this, "electronSelection", "", "the selection on the input electrons"
71 };
72
75 this, "muons", "", "the muon container to use"
76 };
77
80 this, "muonSelection", "", "the selection on the input muons"
81 };
82
85 this, "taus", "", "the taus container to use"
86 };
87
90 this, "tauSelection", "", "the selection on the input taus"
91 };
92
95 this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
96 };
97
100 this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
101 };
102
105 this, "decorationName", "SetMe", "decoration name for the NObjects selector"
106 };
107
108 }; // class
109} // namespace CP
110
111#endif // EVENT_SELECTOR_SUMNLEPTONPTSELECTORALG_H
CP::SysListHandle m_systematicsList
the systematics list
CP::SysReadSelectionHandle m_muonSelection
the muons selection
Gaudi::Property< int > m_count
the count of events desired
Gaudi::Property< float > m_muptmin
the pT threshold on which to select electrons
CP::SysReadHandle< xAOD::IParticleContainer > m_tausHandle
the taus handle
Gaudi::Property< std::string > m_sign
the sign against which to compare pT (GT, LT, etc)
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
CP::SysReadSelectionHandle m_electronSelection
the electrons selection
Gaudi::Property< float > m_tauptmin
the pT threshold on which to select taus
Gaudi::Property< float > m_elptmin
the pT threshold on which to select electrons
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electrons handle
CP::SysReadSelectionHandle m_tauSelection
the taus selection
virtual StatusCode initialize() override
SumNLeptonPtSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
CP::SysReadSelectionHandle m_preselection
the preselection
virtual StatusCode execute() override
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
CP::SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muons 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.
ComparisonOperator
all possible comparison user inputs
Definition SignEnums.h:18