22 void StepAway(TCSlice& slc, Trajectory& tj);
23 bool StopShort(TCSlice& slc, Trajectory& tj,
bool prt);
25 void Forecast(TCSlice& slc,
const Trajectory& tj);
31 void CheckTraj(TCSlice& slc, Trajectory& tj);
34 void AddHits(TCSlice& slc, Trajectory& tj,
unsigned short ipt,
bool& sigOK);
36 void AddLAHits(TCSlice& slc, Trajectory& tj,
unsigned short ipt,
bool& sigOK);
39 void GetHitMultiplet(
const TCSlice& slc,
unsigned int theHit, std::vector<unsigned int>& hitsInMultiplet,
40 bool useLongPulseHits);
42 float HitTimeErr(
const TCSlice& slc,
const unsigned int iht);
44 float HitsTimeErr2(
const TCSlice& slc,
const std::vector<unsigned int>& hitVec);
51 void FindUseHits(TCSlice& slc, Trajectory& tj,
unsigned short ipt,
float maxDelta,
bool useChg);
53 void FillGaps(TCSlice& slc, Trajectory& tj);
59 void MaskBadTPs(TCSlice& slc, Trajectory& tj,
float const& maxChi);
68 bool GottaKink(TCSlice& slc, Trajectory& tj,
bool doTrim);
70 void ChkBegin(TCSlice& slc, Trajectory& tj);
72 void FixBegin(TCSlice& slc, Trajectory& tj,
unsigned short atPt);
73 bool IsGhost(TCSlice& slc, std::vector<unsigned int>& tHits);
74 bool IsGhost(TCSlice& slc, Trajectory& tj);
80 void ChkStop(TCSlice& slc, Trajectory& tj);
82 bool ChkMichel(TCSlice& slc, Trajectory& tj,
unsigned short& lastGoodPt);
84 bool MakeJunkTraj(TCSlice& slc, std::vector<unsigned int> tHits);
87 #endif // ifndef STEPUTILS_H void Forecast(TCSlice &slc, const Trajectory &tj)
void StepAway(TCSlice &slc, Trajectory &tj)
bool MaskedHitsOK(TCSlice &slc, Trajectory &tj)
void UpdateTraj(TCSlice &slc, Trajectory &tj)
bool IsGhost(TCSlice &slc, Trajectory &tj)
void AddHits(TCSlice &slc, Trajectory &tj, unsigned short ipt, bool &sigOK)
bool StopShort(TCSlice &slc, Trajectory &tj, bool prt)
void SetStrategy(TCSlice &slc, Trajectory &tj)
void FillGaps(TCSlice &slc, Trajectory &tj)
float HitTimeErr(const TCSlice &slc, unsigned int iht)
void ChkBegin(TCSlice &slc, Trajectory &tj)
void FindUseHits(TCSlice &slc, Trajectory &tj, unsigned short ipt, float maxDelta, bool useChg)
bool MakeJunkTraj(TCSlice &slc, std::vector< unsigned int > tHits)
TrajPoint CreateTPFromTj(TCSlice &slc, const Trajectory &tj)
float HitsTimeErr2(const TCSlice &slc, const std::vector< unsigned int > &hitVec)
void DefineHitPos(TCSlice &slc, TrajPoint &tp)
void CheckStiffEl(TCSlice &slc, Trajectory &tj)
void GetHitMultiplet(const TCSlice &slc, unsigned int theHit, std::vector< unsigned int > &hitsInMultiplet, bool useLongPulseHits)
void FixBegin(TCSlice &slc, Trajectory &tj, unsigned short atPt)
void UpdateStiffEl(TCSlice &slc, Trajectory &tj)
void ChkStop(TCSlice &slc, Trajectory &tj)
bool StopIfBadFits(TCSlice &slc, Trajectory &tj)
void MaskBadTPs(TCSlice &slc, Trajectory &tj, float const &maxChi)
void CheckTraj(TCSlice &slc, Trajectory &tj)
void AddLAHits(TCSlice &slc, Trajectory &tj, unsigned short ipt, bool &sigOK)
void CheckHiMultUnusedHits(TCSlice &slc, Trajectory &tj)
void LastEndMerge(TCSlice &slc, CTP_t inCTP)
bool GottaKink(TCSlice &slc, Trajectory &tj, bool doTrim)
void EndMerge(TCSlice &slc, CTP_t inCTP, bool lastPass)
void MaskTrajEndPoints(TCSlice &slc, Trajectory &tj, unsigned short nPts)
void UpdateDeltaRMS(TCSlice &slc, Trajectory &tj)
void ChkStopEndPts(TCSlice &slc, Trajectory &tj, bool prt)
void ReversePropagate(TCSlice &slc, Trajectory &tj)
void CheckHiMultEndHits(TCSlice &slc, Trajectory &tj)
bool ChkMichel(TCSlice &slc, Trajectory &tj, unsigned short &lastGoodPt)