CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
21  std::vector<GhostTrackState> &states,
22  double &ndof, double &chi2);
23 
24  protected:
25  virtual bool stable(const GhostTrackPrediction &before,
26  const GhostTrackPrediction &after) const;
27  virtual void reset() {}
28  virtual void postFit(
30  const GhostTrackPrediction &pred,
31  std::vector<GhostTrackState> &states) {}
32 
33  private:
34  virtual FitterImpl *clone() const
35  { return new SequentialGhostTrackFitter(*this); }
36 
37  unsigned int maxIteration;
38  double minDeltaR;
39  double minDistance;
41 };
42 
43 }
44 
45 #endif // RecoBTag_SequentialGhostTrackFitter_h
virtual FitterImpl * clone() const
virtual bool stable(const GhostTrackPrediction &before, const GhostTrackPrediction &after) const
virtual void postFit(const GhostTrackFitter::PredictionUpdater &updater, const GhostTrackPrediction &pred, std::vector< GhostTrackState > &states)
dictionary prior
GhostTrackPrediction fit(const GhostTrackFitter::PredictionUpdater &updater, const GhostTrackPrediction &prior, std::vector< GhostTrackState > &states, double &ndof, double &chi2)