ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRecTools
Root
JetUsedInFitTrackDecoratorTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#if !defined(XAOD_STANDALONE) && !defined(XAOD_ANALYSIS)
6
#include "
AsgTools/CurrentContext.h
"
7
// Includes from this package:
8
#include "
JetRecTools/JetUsedInFitTrackDecoratorTool.h
"
9
10
JetUsedInFitTrackDecoratorTool::JetUsedInFitTrackDecoratorTool
(
const
std::string& name):
11
asg
::
AsgTool
(name),
12
m_decoTool
(
"InDet::InDetUsedInFitTrackDecoratorTool/IDUsedInFitDecoTool_"
+ name, this)
// TODO Why is the suffix required?
13
{
14
declareProperty
(
"Decorator"
,
m_decoTool
,
"InDet::InDetUsedInFitTrackDecoratorTool instance"
);
15
}
16
17
StatusCode
JetUsedInFitTrackDecoratorTool::initialize
() {
18
ATH_MSG_DEBUG
(
"Initializing tool "
<< name() <<
"..."
);
19
ATH_CHECK
(
m_decoTool
.retrieve());
20
return
StatusCode::SUCCESS;
21
}
22
23
int
JetUsedInFitTrackDecoratorTool::execute
()
const
{
24
ATH_MSG_DEBUG
(
"Executing tool "
<< name() <<
"..."
);
25
const
EventContext& ctx = Gaudi::Hive::currentContext();
26
m_decoTool
->decorate(ctx);
27
return
0;
28
}
29
30
#endif
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:29
CurrentContext.h
JetUsedInFitTrackDecoratorTool.h
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Definition
AthCommonDataStore.h:145
JetUsedInFitTrackDecoratorTool::m_decoTool
ToolHandle< InDet::IInDetUsedInFitTrackDecoratorTool > m_decoTool
Definition
JetUsedInFitTrackDecoratorTool.h:41
JetUsedInFitTrackDecoratorTool::JetUsedInFitTrackDecoratorTool
JetUsedInFitTrackDecoratorTool(const std::string &name)
Definition
JetUsedInFitTrackDecoratorTool.cxx:10
JetUsedInFitTrackDecoratorTool::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
JetUsedInFitTrackDecoratorTool.cxx:17
JetUsedInFitTrackDecoratorTool::execute
int execute() const
Method to be called for each event.
Definition
JetUsedInFitTrackDecoratorTool.cxx:23
asg::AsgTool::AsgTool
AsgTool(const std::string &name)
Constructor specifying the tool instance's name.
Definition
AsgTool.cxx:58
asg
Definition
DataHandleTestTool.h:28
Generated on
for ATLAS Offline Software by
1.17.0