VertexBasedPfoRecoveryAlgorithm class. More...
#include <VertexBasedPfoRecoveryAlgorithm.h>
Classes | |
class | Particle |
Particle class. More... | |
Public Member Functions | |
VertexBasedPfoRecoveryAlgorithm () | |
Default constructor. More... | |
Private Types | |
typedef std::vector< Particle > | ParticleList |
Private Member Functions | |
pandora::StatusCode | Run () |
pandora::StatusCode | GetAvailableClusters (const pandora::StringVector inputClusterListName, pandora::ClusterVector &clusterVector) const |
Get a vector of available clusters. More... | |
void | BuildSlidingFitResultMap (const pandora::ClusterVector &clusterVector, TwoDSlidingFitResultMap &slidingFitResultMap) const |
Build the map of sliding fit results. More... | |
void | SelectVertexClusters (const pandora::Vertex *const pVertex, const TwoDSlidingFitResultMap &slidingFitResultMap, const pandora::ClusterVector &inputClusters, pandora::ClusterVector &outputClusters) const |
Select clusters in proximity to reconstructed vertex. More... | |
void | MatchThreeViews (const pandora::Vertex *const pVertex, const TwoDSlidingFitResultMap &slidingFitResultMap, const pandora::ClusterVector &selectedClusters, pandora::ClusterSet &vetoList, ParticleList &particleList) const |
Match clusters from three views. More... | |
void | MatchTwoViews (const pandora::Vertex *const pVertex, const TwoDSlidingFitResultMap &slidingFitResultMap, const pandora::ClusterVector &selectedClusters, pandora::ClusterSet &vetoList, ParticleList &particleList) const |
Match clusters from two views. More... | |
void | GetBestChi2 (const pandora::Vertex *const pVertex, const TwoDSlidingFitResultMap &slidingFitResultMap, const pandora::ClusterVector &clusters1, const pandora::ClusterVector &clusters2, const pandora::ClusterVector &clusters3, const pandora::Cluster *&pBestCluster1, const pandora::Cluster *&pBestCluster2, const pandora::Cluster *&pBestCluster3, float &chi2) const |
Get best-matched triplet of clusters from a set of input cluster vectors. More... | |
void | GetBestChi2 (const pandora::Vertex *const pVertex, const TwoDSlidingFitResultMap &slidingFitResultMap, const pandora::ClusterVector &clusters1, const pandora::ClusterVector &clusters2, const pandora::Cluster *&pBestCluster1, const pandora::Cluster *&pBestCluster2, float &chi2) const |
Get best-matched pair of clusters from a set of input cluster vectors. More... | |
float | GetChi2 (const pandora::Vertex *const pVertex, const LArPointingCluster &pointingCluster1, const LArPointingCluster &pointingCluster2) const |
Merge two pointing clusters and return chi-squared metric giving consistency of matching. More... | |
float | GetChi2 (const pandora::Vertex *const pVertex, const LArPointingCluster &pointingCluster1, const LArPointingCluster &pointingCluster2, const LArPointingCluster &pointingCluster3) const |
Merge three clusters between views and return chi-squared metric giving consistency of matching. More... | |
void | SelectAvailableClusters (const pandora::ClusterSet &vetoList, const pandora::ClusterVector &inputVector, pandora::ClusterVector &outputVector) const |
Select cluster which haven't been vetoed. More... | |
void | SelectClusters (const pandora::HitType hitType, const pandora::ClusterVector &inputVector, pandora::ClusterVector &outputVector) const |
Select clusters of a specified hit type. More... | |
const LArPointingCluster::Vertex & | GetInnerVertex (const pandora::CartesianVector &vertex, const LArPointingCluster &cluster) const |
Find nearest end of pointing cluster to a specified position vector. More... | |
const LArPointingCluster::Vertex & | GetOuterVertex (const pandora::CartesianVector &vertex, const LArPointingCluster &cluster) const |
Find furthest end of pointing cluster from a specified position vector. More... | |
void | BuildParticles (const ParticleList &particleList) |
Build particle flow objects from matched clusters. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
pandora::StringVector | m_inputClusterListNames |
The list of input cluster list names. More... | |
std::string | m_outputPfoListName |
The name of the output pfo list. More... | |
unsigned int | m_slidingFitHalfWindow |
float | m_maxLongitudinalDisplacement |
float | m_maxTransverseDisplacement |
float | m_twoViewChi2Cut |
float | m_threeViewChi2Cut |
VertexBasedPfoRecoveryAlgorithm class.
Definition at line 22 of file VertexBasedPfoRecoveryAlgorithm.h.
Definition at line 53 of file VertexBasedPfoRecoveryAlgorithm.h.
lar_content::VertexBasedPfoRecoveryAlgorithm::VertexBasedPfoRecoveryAlgorithm | ( | ) |
Default constructor.
Definition at line 22 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Build particle flow objects from matched clusters.
particleList | the input list of matched clusters |
Definition at line 469 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Build the map of sliding fit results.
clusterVector | the vector of selected clusters |
halfWindowLayers | the half-window to use for the sliding fits |
slidingFitResultMap | the sliding fit result map |
Definition at line 112 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Get a vector of available clusters.
inputClusterListName | the input vector of the cluster list names |
clusterVector | the output vector of available clusters |
Definition at line 75 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Get best-matched triplet of clusters from a set of input cluster vectors.
pVertex | the input vertex |
slidingFitResultMap | the mapping between clusters and sliding fit results |
clusters1 | the clusters in the first view |
clusters2 | the clusters in the second view |
clusters3 | the clusters in the third view |
pBestCluster1 | the best-matched cluster from the first view |
pBestCluster2 | the best-matched cluster from the second view |
pBestCluster3 | the best-matched cluster from the third view |
chi2 | the chi-squared metric from the best match |
|
private |
Get best-matched pair of clusters from a set of input cluster vectors.
pVertex | the input vertex |
slidingFitResultMap | the mapping between clusters and sliding fit results |
clusters1 | the clusters in the first view |
clusters2 | the clusters in the second view |
pBestCluster1 | the best-matched cluster from the first view |
pBestCluster2 | the best-matched cluster from the second view |
chi2 | the chi-squared metric from the best match |
|
private |
Merge two pointing clusters and return chi-squared metric giving consistency of matching.
pVertex | the input vertex |
pointingCluster1 | the first pointing cluster |
pointingCluster2 | the second pointing cluster |
|
private |
Merge three clusters between views and return chi-squared metric giving consistency of matching.
pVertex | the input vertex |
pointingCluster1 | the first pointing cluster |
pointingCluster2 | the second pointing cluster |
pointingCluster3 | the third pointing cluster |
|
private |
Find nearest end of pointing cluster to a specified position vector.
vertex | the input position |
cluster | the input cluster |
Definition at line 444 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Find furthest end of pointing cluster from a specified position vector.
vertex | the input position |
cluster | the input pointing cluster |
Definition at line 457 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Match clusters from three views.
pVertex | the input vertex |
slidingFitResultMap | the mapping between clusters and sliding fit results |
selectedClusters | the input vertex clusters |
vetoList | the list of matched clusters |
particleList | the output list of matched clusters |
Definition at line 184 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Match clusters from two views.
pVertex | the input vertex |
slidingFitResultMap | the mapping between clusters and sliding fit results |
selectedClusters | the input vertex clusters |
vetoList | the list of matched clusters |
particleList | the output list of matched clusters |
Definition at line 226 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Definition at line 538 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Definition at line 33 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Select cluster which haven't been vetoed.
vetoList | the list of vetoed clusters |
inputVector | the input vector of clusters |
outputVector | the output vector of clusters |
Definition at line 422 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Select clusters of a specified hit type.
hitType | the specified hit type |
inputVector | the input vector of clusters |
outputVector | the output vector of clusters |
Definition at line 433 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
Select clusters in proximity to reconstructed vertex.
pVertex | the input vertex |
slidingFitResultMap | the mapping between clusters and sliding fit results |
inputClusters | the input vector of clusters |
outputClusters | the output vector of clusters |
Definition at line 142 of file VertexBasedPfoRecoveryAlgorithm.cc.
|
private |
The list of input cluster list names.
Definition at line 201 of file VertexBasedPfoRecoveryAlgorithm.h.
|
private |
Definition at line 205 of file VertexBasedPfoRecoveryAlgorithm.h.
|
private |
Definition at line 206 of file VertexBasedPfoRecoveryAlgorithm.h.
|
private |
The name of the output pfo list.
Definition at line 202 of file VertexBasedPfoRecoveryAlgorithm.h.
|
private |
Definition at line 204 of file VertexBasedPfoRecoveryAlgorithm.h.
|
private |
Definition at line 208 of file VertexBasedPfoRecoveryAlgorithm.h.
|
private |
Definition at line 207 of file VertexBasedPfoRecoveryAlgorithm.h.