ATLAS Offline Software
Loading...
Searching...
No Matches
JetUsedInFitTrackDecoratorTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#if !defined(XAOD_STANDALONE) && !defined(XAOD_ANALYSIS)
7// Includes from this package:
9
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
18 ATH_MSG_INFO("Initializing tool " << name() << "...");
19 ATH_CHECK(m_decoTool.retrieve());
20 return StatusCode::SUCCESS;
21}
22
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
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
#define ATH_MSG_DEBUG(x)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ToolHandle< InDet::IInDetUsedInFitTrackDecoratorTool > m_decoTool
JetUsedInFitTrackDecoratorTool(const std::string &name)
StatusCode initialize()
Dummy implementation of the initialisation function.
int execute() const
Method to be called for each event.
AsgTool(const std::string &name)
Constructor specifying the tool instance's name.
Definition AsgTool.cxx:58