8 #ifndef LAR_THREE_D_TRANSVERSE_TRACKS_ALGORITHM_H 9 #define LAR_THREE_D_TRANSVERSE_TRACKS_ALGORITHM_H 1 11 #include "Pandora/Algorithm.h" 12 #include "Pandora/AlgorithmTool.h" 21 class TransverseTensorTool;
41 void CalculateOverlapResult(
const pandora::Cluster *
const pClusterU,
const pandora::Cluster *
const pClusterV,
const pandora::Cluster *
const pClusterW);
53 pandora::StatusCode
CalculateOverlapResult(
const pandora::Cluster *
const pClusterU,
const pandora::Cluster *
const pClusterV,
const pandora::Cluster *
const pClusterW,
104 pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
128 typedef std::vector<TensorType::ElementList::const_iterator>
IteratorList;
143 #endif // #ifndef LAR_THREE_D_TRANSVERSE_TRACKS_ALGORITHM_H float m_minSegmentMatchedFraction
The minimum segment matched sampling fraction to allow segment grouping.
float m_pseudoChi2Cut
The pseudo chi2 cut to identify matched sampling points.
void GetBestOverlapResult(const FitSegmentTensor &fitSegmentTensor, TransverseOverlapResult &bestTransverseOverlapResult) const
Get the best overlap result, by examining the fit segment tensor.
pandora::StatusCode Run()
unsigned int m_maxFitSegmentIndex
The maximum number of fit segments used when identifying best overlap result.
std::vector< TensorType::ElementList::const_iterator > IteratorList
std::map< unsigned int, FitSegmentToOverlapResultMap > FitSegmentMatrix
unsigned int m_minOverallMatchedPoints
The minimum number of matched segment sampling points to allow particle creation. ...
TensorToolVector m_algorithmToolVector
The algorithm tool vector.
std::vector< TransverseOverlapResult > TransverseOverlapResultVector
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
ThreeDTransverseTracksAlgorithm class.
void GetFitSegmentTensor(const TwoDSlidingFitResult &slidingFitResultU, const TwoDSlidingFitResult &slidingFitResultV, const TwoDSlidingFitResult &slidingFitResultW, FitSegmentTensor &fitSegmentTensor) const
Get the number of matched points for three fit segments and accompanying sliding fit results...
ThreeDTransverseTracksAlgorithm()
Default constructor.
TransverseOverlapResult class.
void CalculateOverlapResult(const pandora::Cluster *const pClusterU, const pandora::Cluster *const pClusterV, const pandora::Cluster *const pClusterW)
Calculate cluster overlap result and store in tensor.
unsigned int m_nMaxTensorToolRepeats
The maximum number of repeat loops over tensor tools.
TransverseTensorTool class.
Header file for the lar track overlap result class.
std::map< unsigned int, TransverseOverlapResult > FitSegmentToOverlapResultMap
ThreeDTransverseTracksAlgorithm::TensorType TensorType
void GetPreviousOverlapResults(const unsigned int indexU, const unsigned int indexV, const unsigned int indexW, FitSegmentTensor &fitSegmentSumTensor, TransverseOverlapResultVector &transverseOverlapResultVector) const
Get track overlap results for possible connected segments.
float m_minOverallMatchedFraction
The minimum matched sampling fraction to allow particle creation.
void ExamineTensor()
Examine contents of tensor, collect together best-matching 2D particles and modify clusters as requir...
float m_minSamplingPointsPerLayer
The minimum number of sampling points per layer to allow particle creation.
Header file for the three dimensional tracks algorithm base class.
std::vector< TransverseTensorTool * > TensorToolVector
std::map< unsigned int, FitSegmentMatrix > FitSegmentTensor
pandora::StatusCode GetSegmentOverlap(const FitSegment &fitSegmentU, const FitSegment &fitSegmentV, const FitSegment &fitSegmentW, const TwoDSlidingFitResult &slidingFitResultU, const TwoDSlidingFitResult &slidingFitResultV, const TwoDSlidingFitResult &slidingFitResultW, TransverseOverlapResult &transverseOverlapResult) const
Get the overlap result for three fit segments and the accompanying sliding fit results.
unsigned int m_minSegmentMatchedPoints
The minimum number of matched segment sampling points to allow segment grouping.
TwoDSlidingFitResult class.
ThreeDTransverseTracksAlgorithm class.