ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRec
JetRec
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
16
#include "
AsgTools/ToolHandleArray.h
"
17
#include "
AsgTools/AsgTool.h
"
18
#include "
EventShapeInterface/IEventShapeTool.h
"
19
#include "
JetInterface/IJetExecuteTool.h
"
20
24
25
class
JetToolRunner
26
:
public
asg::AsgTool
,
27
virtual
public
IJetExecuteTool
{
28
ASG_TOOL_CLASS
(
JetToolRunner
,
IJetExecuteTool
)
29
30
public
:
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
46
private
:
47
48
// Properties.
49
ToolHandleArray<IEventShapeTool>
m_evstools
{
this
,
"EventShapeTools"
, {}};
50
ToolHandleArray<IJetExecuteTool>
m_exetools
{
this
,
"Tools"
, {}};
51
};
52
53
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IEventShapeTool.h
IJetExecuteTool.h
ToolHandleArray.h
IJetExecuteTool
IJetExecuteTool is a dual-use tool interface for generic tools, i.e. those that behave like algorithm...
Definition
IJetExecuteTool.h:19
JetToolRunner::m_exetools
ToolHandleArray< IJetExecuteTool > m_exetools
Definition
JetToolRunner.h:50
JetToolRunner::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
JetToolRunner.cxx:24
JetToolRunner::execute
int execute() const
Method to be called for each event.
Definition
JetToolRunner.cxx:61
JetToolRunner::finalize
StatusCode finalize()
Definition
JetToolRunner.cxx:54
JetToolRunner::JetToolRunner
JetToolRunner(const std::string &myname)
Definition
JetToolRunner.cxx:18
JetToolRunner::m_evstools
ToolHandleArray< IEventShapeTool > m_evstools
Definition
JetToolRunner.h:49
JetToolRunner::print
void print() const
Print the state of the tool.
Definition
JetToolRunner.cxx:96
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
Generated on
for ATLAS Offline Software by
1.14.0