ATLAS Offline Software
Loading...
Searching...
No Matches
JetToolRunner.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5// JetToolRunner.h
6
7#ifndef JetToolRunner_H
8#define JetToolRunner_H
9
10// David Adams.
11// January 2014
12//
13// This is the top-level tool for jet reconstruction.
14// It calls a series of tools with interface IJetExecute.
15
17#include "AsgTools/AsgTool.h"
20
24
26: public asg::AsgTool,
27 virtual public IJetExecuteTool {
29
30public:
31
32 JetToolRunner(const std::string& myname);
33
34 // Initialization. Check all tools here.
35 StatusCode initialize();
36
37 // Finalization. Write summary report.
38 StatusCode finalize();
39
40 // Loop over tools.
41 int execute() const;
42
43 // Display the configuration.
44 void print() const;
45
46private:
47
48 // Properties.
49 ToolHandleArray<IEventShapeTool> m_evstools {this, "EventShapeTools", {}};
50 ToolHandleArray<IJetExecuteTool> m_exetools {this, "Tools", {}};
51};
52
53#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
IJetExecuteTool is a dual-use tool interface for generic tools, i.e. those that behave like algorithm...
ToolHandleArray< IJetExecuteTool > m_exetools
StatusCode initialize()
Dummy implementation of the initialisation function.
int execute() const
Method to be called for each event.
StatusCode finalize()
JetToolRunner(const std::string &myname)
ToolHandleArray< IEventShapeTool > m_evstools
void print() const
Print the state of the tool.
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47