8 #ifndef LAR_THREE_D_SLIDING_CONE_FIT_RESULT_H 9 #define LAR_THREE_D_SLIDING_CONE_FIT_RESULT_H 1 11 #include "Api/PandoraApi.h" 16 #include <unordered_map> 47 SimpleCone(
const pandora::CartesianVector &coneApex,
const pandora::CartesianVector &coneDirection,
const float coneLength,
const float coneTanHalfAngle);
54 const pandora::CartesianVector &
GetConeApex()
const;
84 float GetMeanRT(
const pandora::Cluster *
const pCluster)
const;
104 float GetBoundedHitFraction(
const pandora::Cluster *
const pCluster,
const float coneLength,
const float coneTanHalfAngle)
const;
132 template <
typename T>
147 const TrackStateMap &GetTrackStateMap()
const;
157 void GetSimpleConeList(
const unsigned int nLayersForConeFit,
const unsigned int nCones,
const ConeSelection coneSelection,
158 SimpleConeList &simpleConeList)
const;
174 const float coneLength,
const float coneTanHalfAngle) :
222 return m_slidingFitResult;
229 return m_trackStateMap;
234 #endif // #ifndef LAR_THREE_D_SLIDING_CONE_FIT_RESULT_H float m_coneLength
The cone length.
const ThreeDSlidingFitResult m_slidingFitResult
The sliding fit result for the full cluster.
std::vector< ThreeDSlidingConeFitResult > ThreeDSlidingConeFitResultList
std::vector< SimpleCone > SimpleConeList
SimpleCone(const pandora::CartesianVector &coneApex, const pandora::CartesianVector &coneDirection, const float coneLength, const float coneTanHalfAngle)
Constructor.
const ThreeDSlidingFitResult & GetSlidingFitResult() const
Get the sliding fit result for the full cluster.
std::list< pandora::TrackState > TrackStateLinkedList
The track state linked list typedef.
float GetConeTanHalfAngle() const
Get the tangent of the cone half-angle.
std::map< int, pandora::TrackState > TrackStateMap
pandora::CartesianVector m_coneDirection
The cone direction.
const pandora::CartesianVector & GetConeApex() const
Get the cone apex.
float m_coneTanHalfAngle
The tangent of the cone half-angle.
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...
Header file for the lar three dimensional sliding fit result class.
pandora::CartesianVector m_coneApex
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) ...
std::unordered_map< const pandora::Cluster *, ThreeDSlidingConeFitResult > ThreeDSlidingConeFitResultMap
const TrackStateMap & GetTrackStateMap() const
Get the track state map, which caches results from the sliding fit result.
ThreeDSlidingFitResult class.
ConeSelection
ConeSelection enum.
float GetConeLength() const
Get the cone length.
ThreeDSlidingConeFitResult class.
const pandora::CartesianVector & GetConeDirection() const
Get the cone direction.
TrackStateMap m_trackStateMap
The track state map.