8 #ifndef LONGITUDINAL_TRACK_HITS_BASE_TOOL_H
9 #define LONGITUDINAL_TRACK_HITS_BASE_TOOL_H 1
37 const pandora::CartesianVector &end3D,
ProtoHit &protoHit)
const = 0;
42 virtual pandora::StatusCode
ReadSettings(
const pandora::TiXmlHandle xmlHandle);
54 pandora::CartesianVector &outputVtx3D, pandora::CartesianVector &outputEnd3D)
const;
66 void UpdateBestPosition(
const pandora::HitType hitType1,
const pandora::HitType hitType2,
const pandora::CartesianVector &vtx1,
67 const pandora::CartesianVector &vtx2, pandora::CartesianVector &bestVtx,
float &bestChi2)
const;
75 #endif // #ifndef LONGITUDINAL_TRACK_HITS_BASE_TOOL_H
Proto hits are temporary constructs to be used during iterative 3D hit procedure. ...
std::map< pandora::HitType, TwoDSlidingFitResult > MatchedSlidingFitMap
virtual void GetTrackHits3D(const pandora::CaloHitVector &inputTwoDHits, const MatchedSlidingFitMap &matchedSlidingFitMap, ProtoHitVector &protoHitVector) const
Calculate 3D hits from an input list of 2D hits.
ThreeDHitCreationAlgorithm::ProtoHitVector ProtoHitVector
virtual pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
void UpdateBestPosition(const pandora::HitType hitType1, const pandora::HitType hitType2, const pandora::CartesianVector &vtx1, const pandora::CartesianVector &vtx2, pandora::CartesianVector &bestVtx, float &bestChi2) const
Combine two 2D coordinates to give a 3D coordinate.
LongitudinalTrackHitsBaseTool()
Default constructor.
virtual void GetLongitudinalTrackHit3D(const MatchedSlidingFitMap &matchedSlidingFitMap, const pandora::CartesianVector &vtx3D, const pandora::CartesianVector &end3D, ProtoHit &protoHit) const =0
Get the three dimensional position using a provided two dimensional calo hit and sliding linear fits ...
float m_minTrackLengthSquared
float m_vtxDisplacementCutSquared
void GetVertexAndEndPositions(const MatchedSlidingFitMap &inputSlidingFitMap, MatchedSlidingFitMap &outputSlidingFitMap, pandora::CartesianVector &outputVtx3D, pandora::CartesianVector &outputEnd3D) const
Get reconstructed vertex and end positions for this 3D track.
LongitudinalTrackHitsBaseTool class.