Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
Algorithm.h
Go to the documentation of this file.
1
8
#ifndef PANDORA_ALGORITHM_H
9
#define PANDORA_ALGORITHM_H 1
10
11
#include "
Pandora/Process.h
"
12
13
namespace
pandora
14
{
15
20
class
Algorithm
:
public
Process
21
{
22
protected
:
26
virtual
StatusCode
Run
() = 0;
27
28
friend
class
AlgorithmManager
;
29
friend
class
PandoraContentApiImpl
;
30
};
31
32
//------------------------------------------------------------------------------------------------------------------------------------------
33
//------------------------------------------------------------------------------------------------------------------------------------------
34
38
class
AlgorithmFactory
39
{
40
public
:
46
virtual
Algorithm
*
CreateAlgorithm
()
const
= 0;
47
51
virtual
~AlgorithmFactory
();
52
};
53
54
//------------------------------------------------------------------------------------------------------------------------------------------
55
56
inline
AlgorithmFactory::~AlgorithmFactory
()
57
{
58
}
59
60
}
// namespace pandora
61
62
#endif
// #ifndef PANDORA_ALGORITHM_H
Process.h
Header file for the process class.
pandora::AlgorithmFactory
Factory class for instantiating algorithms.
Definition
Algorithm.h:39
pandora::AlgorithmFactory::~AlgorithmFactory
virtual ~AlgorithmFactory()
Destructor.
Definition
Algorithm.h:56
pandora::AlgorithmFactory::CreateAlgorithm
virtual Algorithm * CreateAlgorithm() const =0
Create an instance of an algorithm.
pandora::Algorithm
Algorithm class. Algorithm addresses are held only by the algorithm manager. They have a fully define...
Definition
Algorithm.h:21
pandora::Algorithm::Run
virtual StatusCode Run()=0
Run the algorithm.
pandora::AlgorithmManager
AlgorithmManager class.
Definition
AlgorithmManager.h:31
pandora::PandoraContentApiImpl
PandoraContentApiImpl class.
Definition
PandoraContentApiImpl.h:27
pandora::Process
Process class.
Definition
Process.h:27
pandora
Definition
LArContent.h:12
pandora::StatusCode
StatusCode
The StatusCode enum.
Definition
StatusCodes.h:100
PandoraSDK
include
Pandora
Algorithm.h