ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkTau
DerivationFrameworkTau
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
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
17
#include "GaudiKernel/ToolHandle.h"
18
#include "
TauAnalysisTools/ITauTruthMatchingTool.h
"
19
#include "
StoreGate/ReadHandleKey.h
"
20
#include "
StoreGate/WriteDecorHandleKey.h
"
21
#include "
xAODTau/TauJetContainer.h
"
22
26
27
namespace
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
:
38
SG::ReadHandleKey<xAOD::TauJetContainer>
m_tauKey
39
{
this
,
"TauContainerName"
,
"TauJets"
,
"ReadHandleKey for input TauJetContainer"
};
40
41
ToolHandle < TauAnalysisTools::ITauTruthMatchingTool >
m_tTauTruthMatchingTool
{
this
,
"TauTruthMatchingTool"
,
"TauAnalysisTools::TauTruthMatchingTool"
};
42
43
SG::WriteDecorHandleKey<xAOD::TauJetContainer>
m_isTruthMatchedKey
44
{
this
,
"IsTruthMatchedKey"
,
m_tauKey
,
"IsTruthMatched"
,
"WriteDecorHandleKey for IsTruthMatched decoration"
};
45
46
SG::WriteDecorHandleKey<xAOD::TauJetContainer>
m_truthJetLinkKey
47
{
this
,
"TruthJetLinkKey"
,
m_tauKey
,
"truthJetLink"
,
"WriteDecorHandleKey for truthJetLink decoration"
};
48
49
SG::WriteDecorHandleKey<xAOD::TauJetContainer>
m_truthParticleLinkKey
50
{
this
,
"TruthParticleLinkKey"
,
m_tauKey
,
"truthParticleLink"
,
"WriteDecorHandleKey for truthParticleLink decoration"
};
51
52
};
53
}
54
55
#endif
AthAlgTool.h
IAugmentationTool.h
ITauTruthMatchingTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
TauJetContainer.h
DerivationFramework::TauTruthMatchingWrapper
Definition
TauTruthMatchingWrapper.h:29
DerivationFramework::TauTruthMatchingWrapper::initialize
virtual StatusCode initialize() override final
Definition
TauTruthMatchingWrapper.cxx:15
DerivationFramework::TauTruthMatchingWrapper::m_tauKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauKey
Definition
TauTruthMatchingWrapper.h:39
DerivationFramework::TauTruthMatchingWrapper::m_truthParticleLinkKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_truthParticleLinkKey
Definition
TauTruthMatchingWrapper.h:50
DerivationFramework::TauTruthMatchingWrapper::m_isTruthMatchedKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_isTruthMatchedKey
Definition
TauTruthMatchingWrapper.h:44
DerivationFramework::TauTruthMatchingWrapper::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
TauTruthMatchingWrapper.cxx:26
DerivationFramework::TauTruthMatchingWrapper::m_truthJetLinkKey
SG::WriteDecorHandleKey< xAOD::TauJetContainer > m_truthJetLinkKey
Definition
TauTruthMatchingWrapper.h:47
DerivationFramework::TauTruthMatchingWrapper::m_tTauTruthMatchingTool
ToolHandle< TauAnalysisTools::ITauTruthMatchingTool > m_tTauTruthMatchingTool
Definition
TauTruthMatchingWrapper.h:41
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
Generated on
for ATLAS Offline Software by
1.17.0