CosmicRayShowerMatchingAlgorithm class. More...
#include <CosmicRayShowerMatchingAlgorithm.h>
Public Member Functions | |
CosmicRayShowerMatchingAlgorithm () | |
Default constructor. More... | |
Private Member Functions | |
void | SelectCleanClusters (const pandora::ClusterVector &inputVector, pandora::ClusterVector &outputVector) const |
Select a set of clusters judged to be clean. More... | |
bool | MatchClusters (const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2) const |
Match a pair of clusters from two views. More... | |
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. More... | |
void | SetPfoParameters (const Particle &particle, PandoraContentApi::ParticleFlowObject::Parameters &pfoParameters) const |
Calculate Pfo properties from proto particle. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
float | m_minCaloHitsPerCluster |
minimum size of clusters for this algorithm More... | |
float | m_minXOverlap |
requirement on minimum X overlap for associated clusters More... | |
float | m_minXOverlapFraction |
requirement on minimum X overlap fraction for associated clusters More... | |
float | m_pseudoChi2Cut |
The selection cut on the matched chi2. More... | |
Additional Inherited Members | |
Protected Types inherited from lar_content::CosmicRayBaseMatchingAlgorithm | |
typedef std::vector< Particle > | ParticleList |
typedef std::unordered_map< const pandora::Cluster *, pandora::ClusterList > | ClusterAssociationMap |
typedef std::set< unsigned int > | UIntSet |
Protected Member Functions inherited from lar_content::CosmicRayBaseMatchingAlgorithm | |
pandora::StatusCode | Run () |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
CosmicRayShowerMatchingAlgorithm class.
Definition at line 19 of file CosmicRayShowerMatchingAlgorithm.h.
lar_content::CosmicRayShowerMatchingAlgorithm::CosmicRayShowerMatchingAlgorithm | ( | ) |
Default constructor.
Definition at line 21 of file CosmicRayShowerMatchingAlgorithm.cc.
|
privatevirtual |
Check that three clusters have a consistent 3D position.
pCluster1 | the cluster from the first view |
pCluster2 | the cluster from the second view |
pCluster3 | the cluster from the third view |
Implements lar_content::CosmicRayBaseMatchingAlgorithm.
Definition at line 64 of file CosmicRayShowerMatchingAlgorithm.cc.
|
privatevirtual |
Match a pair of clusters from two views.
pCluster1 | the first cluster |
pCluster2 | the second cluster |
Implements lar_content::CosmicRayBaseMatchingAlgorithm.
Definition at line 44 of file CosmicRayShowerMatchingAlgorithm.cc.
|
private |
Definition at line 132 of file CosmicRayShowerMatchingAlgorithm.cc.
|
privatevirtual |
Select a set of clusters judged to be clean.
inputVector | the input vector of all available clusters |
outputVector | the output vector of clean clusters |
Implements lar_content::CosmicRayBaseMatchingAlgorithm.
Definition at line 31 of file CosmicRayShowerMatchingAlgorithm.cc.
|
privatevirtual |
Calculate Pfo properties from proto particle.
protoParticle | the input proto particle |
pfoParameters | the output pfo parameters |
Implements lar_content::CosmicRayBaseMatchingAlgorithm.
Definition at line 111 of file CosmicRayShowerMatchingAlgorithm.cc.
|
private |
minimum size of clusters for this algorithm
Definition at line 36 of file CosmicRayShowerMatchingAlgorithm.h.
|
private |
requirement on minimum X overlap for associated clusters
Definition at line 37 of file CosmicRayShowerMatchingAlgorithm.h.
|
private |
requirement on minimum X overlap fraction for associated clusters
Definition at line 38 of file CosmicRayShowerMatchingAlgorithm.h.
|
private |
The selection cut on the matched chi2.
Definition at line 39 of file CosmicRayShowerMatchingAlgorithm.h.