Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
TransverseTrackHitsBaseTool.h
Go to the documentation of this file.
1
8#ifndef TRANSVERSE_TRACK_HITS_BASE_TOOL_H
9#define TRANSVERSE_TRACK_HITS_BASE_TOOL_H 1
10
12
13namespace lar_content
14{
15
20{
21protected:
28 virtual void GetTransverseTrackHit3D(const MatchedSlidingFitMap &matchedSlidingFitMap, ProtoHit &protoHit) const = 0;
29
30 virtual void GetTrackHits3D(
31 const pandora::CaloHitVector &inputTwoDHits, const MatchedSlidingFitMap &matchedSlidingFitMap, ProtoHitVector &protoHitVector) const;
32
39 virtual void AddTransverseChi2(const MatchedSlidingFitMap &matchedSlidingFitMap, ProtoHit &protoHit) const;
40
41private:
48 double GetTransverseChi2(const pandora::CartesianVector &position2D, const TwoDSlidingFitResult &fitResult) const;
49};
50
51} // namespace lar_content
52
53#endif // #ifndef TRANSVERSE_TRACK_HITS_BASE_TOOL_H
Header file for the track hits base tool.
ThreeDHitCreationAlgorithm::ProtoHitVector ProtoHitVector
Proto hits are temporary constructs to be used during iterative 3D hit procedure.
TrackHitsBaseTool class.
std::map< pandora::HitType, TwoDSlidingFitResult > MatchedSlidingFitMap
virtual void GetTransverseTrackHit3D(const MatchedSlidingFitMap &matchedSlidingFitMap, ProtoHit &protoHit) const =0
Get the three dimensional position using a provided two dimensional calo hit and sliding linear fits ...
virtual void AddTransverseChi2(const MatchedSlidingFitMap &matchedSlidingFitMap, ProtoHit &protoHit) const
Calculate an additional contribution to the chi-squared based on the steepness of the track.
double GetTransverseChi2(const pandora::CartesianVector &position2D, const TwoDSlidingFitResult &fitResult) const
Calculate an additional contribution to the chi-squared based on the steepness of the track.
virtual void GetTrackHits3D(const pandora::CaloHitVector &inputTwoDHits, const MatchedSlidingFitMap &matchedSlidingFitMap, ProtoHitVector &protoHitVector) const
Calculate 3D hits from an input list of 2D hits.
CartesianVector class.
std::vector< const CaloHit * > CaloHitVector