#include <TauTruthMatchingWrapper.h>
|
| virtual StatusCode | initialize () override final |
| virtual StatusCode | addBranches (const EventContext &ctx) const override final |
|
| SG::ReadHandleKey< xAOD::TauJetContainer > | m_tauKey {this, "TauContainerName", "TauJets", "ReadHandleKey for input TauJetContainer"} |
| ToolHandle< TauAnalysisTools::ITauTruthMatchingTool > | m_tTauTruthMatchingTool {this, "TauTruthMatchingTool", "TauAnalysisTools::TauTruthMatchingTool"} |
| SG::WriteDecorHandleKey< xAOD::TauJetContainer > | m_isTruthMatchedKey {this, "IsTruthMatchedKey", m_tauKey, "IsTruthMatched", "WriteDecorHandleKey for IsTruthMatched decoration"} |
| SG::WriteDecorHandleKey< xAOD::TauJetContainer > | m_truthJetLinkKey {this, "TruthJetLinkKey", m_tauKey, "truthJetLink", "WriteDecorHandleKey for truthJetLink decoration"} |
| SG::WriteDecorHandleKey< xAOD::TauJetContainer > | m_truthParticleLinkKey {this, "TruthParticleLinkKey", m_tauKey, "truthParticleLink", "WriteDecorHandleKey for truthParticleLink decoration"} |
Definition at line 29 of file TauTruthMatchingWrapper.h.
◆ addBranches()
| StatusCode DerivationFramework::TauTruthMatchingWrapper::addBranches |
( |
const EventContext & | ctx | ) |
const |
|
finaloverridevirtual |
Definition at line 26 of file TauTruthMatchingWrapper.cxx.
27 {
28
29
30
31 SG::ReadHandle<xAOD::TauJetContainer> xTauContainer(
m_tauKey,ctx);
32 if (!xTauContainer.isValid()) {
34 return StatusCode::FAILURE;
35 }
36
37
38 std::unique_ptr<TauAnalysisTools::ITauTruthMatchingTool::ITruthTausEvent>
40 for(auto xTau : *xTauContainer)
43
44 return StatusCode::SUCCESS;
45 }
#define ATH_CHECK
Evaluate an expression and check for errors.
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauKey
ToolHandle< TauAnalysisTools::ITauTruthMatchingTool > m_tTauTruthMatchingTool
◆ initialize()
| StatusCode DerivationFramework::TauTruthMatchingWrapper::initialize |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 15 of file TauTruthMatchingWrapper.cxx.
16 {
22 return StatusCode::SUCCESS;
23 }
#define CHECK(...)
Evaluate an expression and check for errors.
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_truthParticleLinkKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_isTruthMatchedKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_truthJetLinkKey
◆ m_isTruthMatchedKey
◆ m_tauKey
Definition at line 38 of file TauTruthMatchingWrapper.h.
39{this, "TauContainerName", "TauJets", "ReadHandleKey for input TauJetContainer"};
◆ m_truthJetLinkKey
◆ m_truthParticleLinkKey
Definition at line 49 of file TauTruthMatchingWrapper.h.
50{
this,
"TruthParticleLinkKey",
m_tauKey,
"truthParticleLink",
"WriteDecorHandleKey for truthParticleLink decoration"};
◆ m_tTauTruthMatchingTool
| ToolHandle< TauAnalysisTools::ITauTruthMatchingTool > DerivationFramework::TauTruthMatchingWrapper::m_tTauTruthMatchingTool {this, "TauTruthMatchingTool", "TauAnalysisTools::TauTruthMatchingTool"} |
|
private |
The documentation for this class was generated from the following files: