CMS 3D CMS Logo

SequentialGhostTrackFitter.h
Go to the documentation of this file.
1 #ifndef RecoBTag_SequentialGhostTrackFitter_h
2 #define RecoBTag_SequentialGhostTrackFitter_h
3 
4 #include <vector>
5 
7 
8 namespace reco {
9 
10  class GhostTrackPrediction;
11  class GhostTrackState;
12 
14  public:
17 
20  std::vector<GhostTrackState> &states,
21  double &ndof,
22  double &chi2) override;
23 
24  protected:
25  virtual bool stable(const GhostTrackPrediction &before, const GhostTrackPrediction &after) const;
26  virtual void reset() {}
27  virtual void postFit(const GhostTrackFitter::PredictionUpdater &updater,
28  const GhostTrackPrediction &pred,
29  std::vector<GhostTrackState> &states) {}
30 
31  private:
32  FitterImpl *clone() const override { return new SequentialGhostTrackFitter(*this); }
33 
34  unsigned int maxIteration;
35  double minDeltaR;
36  double minDistance;
38  };
39 
40 } // namespace reco
41 
42 #endif // RecoBTag_SequentialGhostTrackFitter_h
GhostTrackPrediction fit(const GhostTrackFitter::PredictionUpdater &updater, const GhostTrackPrediction &prior, std::vector< GhostTrackState > &states, double &ndof, double &chi2) override
virtual void postFit(const GhostTrackFitter::PredictionUpdater &updater, const GhostTrackPrediction &pred, std::vector< GhostTrackState > &states)
virtual bool stable(const GhostTrackPrediction &before, const GhostTrackPrediction &after) const
fixed size matrix
FitterImpl * clone() const override