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);
41 std::vector<unsigned int>& hitsInMultiplet,
42 bool useLongPulseHits);
44 float HitTimeErr(
const TCSlice& slc,
const unsigned int iht);
46 float HitsTimeErr2(
const TCSlice& slc,
const std::vector<unsigned int>& hitVec);
53 void FindUseHits(TCSlice& slc, Trajectory& tj,
unsigned short ipt,
float maxDelta,
bool useChg);
55 void FillGaps(TCSlice& slc, Trajectory& tj);
61 void MaskBadTPs(TCSlice& slc, Trajectory& tj,
float const& maxChi);
70 bool GottaKink(TCSlice& slc, Trajectory& tj,
bool doTrim);
72 void ChkBegin(TCSlice& slc, Trajectory& tj);
74 void FixBegin(TCSlice& slc, Trajectory& tj,
unsigned short atPt);
75 bool IsGhost(TCSlice& slc, std::vector<unsigned int>& tHits);
76 bool IsGhost(TCSlice& slc, Trajectory& tj);
84 bool ChkMichel(Trajectory& tj,
unsigned short& lastGoodPt);
86 bool MakeJunkTraj(TCSlice& slc, std::vector<unsigned int> tHits);
89 #endif // ifndef STEPUTILS_H void Forecast(TCSlice &slc, const Trajectory &tj)
void ChkStop(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 UpdateDeltaRMS(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)
bool ChkMichel(Trajectory &tj, unsigned short &lastGoodPt)
void UpdateStiffEl(TCSlice const &slc, 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 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 ChkStopEndPts(TCSlice &slc, Trajectory &tj, bool prt)
bool StopIfBadFits(Trajectory &tj)
void ReversePropagate(TCSlice &slc, Trajectory &tj)
void CheckHiMultEndHits(TCSlice &slc, Trajectory &tj)
TrajPoint CreateTPFromTj(const Trajectory &tj)