Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
TemplateAlgorithmTool.h
Go to the documentation of this file.
1
8
#ifndef TEMPLATE_ALGORITHM_TOOL_H
9
#define TEMPLATE_ALGORITHM_TOOL_H 1
10
11
#include "
Pandora/AlgorithmTool.h
"
12
16
class
TemplateAlgorithmTool
:
public
pandora::AlgorithmTool
17
{
18
public
:
22
class
Factory
:
public
pandora::AlgorithmToolFactory
23
{
24
public
:
25
pandora::AlgorithmTool
*
CreateAlgorithmTool
()
const
;
26
};
27
31
pandora::StatusCode
Run
();
32
33
private
:
34
pandora::StatusCode
ReadSettings
(
const
pandora::TiXmlHandle
xmlHandle);
35
36
// Member variables here
37
};
38
39
//------------------------------------------------------------------------------------------------------------------------------------------
40
41
inline
pandora::AlgorithmTool
*
TemplateAlgorithmTool::Factory::CreateAlgorithmTool
()
const
42
{
43
return
new
TemplateAlgorithmTool
();
44
}
45
46
#endif
// #ifndef TEMPLATE_ALGORITHM_TOOL_H
AlgorithmTool.h
Header file for the algorithm tool class.
TemplateAlgorithmTool::Factory
Factory class for instantiating algorithm tool.
Definition
TemplateAlgorithmTool.h:23
TemplateAlgorithmTool::Factory::CreateAlgorithmTool
pandora::AlgorithmTool * CreateAlgorithmTool() const
Create an instance of an algorithm.
Definition
TemplateAlgorithmTool.h:41
TemplateAlgorithmTool
TemplateAlgorithmTool class.
Definition
TemplateAlgorithmTool.h:17
TemplateAlgorithmTool::Run
pandora::StatusCode Run()
Run the algorithm tool.
Definition
TemplateAlgorithmTool.cc:15
TemplateAlgorithmTool::ReadSettings
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
Definition
TemplateAlgorithmTool.cc:24
pandora::AlgorithmToolFactory
Factory class for instantiating algorithm tools.
Definition
AlgorithmTool.h:34
pandora::AlgorithmTool
AlgorithmTool class. Algorithm tools will tend to be tailored for specific parent algorithms,...
Definition
AlgorithmTool.h:22
pandora::TiXmlHandle
Definition
tinyxml.h:1646
pandora::StatusCode
StatusCode
The StatusCode enum.
Definition
StatusCodes.h:100
PandoraSDK
include
Templates
TemplateAlgorithmTool.h