LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
PfoMopUpBaseAlgorithm.h
Go to the documentation of this file.
1 
8 #ifndef LAR_PFO_MOP_UP_BASE_ALGORITHM_H
9 #define LAR_PFO_MOP_UP_BASE_ALGORITHM_H 1
10 
12 
13 namespace lar_content
14 {
15 
20 {
21 public:
28  virtual void MergeAndDeletePfos(const pandora::ParticleFlowObject *const pPfoToEnlarge, const pandora::ParticleFlowObject *const pPfoToDelete) const;
29 
38  static const pandora::Cluster *GetParentCluster(const pandora::ClusterList &clusterList, const pandora::HitType hitType);
39 
40 protected:
41  virtual pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
42 };
43 
44 } // namespace lar_content
45 
46 #endif // #ifndef LAR_PFO_MOP_UP_BASE_ALGORITHM_H
MopUpBaseAlgorithm class.
Header file for the mop up algorithm base class.
PfoMopUpBaseAlgorithm class.
static const pandora::Cluster * GetParentCluster(const pandora::ClusterList &clusterList, const pandora::HitType hitType)
Select the parent cluster (same hit type and most hits) using a provided cluster list and hit type...
virtual pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
virtual void MergeAndDeletePfos(const pandora::ParticleFlowObject *const pPfoToEnlarge, const pandora::ParticleFlowObject *const pPfoToDelete) const
Merge and delete a pair of pfos, with a specific set of conventions for cluster merging, vertex use, etc.