ATLAS Offline Software
Loading...
Searching...
No Matches
TauTruthMatchingWrapper.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// TauTruthMatchingWrapper.h
7// Author: Evelina Bouhova-Thacker (e.bouhova@cern.ch)
9
10#ifndef DERIVATIONFRAMEWORK_TAUTRUTHMATCHINGWRAPPER_H
11#define DERIVATIONFRAMEWORK_TAUTRUTHMATCHINGWRAPPER_H
12
13#include <string>
14
17#include "GaudiKernel/ToolHandle.h"
22
26
27namespace DerivationFramework {
28
29 class TauTruthMatchingWrapper : public extends<AthAlgTool, IAugmentationTool> {
30 public:
31
32 using base_class::base_class;
33
34 virtual StatusCode initialize() override final;
35 virtual StatusCode addBranches(const EventContext& ctx) const override final;
36
37 private:
39 {this, "TauContainerName", "TauJets", "ReadHandleKey for input TauJetContainer"};
40
41 ToolHandle < TauAnalysisTools::ITauTruthMatchingTool > m_tTauTruthMatchingTool{this, "TauTruthMatchingTool", "TauAnalysisTools::TauTruthMatchingTool"};
42
44 {this, "IsTruthMatchedKey", m_tauKey, "IsTruthMatched", "WriteDecorHandleKey for IsTruthMatched decoration"};
45
47 {this, "TruthJetLinkKey", m_tauKey, "truthJetLink", "WriteDecorHandleKey for truthJetLink decoration"};
48
50 {this, "TruthParticleLinkKey", m_tauKey, "truthParticleLink", "WriteDecorHandleKey for truthParticleLink decoration"};
51
52 };
53}
54
55#endif
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.
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_truthParticleLinkKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_isTruthMatchedKey
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_truthJetLinkKey
ToolHandle< TauAnalysisTools::ITauTruthMatchingTool > m_tTauTruthMatchingTool
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.
THE reconstruction tool.