24 if ((STATUS_CODE_SUCCESS != statusCode) && (STATUS_CODE_NOT_FOUND != statusCode))
28 std::cout <<
"ListChangingAlgorithm: calohit list not found " <<
m_caloHitListName << std::endl;
35 if ((STATUS_CODE_SUCCESS != statusCode) && (STATUS_CODE_NOT_FOUND != statusCode))
39 std::cout <<
"ListChangingAlgorithm: cluster list not found " <<
m_clusterListName << std::endl;
46 if ((STATUS_CODE_SUCCESS != statusCode) && (STATUS_CODE_NOT_FOUND != statusCode))
50 std::cout <<
"ListChangingAlgorithm: vertex list not found " <<
m_vertexListName << std::endl;
57 if ((STATUS_CODE_SUCCESS != statusCode) && (STATUS_CODE_NOT_FOUND != statusCode))
61 std::cout <<
"ListChangingAlgorithm: pfo list not found " <<
m_pfoListName << std::endl;
64 return STATUS_CODE_SUCCESS;
static pandora::StatusCode ReplaceCurrentList(const pandora::Algorithm &algorithm, const std::string &newListName)
Replace the current list with a pre-saved list; use this new list as a permanent replacement for the ...
static const pandora::PandoraSettings * GetSettings(const pandora::Algorithm &algorithm)
Get the pandora settings instance.
pandora::StatusCode Run()
Run the algorithm.
std::string m_pfoListName
The pfo list name to set as the current pfo list.
std::string m_clusterListName
The cluster list name to set as the current cluster list.
std::string m_caloHitListName
The calo hit list name to set as the current calo hit list.
std::string m_vertexListName
The vertex list name to set as the current vertex list.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.