LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
CosmicRayShowerMatchingAlgorithm.h
Go to the documentation of this file.
1 
8 #ifndef LAR_COSMIC_RAY_SHOWER_MATCHING_ALGORITHM_H
9 #define LAR_COSMIC_RAY_SHOWER_MATCHING_ALGORITHM_H 1
10 
12 
13 namespace lar_content
14 {
15 
20 {
21 public:
26 
27 private:
28 
29  void SelectCleanClusters(const pandora::ClusterVector &inputVector, pandora::ClusterVector &outputVector) const;
30  bool MatchClusters(const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2) const;
31  bool CheckMatchedClusters3D(const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2,
32  const pandora::Cluster *const pCluster3) const;
33  void SetPfoParameters(const Particle &particle, PandoraContentApi::ParticleFlowObject::Parameters &pfoParameters) const;
34 
35  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
36 
38  float m_minXOverlap;
41 };
42 
43 } // namespace lar_content
44 
45 #endif // #ifndef LAR_COSMIC_RAY_SHOWER_MATCHING_ALGORITHM_H
bool MatchClusters(const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2) const
Match a pair of clusters from two views.
Header file for the cosmic ray base matching algorithm class.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
bool CheckMatchedClusters3D(const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2, const pandora::Cluster *const pCluster3) const
Check that three clusters have a consistent 3D position.
float m_pseudoChi2Cut
The selection cut on the matched chi2.
std::vector< art::Ptr< recob::Cluster > > ClusterVector
float m_minXOverlap
requirement on minimum X overlap for associated clusters
void SelectCleanClusters(const pandora::ClusterVector &inputVector, pandora::ClusterVector &outputVector) const
Select a set of clusters judged to be clean.
float m_minCaloHitsPerCluster
minimum size of clusters for this algorithm
void SetPfoParameters(const Particle &particle, PandoraContentApi::ParticleFlowObject::Parameters &pfoParameters) const
Calculate Pfo properties from proto particle.
float m_minXOverlapFraction
requirement on minimum X overlap fraction for associated clusters