5#ifndef FLAVORTAGJETDECORATORS_JETOVERLAPLEPTON_DECORATORALG_H
6#define FLAVORTAGJETDECORATORS_JETOVERLAPLEPTON_DECORATORALG_H
38 ISvcLocator* pSvcLocator);
41 virtual StatusCode
execute(
const EventContext& ctx)
const override;
46 this,
"JetContainer",
"AntiKt4EMPFlowJets",
"Jet container"};
48 this,
"TruthElectronContainer",
"TruthElectrons",
49 "Truth electron container"};
51 this,
"TruthMuonContainer",
"TruthMuons",
52 "Truth muon container"};
58 "classifierParticleOrigin",
59 "MCTruthClassifier origin on truth electrons"};
62 "classifierParticleOrigin",
63 "MCTruthClassifier origin on truth muons"};
67 this,
"OverlapDR", 0.4f,
68 "Maximum DeltaR(jet, lepton) for overlap"};
70 this,
"PtMinimum", 2000.f,
71 "Minimum lepton pT [MeV]"};
73 this,
"AbsEtaMaximum", 2.9f,
74 "Maximum |eta| for lepton selection"};
78 this,
"hasOverlapLeptonKey",
m_jetKey,
"ftag_hasOverlapLepton",
79 "Whether jet overlaps with a truth lepton from W/Z/top"};
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.
SG::ReadHandleKey< xAOD::JetContainer > m_jetKey
JetOverlapLeptonDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthElectronKey
Gaudi::Property< float > m_ptMinimum
Gaudi::Property< float > m_absEtaMaximum
SG::WriteDecorHandleKey< xAOD::JetContainer > m_dec_hasOverlapLepton
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthMuonKey
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_truthElectronOriginKey
Gaudi::Property< float > m_overlapDR
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_truthMuonOriginKey
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
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.