Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
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
13namespace lar_content
14{
15
20{
21public:
26
27private:
28 void SelectCleanClusters(const pandora::ClusterVector &inputVector, pandora::ClusterVector &outputVector) const;
29 bool MatchClusters(const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2) const;
31 const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2, const pandora::Cluster *const pCluster3) const;
32 void SetPfoParameters(const Particle &particle, PandoraContentApi::ParticleFlowObject::Parameters &pfoParameters) const;
33
35
40};
41
42} // namespace lar_content
43
44#endif // #ifndef LAR_COSMIC_RAY_SHOWER_MATCHING_ALGORITHM_H
Header file for the cosmic ray base matching algorithm class.
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.
bool MatchClusters(const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2) const
Match a pair of clusters from two views.
float m_pseudoChi2Cut
The selection cut on the matched chi2.
float m_minXOverlap
requirement on minimum X overlap for associated clusters
float m_minXOverlapFraction
requirement on minimum X overlap fraction for associated clusters
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
void SelectCleanClusters(const pandora::ClusterVector &inputVector, pandora::ClusterVector &outputVector) const
Select a set of clusters judged to be clean.
void SetPfoParameters(const Particle &particle, PandoraContentApi::ParticleFlowObject::Parameters &pfoParameters) const
Calculate Pfo properties from proto particle.
float m_minCaloHitsPerCluster
minimum size of clusters for this algorithm
Cluster class.
Definition Cluster.h:31
std::vector< const Cluster * > ClusterVector
StatusCode
The StatusCode enum.