8#ifndef LAR_THREE_D_SLIDING_CONE_FIT_RESULT_H
9#define LAR_THREE_D_SLIDING_CONE_FIT_RESULT_H 1
16#include <unordered_map>
132 template <
typename T>
174 const float coneLength,
const float coneTanHalfAngle) :
175 m_coneApex(coneApex),
176 m_coneDirection(coneDirection),
177 m_coneLength(coneLength),
178 m_coneTanHalfAngle(coneTanHalfAngle)
Header file for the lar three dimensional sliding fit result class.
Header file for the pandora api class.
float GetBoundedHitFraction(const pandora::Cluster *const pCluster) const
Get the fraction of hits in a provided cluster that are bounded within the cone, using fitted cone an...
float m_coneTanHalfAngle
The tangent of the cone half-angle.
const pandora::CartesianVector & GetConeApex() const
Get the cone apex.
float GetMeanRT(const pandora::Cluster *const pCluster) const
Get the mean transverse distance to all hits in a cluster (whether contained or not)
SimpleCone(const pandora::CartesianVector &coneApex, const pandora::CartesianVector &coneDirection, const float coneLength, const float coneTanHalfAngle)
Constructor.
pandora::CartesianVector m_coneApex
The cone apex.
float m_coneLength
The cone length.
const pandora::CartesianVector & GetConeDirection() const
Get the cone direction.
float GetConeTanHalfAngle() const
Get the tangent of the cone half-angle.
float GetConeLength() const
Get the cone length.
pandora::CartesianVector m_coneDirection
The cone direction.
ThreeDSlidingConeFitResult class.
const ThreeDSlidingFitResult & GetSlidingFitResult() const
Get the sliding fit result for the full cluster.
void GetSimpleConeList(const unsigned int nLayersForConeFit, const unsigned int nCones, const ConeSelection coneSelection, SimpleConeList &simpleConeList) const
Get the list of simple cones fitted to the three dimensional cluster.
std::list< pandora::TrackState > TrackStateLinkedList
The track state linked list typedef.
const ThreeDSlidingFitResult m_slidingFitResult
The sliding fit result for the full cluster.
TrackStateMap m_trackStateMap
The track state map.
const TrackStateMap & GetTrackStateMap() const
Get the track state map, which caches results from the sliding fit result.
ThreeDSlidingFitResult class.
std::vector< ThreeDSlidingConeFitResult > ThreeDSlidingConeFitResultList
std::unordered_map< const pandora::Cluster *, ThreeDSlidingConeFitResult > ThreeDSlidingConeFitResultMap
ConeSelection
ConeSelection enum.
std::map< int, pandora::TrackState > TrackStateMap
std::vector< SimpleCone > SimpleConeList