ListChangingAlgorithm::Algorithm class.
More...
#include <ListChangingAlgorithm.h>
|
pandora::StatusCode | Run () |
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
|
ListChangingAlgorithm::Algorithm class.
Definition at line 19 of file ListChangingAlgorithm.h.
StatusCode lar_content::ListChangingAlgorithm::ReadSettings |
( |
const pandora::TiXmlHandle |
xmlHandle | ) |
|
|
private |
Definition at line 69 of file ListChangingAlgorithm.cc.
71 PANDORA_RETURN_RESULT_IF_AND_IF(STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle,
"CaloHitListName",
m_caloHitListName));
72 PANDORA_RETURN_RESULT_IF_AND_IF(STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle,
"ClusterListName",
m_clusterListName));
73 PANDORA_RETURN_RESULT_IF_AND_IF(STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle,
"VertexListName",
m_vertexListName));
74 PANDORA_RETURN_RESULT_IF_AND_IF(STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle,
"PfoListName",
m_pfoListName));
76 return STATUS_CODE_SUCCESS;
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_vertexListName
The vertex list name to set as the current vertex list.
std::string m_caloHitListName
The calo hit list name to set as the current calo hit list.
StatusCode lar_content::ListChangingAlgorithm::Run |
( |
| ) |
|
|
private |
Definition at line 18 of file ListChangingAlgorithm.cc.
22 const StatusCode statusCode(PandoraContentApi::ReplaceCurrentList<CaloHit>(*
this,
m_caloHitListName));
24 if ((STATUS_CODE_SUCCESS != statusCode) && (STATUS_CODE_NOT_FOUND != statusCode))
27 if (PandoraContentApi::GetSettings(*this)->ShouldDisplayAlgorithmInfo() && (STATUS_CODE_NOT_FOUND == statusCode))
33 const StatusCode statusCode(PandoraContentApi::ReplaceCurrentList<Cluster>(*
this,
m_clusterListName));
35 if ((STATUS_CODE_SUCCESS != statusCode) && (STATUS_CODE_NOT_FOUND != statusCode))
38 if (PandoraContentApi::GetSettings(*this)->ShouldDisplayAlgorithmInfo() && (STATUS_CODE_NOT_FOUND == statusCode))
44 const StatusCode statusCode(PandoraContentApi::ReplaceCurrentList<Vertex>(*
this,
m_vertexListName));
46 if ((STATUS_CODE_SUCCESS != statusCode) && (STATUS_CODE_NOT_FOUND != statusCode))
49 if (PandoraContentApi::GetSettings(*this)->ShouldDisplayAlgorithmInfo() && (STATUS_CODE_NOT_FOUND == statusCode))
55 const StatusCode statusCode(PandoraContentApi::ReplaceCurrentList<Pfo>(*
this,
m_pfoListName));
57 if ((STATUS_CODE_SUCCESS != statusCode) && (STATUS_CODE_NOT_FOUND != statusCode))
60 if (PandoraContentApi::GetSettings(*this)->ShouldDisplayAlgorithmInfo() && (STATUS_CODE_NOT_FOUND == statusCode))
64 return STATUS_CODE_SUCCESS;
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_vertexListName
The vertex list name to set as the current vertex list.
std::string m_caloHitListName
The calo hit list name to set as the current calo hit list.
QTextStream & endl(QTextStream &s)
std::string lar_content::ListChangingAlgorithm::m_caloHitListName |
|
private |
std::string lar_content::ListChangingAlgorithm::m_clusterListName |
|
private |
std::string lar_content::ListChangingAlgorithm::m_pfoListName |
|
private |
std::string lar_content::ListChangingAlgorithm::m_vertexListName |
|
private |
The documentation for this class was generated from the following files: