1 #ifndef KALTRACKINGSTRAIGHT_H
2 #define KALTRACKINGSTRAIGHT_H
4 #include "KalTrackingTemplate.h"
5 #include "StraightTrackParameters.h"
24 unsigned int minTrackHits,
25 unsigned int maxSkipRows,
27 int hitDistanceFactor,
30 std::string moduleNotUsed);
39 inline double getSlope()
41 return _containerTrack->_sv[0][0];
44 inline double getIntercept()
46 return _containerTrack->_sv[1][0];
53 return _containerTrack->_deltaChi2;
72 virtual void setLCIOTrackParameters(IMPL::TrackImpl* trk);
85 KalTrackingStraight(
const KalTrackingStraight& orig);
86 KalTrackingStraight & operator=(
const KalTrackingStraight&);
89 friend class KalTrackingStraightTester;
This is the straight track class, which inherits from AttKalTrack.
Definition: KalTrackingStraight.h:20
virtual bool doAddAndFilter(StraightTrackParameters *track, ModuleRowHit hit)
Add a new site to track and update track parameters.
double getDeltaChi2()
Get the Chi2 increment at one step.
Definition: KalTrackingStraight.h:51
virtual bool searchTrack(ModuleRowHit hit)
Search track starting from hit.
void printStateVector()
Convenience function for printing.
Struct to hold module and row and a hit in this row.
Definition: TPCHitMap.h:79
virtual double calculateDeltaChi2(StraightTrackParameters *trackCandidate)
Get the deltaChi2 from the track candidate.
A helper struct to store track parameters for KalTrackingStraight.
Definition: StraightTrackParameters.h:13
This is a base KalDet tracking class.
Definition: KalTrackingTemplate.h:31
virtual Intersection extrapolateIntoNextLayer(int targetDistance, bool useFarHit)
Use the current track state of the containerTrack to extrapolate into the next layer.
int getType()
Get track type: straight line.
Definition: KalTrackingStraight.h:34