5#ifndef TRUTH_TAU_DECORATOR_ALG_H
6#define TRUTH_TAU_DECORATOR_ALG_H
38 virtual StatusCode
execute(
const EventContext& ctx)
const override;
45 this,
"JetContainer",
"AntiKt4EMPFlowJets",
"Jet container"};
47 this,
"TruthTauContainer",
"TruthTaus",
"Truth tau container"};
50 this,
"MaxDeltaR", 0.3f,
"Max delta R for matching"};
53 this,
"TauTruthMatchingTool",
54 "TauAnalysisTools::TauTruthMatchingTool/TauTruthMatchingTool",
55 "Tool to compute truth tau decay mode"};
59 this,
"matchedToKey",
m_jetKey,
"matchedToTruthTaus",
60 "Whether jet is matched to a truth tau"};
62 this,
"isHadronicTauKey",
m_jetKey,
"isHadronicTauFromTruthTaus",
63 "Whether matched tau is hadronic"};
65 this,
"decayModeKey",
m_jetKey,
"decayModeFromTruthTaus",
66 "Decay mode of matched tau"};
68 this,
"deltaPtKey",
m_jetKey,
"deltaPtToTruthTaus",
69 "Jet pT minus tau visible pT"};
71 this,
"ptVisKey",
m_jetKey,
"pt_visFromTruthTaus",
72 "Visible pT of matched tau"};
74 this,
"classifierOutComeKey",
m_jetKey,
75 "classifierParticleOutComeFromTruthTaus",
76 "Classifier particle outcome of matched tau"};
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::WriteDecorHandleKey< JC > m_dec_decayMode
SG::WriteDecorHandleKey< JC > m_dec_deltaPt
ToolHandle< TauAnalysisTools::ITauTruthMatchingTool > m_tauTruthTool
SG::ReadHandleKey< TPC > m_truthTauKey
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteDecorHandleKey< JC > m_dec_isHadTau
SG::WriteDecorHandleKey< JC > m_dec_classifierOutcome
Gaudi::Property< float > m_maxDeltaR
TruthTauDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
xAOD::TruthParticleContainer TPC
SG::ReadHandleKey< JC > m_jetKey
SG::WriteDecorHandleKey< JC > m_dec_matched
SG::WriteDecorHandleKey< JC > m_dec_ptVis
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.
JetContainer_v1 JetContainer
Definition of the current "jet container version".
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.