AlgorithmManager class.
More...
#include "AlgorithmManager.h"
AlgorithmManager class.
Definition at line 30 of file AlgorithmManager.h.
◆ AlgorithmFactoryMap
◆ AlgorithmMap
◆ AlgorithmToolFactoryMap
◆ SpecificAlgorithmInstanceMap
◆ AlgorithmManager()
pandora::AlgorithmManager::AlgorithmManager |
( |
const Pandora *const |
pPandora | ) |
|
Constructor.
- Parameters
-
pPandora | address of the associated pandora object |
Definition at line 26 of file AlgorithmManager.cc.
◆ ~AlgorithmManager()
pandora::AlgorithmManager::~AlgorithmManager |
( |
| ) |
|
◆ CreateAlgorithm()
StatusCode pandora::AlgorithmManager::CreateAlgorithm |
( |
TiXmlElement *const |
pXmlElement, |
|
|
std::string & |
algorithmName |
|
) |
| |
|
private |
Create an algorithm, via one of the algorithm factories registered with pandora.
- Parameters
-
pXmlElement | address of the xml element describing the algorithm type and settings |
algorithmName | to receive the name of the algorithm instance |
Definition at line 92 of file AlgorithmManager.cc.
◆ CreateAlgorithmTool()
Create an algorithm tool, via one of the algorithm tool factories registered with pandora.
- Parameters
-
pXmlElement | address of the xml element describing the algorithm tool type and settings |
pAlgorithmTool | to receive the address of the algorithm tool instance |
Definition at line 150 of file AlgorithmManager.cc.
◆ FindSpecificAlgorithmInstance()
StatusCode pandora::AlgorithmManager::FindSpecificAlgorithmInstance |
( |
TiXmlElement *const |
pXmlElement, |
|
|
std::string & |
algorithmName, |
|
|
std::string & |
xmlInstanceLabel |
|
) |
| const |
|
private |
Find the name of a specific algorithm instance, so that it can be re-used.
- Parameters
-
pXmlElement | address of the xml element describing the algorithm type and settings |
algorithmName | to receive the name of the algorithm instance |
xmlInstanceLabel | to receive the xml label referring to a specific algorithm instance |
Definition at line 194 of file AlgorithmManager.cc.
◆ GetPandoraAlgorithms()
const StringVector & pandora::AlgorithmManager::GetPandoraAlgorithms |
( |
| ) |
const |
|
inline |
Get the list of algorithms to be run by pandora.
- Returns
- address of the list pandora algorithms
Definition at line 129 of file AlgorithmManager.h.
◆ InitializeAlgorithms()
Initialize algorithms.
- Parameters
-
pXmlHandle | address of the relevant xml handle |
Definition at line 77 of file AlgorithmManager.cc.
◆ RegisterAlgorithmFactory()
StatusCode pandora::AlgorithmManager::RegisterAlgorithmFactory |
( |
const std::string & |
algorithmType, |
|
|
AlgorithmFactory *const |
pAlgorithmFactory |
|
) |
| |
|
private |
Register an algorithm factory.
- Parameters
-
algorithmType | the type of algorithm that the factory will create |
pAlgorithmFactory | the address of an algorithm factory instance |
Definition at line 57 of file AlgorithmManager.cc.
◆ RegisterAlgorithmToolFactory()
StatusCode pandora::AlgorithmManager::RegisterAlgorithmToolFactory |
( |
const std::string & |
algorithmToolType, |
|
|
AlgorithmToolFactory *const |
pAlgorithmToolFactory |
|
) |
| |
|
private |
Register an algorithm tool factory.
- Parameters
-
algorithmToolType | the type of algorithm tool that the factory will create |
pAlgorithmToolFactory | the address of an algorithm tool factory instance |
Definition at line 67 of file AlgorithmManager.cc.
◆ ResetForNextEvent()
StatusCode pandora::AlgorithmManager::ResetForNextEvent |
( |
| ) |
|
|
private |
Call the reset callback in all managed algorithms and algorithm tools.
Definition at line 225 of file AlgorithmManager.cc.
◆ PandoraApiImpl
◆ PandoraContentApiImpl
◆ PandoraImpl
◆ m_algorithmFactoryMap
◆ m_algorithmMap
◆ m_algorithmToolFactoryMap
◆ m_algorithmToolVector
◆ m_pandoraAlgorithms
The ordered list of names of top-level algorithms, to be run by pandora.
Definition at line 113 of file AlgorithmManager.h.
◆ m_pPandora
const Pandora* const pandora::AlgorithmManager::m_pPandora |
|
private |
◆ m_specificAlgorithmInstanceMap
The documentation for this class was generated from the following files: