5#ifndef SOFT_ELECTRON_SELECTION_ALG_HH
6#define SOFT_ELECTRON_SELECTION_ALG_HH
30 ISvcLocator* pSvcLocator);
33 virtual StatusCode
execute(
const EventContext&)
const override;
45 this,
"jetContainer",
"AntiKt4EMPFlowJets",
46 "Key for the input jet collection"};
49 this,
"electronContainer",
"Electrons",
50 "Key for the input electron collection"};
56 "Input decoration: FTag ghost-associated electron links per jet"};
60 this,
"selectedElectronsKey",
"AntiKt4EMPFlowJets.GhostFTagSelectedElectrons",
61 "Output decoration: selected electron links per jet"};
65 this,
"energyOverPKey",
"Electrons.ftag_energyOverP",
66 "E/p decoration on electrons"};
69 this,
"etKey",
"Electrons.ftag_et",
70 "ET decoration on electrons"};
73 this,
"isoOverPtKey",
"Electrons.ftag_ptVarCone30OverPt",
74 "Isolation/pT decoration on electrons"};
77 this,
"dpopKey",
"Electrons.ftag_deltaPOverP",
78 "deltaPOverP decoration on electrons"};
82 this,
"ptMinimum", 1000.,
"Minimum electron pT [MeV]"};
84 this,
"ptMaximum", 500000.,
"Maximum electron pT [MeV]"};
86 this,
"absEtaMaximum", 2.5,
"Maximum |eta|"};
88 this,
"d0Maximum", 1.,
"Maximum |d0| [mm]"};
90 this,
"eopMaximum", 30.,
"Maximum |E/p|"};
92 this,
"etMaximum", 50000.,
"Maximum ET [MeV]"};
94 this,
"isoptMaximum", 40.,
"Maximum |ptVarCone30/pT|"};
96 this,
"ptrelMaximum", 5000.,
"Maximum ptrel [MeV]"};
98 this,
"rhad1Maximum", 4.,
"Maximum |Rhad1|"};
100 this,
"wstotMaximum", 20.,
"Maximum |wtots1|"};
102 this,
"rphiMaximum", 2.,
"Maximum |Rphi|"};
104 this,
"retaMaximum", 2.,
"Maximum |Reta|"};
106 this,
"deta1Maximum", 10.,
"Maximum |deltaEta1|"};
108 this,
"dpopMaximum", 5.,
"Maximum |deltaPOverP|"};
110 this,
"maxDeltaR", -1.,
111 "Maximum DeltaR(jet, electron); <=0 disables the cut "
112 "(rely on ghost-association alone)"};
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< float > m_rphiMaximum
SG::ReadDecorHandleKey< xAOD::ElectronContainer > m_dpopKey
SG::ReadDecorHandleKey< xAOD::JetContainer > m_ghostElectronsKey
virtual StatusCode initialize() override
Gaudi::Property< float > m_wstotMaximum
Gaudi::Property< float > m_deta1Maximum
SoftElectronSelectionAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< float > m_etMaximum
Gaudi::Property< float > m_retaMaximum
Gaudi::Property< float > m_ptMaximum
SG::ReadDecorHandleKey< xAOD::ElectronContainer > m_etKey
SG::ReadDecorHandleKey< xAOD::ElectronContainer > m_isoOverPtKey
virtual StatusCode execute(const EventContext &) const override
Gaudi::Property< float > m_isoptMaximum
Gaudi::Property< float > m_d0Maximum
bool passedCuts(const xAOD::Jet &jet, const xAOD::Electron &el, float energyOverP, float et, float isoOverPt, float dpop) const
Gaudi::Property< float > m_eopMaximum
Gaudi::Property< float > m_rhad1Maximum
Gaudi::Property< float > m_ptMinimum
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronContainerKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_selectedElectronsKey
Gaudi::Property< float > m_dpopMaximum
Gaudi::Property< float > m_maxDeltaR
Gaudi::Property< float > m_ptrelMaximum
SG::ReadDecorHandleKey< xAOD::ElectronContainer > m_energyOverPKey
Gaudi::Property< float > m_absEtaMaximum
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Jet_v1 Jet
Definition of the current "jet version".
Electron_v1 Electron
Definition of the current "egamma version".
Extra patterns decribing particle interation process.