29 #ifndef PHOTONRECONSTRUCTIONALGORITHM_H
30 #define PHOTONRECONSTRUCTIONALGORITHM_H
32 #include "Pandora/Algorithm.h"
33 #include "Pandora/PandoraInternal.h"
35 #include "TMVA/Reader.h"
36 #include "TMVA/MethodCuts.h"
38 namespace april_content
49 class Factory :
public pandora::AlgorithmFactory
52 pandora::Algorithm *CreateAlgorithm()
const;
56 pandora::StatusCode Run();
57 pandora::StatusCode ReadSettings(
const pandora::TiXmlHandle xmlHandle);
66 pandora::ClusterList &photonClusters,
67 pandora::ClusterList &nonPhotonClusters);
77 static TMVA::Reader* m_reader;
82 inline pandora::Algorithm *PhotonReconstructionAlgorithm::Factory::CreateAlgorithm()
const
88 #endif // PHOTONRECONSTRUCTIONALGORITHM_H
PhotonReconstructionAlgorithm class.
Definition: PhotonReconstructionAlgorithm.h:43
std::string m_inputCaloHitListName
The name of the input calo hit list, containing the hits to be clustered.
Definition: PhotonReconstructionAlgorithm.h:71
Factory class for instantiating algorithm.
Definition: PhotonReconstructionAlgorithm.h:49
pandora::StatusCode SelectPhotonsAndRemoveOthers(const pandora::ClusterList *const pInputClusterList, pandora::ClusterList &photonClusters, pandora::ClusterList &nonPhotonClusters)
Select photons from the input cluster list.
Definition: PhotonReconstructionAlgorithm.cc:155
bool m_restoreOriginalCaloHitList
Whether to restore the original calo hit list as the "current" list upon completion.
Definition: PhotonReconstructionAlgorithm.h:72
bool m_replaceCurrentClusterList
Whether to subsequently use the new photon cluster list as the "current" list.
Definition: PhotonReconstructionAlgorithm.h:75
std::string m_nonPhotonClusterListName
The name under which to save the new non-photon cluster list.
Definition: PhotonReconstructionAlgorithm.h:74
std::string m_clusteringAlgorithmName
The name of the clustering algorithm to run.
Definition: PhotonReconstructionAlgorithm.h:70
std::string m_photonClusterListName
The name under which to save the new photon cluster list.
Definition: PhotonReconstructionAlgorithm.h:73