Public Member Functions | Private Member Functions | Private Attributes | List of all members
lar_content::TrackConsolidationAlgorithm Class Reference

TrackConsolidationAlgorithm class. More...

#include <TrackConsolidationAlgorithm.h>

Inheritance diagram for lar_content::TrackConsolidationAlgorithm:
lar_content::TwoDSlidingFitConsolidationAlgorithm

Public Member Functions

 TrackConsolidationAlgorithm ()
 Default constructor. More...
 
- Public Member Functions inherited from lar_content::TwoDSlidingFitConsolidationAlgorithm
 TwoDSlidingFitConsolidationAlgorithm ()
 Default constructor. More...
 

Private Member Functions

pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 
void GetReclusteredHits (const TwoDSlidingFitResultList &slidingFitResultList, const pandora::ClusterVector &showerClusters, ClusterToHitMap &caloHitsToAdd, ClusterToHitMap &caloHitsToRemove) const
 Get the list of hits to be added to track clusters and removed from shower clusters. More...
 
void GetReclusteredHits (const TwoDSlidingFitResult &slidingFitResult, const pandora::Cluster *const pTargetCluster, ClusterToHitMap &caloHitsToAdd, ClusterToHitMap &caloHitsToRemove) const
 Get the list of hits to be added to a track cluster and removed from a shower cluster. More...
 

Private Attributes

float m_maxTransverseDisplacement
 
float m_minAssociatedSpan
 
float m_minAssociatedFraction
 

Additional Inherited Members

- Protected Types inherited from lar_content::TwoDSlidingFitConsolidationAlgorithm
typedef std::unordered_map< const pandora::Cluster *, pandora::CaloHitList > ClusterToHitMap
 
- Protected Member Functions inherited from lar_content::TwoDSlidingFitConsolidationAlgorithm
pandora::StatusCode Run ()
 
pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 

Detailed Description

TrackConsolidationAlgorithm class.

Definition at line 21 of file TrackConsolidationAlgorithm.h.

Constructor & Destructor Documentation

lar_content::TrackConsolidationAlgorithm::TrackConsolidationAlgorithm ( )

Member Function Documentation

void lar_content::TrackConsolidationAlgorithm::GetReclusteredHits ( const TwoDSlidingFitResultList slidingFitResultList,
const pandora::ClusterVector &  showerClusters,
ClusterToHitMap caloHitsToAdd,
ClusterToHitMap caloHitsToRemove 
) const
privatevirtual

Get the list of hits to be added to track clusters and removed from shower clusters.

Parameters
slidingFitResultListthe list of sliding linear fits to track clusters
showerClustersthe vector of shower clusters
caloHitsToAddthe output map of hits to be added to clusters
caloHitsToRemovethe output map of hits to be removed from clusters

Implements lar_content::TwoDSlidingFitConsolidationAlgorithm.

void lar_content::TrackConsolidationAlgorithm::GetReclusteredHits ( const TwoDSlidingFitResult slidingFitResult,
const pandora::Cluster *const  pTargetCluster,
ClusterToHitMap caloHitsToAdd,
ClusterToHitMap caloHitsToRemove 
) const
private

Get the list of hits to be added to a track cluster and removed from a shower cluster.

Parameters
slidingFitResultsliding linear fit to track cluster
pTargetClustershower cluster
caloHitsToAddthe output map of hits to be added to clusters
caloHitsToRemovethe output map of hits to be removed from clusters
StatusCode lar_content::TrackConsolidationAlgorithm::ReadSettings ( const pandora::TiXmlHandle  xmlHandle)
private

Definition at line 135 of file TrackConsolidationAlgorithm.cc.

136 {
137  PANDORA_RETURN_RESULT_IF_AND_IF(STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=,
138  XmlHelper::ReadValue(xmlHandle, "MaxTransverseDisplacement", m_maxTransverseDisplacement));
139 
140  PANDORA_RETURN_RESULT_IF_AND_IF(
141  STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle, "MinAssociatedSpan", m_minAssociatedSpan));
142 
143  PANDORA_RETURN_RESULT_IF_AND_IF(
144  STATUS_CODE_SUCCESS, STATUS_CODE_NOT_FOUND, !=, XmlHelper::ReadValue(xmlHandle, "MinAssociatedFraction", m_minAssociatedFraction));
145 
147 }
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)

Member Data Documentation

float lar_content::TrackConsolidationAlgorithm::m_maxTransverseDisplacement
private

Definition at line 54 of file TrackConsolidationAlgorithm.h.

float lar_content::TrackConsolidationAlgorithm::m_minAssociatedFraction
private

Definition at line 56 of file TrackConsolidationAlgorithm.h.

float lar_content::TrackConsolidationAlgorithm::m_minAssociatedSpan
private

Definition at line 55 of file TrackConsolidationAlgorithm.h.


The documentation for this class was generated from the following files: