29 #ifndef FRAGMENTREMOVALALGORITHM_H
30 #define FRAGMENTREMOVALALGORITHM_H
32 #include "Pandora/Algorithm.h"
33 #include "Pandora/PandoraInputTypes.h"
36 namespace april_content
39 class CaloHitMergingTool;
50 class Factory :
public pandora::AlgorithmFactory
53 pandora::Algorithm *CreateAlgorithm()
const;
57 pandora::StatusCode Run();
58 pandora::StatusCode ReadSettings(
const pandora::TiXmlHandle xmlHandle);
73 pandora::StatusCode
RemoveClusterFragments(
const pandora::ClusterVector &clusterVector, pandora::CaloHitList &removalCaloHitList)
const;
78 pandora::StatusCode GetMergingClusters(pandora::ClusterVector &clusterVector)
const;
81 unsigned int m_maxNHitsForAutomaticRemoval;
82 float m_maxEnergyForAutomaticRemoval;
83 float m_maxHadronicEnergyForAutomaticRemoval;
84 unsigned int m_maxNHitsNonFragments;
85 float m_maxEnergyNonFragments;
86 float m_maxFragmentDensity;
87 float m_maxProximityDistanceFine;
88 float m_maxProximityDistanceCoarse;
89 unsigned int m_maxNHitsProximity;
90 pandora::StringVector m_additionalClusterMergingListNames;
96 inline pandora::Algorithm *FragmentRemovalAlgorithm::Factory::CreateAlgorithm()
const
103 #endif // FRAGMENTREMOVALALGORITHM_H
pandora::StatusCode RemoveClusterFragments(const pandora::ClusterVector &clusterVector, pandora::CaloHitList &removalCaloHitList) const
Remove cluster fragments and grab their calo hits.
Definition: FragmentRemovalAlgorithm.cc:202
Factory class for instantiating algorithm.
Definition: FragmentRemovalAlgorithm.h:50
CaloHitMergingTool class.
Definition: CaloHitMergingTool.h:42
FragmentRemovalAlgorithm class.
Definition: FragmentRemovalAlgorithm.h:44
CaloHitMergingTool * m_pCaloHitMergingTool
The calo hit merging tool.
Definition: FragmentRemovalAlgorithm.h:91
pandora::StatusCode FindClusterFragments(pandora::ClusterVector &clusterVector) const
Find cluster fragments in the event.
Definition: FragmentRemovalAlgorithm.cc:66