CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FlexibleKFFittingSmoother.h
Go to the documentation of this file.
1 #ifndef CD_FlexibleKFFittingSmoother_H_
2 #define CD_FlexibleKFFittingSmoother_H_
3 
13 
15 
16 public:
19  const TrajectoryFitter& looperFitter) :
20  theStandardFitter(standardFitter.clone()),
21  theLooperFitter(looperFitter.clone()) {}
22 
24 
25  virtual std::vector<Trajectory> fit(const Trajectory& t) const {
26  return theStandardFitter->fit(t);
27  }
28 
29  virtual std::vector<Trajectory> fit(const Trajectory& t,fitType type) const;
30 
31 
32  virtual std::vector<Trajectory> fit(const TrajectorySeed& aSeed,
33  const RecHitContainer& hits,
34  const TrajectoryStateOnSurface& firstPredTsos) const{
35  return theStandardFitter->fit(aSeed,hits,firstPredTsos);
36  }
37 
38  virtual std::vector<Trajectory> fit(const TrajectorySeed& aSeed,
39  const RecHitContainer& hits,
40  const TrajectoryStateOnSurface& firstPredTsos,
41  fitType type) const;
42 
43  virtual std::vector<Trajectory> fit(const TrajectorySeed& aSeed,
44  const RecHitContainer& hits) const{
45  return theStandardFitter->fit(aSeed,hits);
46  }
47 
48  virtual std::vector<Trajectory> fit(const TrajectorySeed& aSeed,
49  const RecHitContainer& hits,
50  fitType type) const;
51 
52  //const TrajectoryFitter* fitter() const {return theFitter;}
53  //const TrajectorySmoother* smoother() const {return theSmoother;}
54 
57  }
58 
59 private:
62 
63 };
64 
65 #endif //CD_FlexibleKFFittingSmoother_H_
type
Definition: HCALResponse.h:22
const TrajectoryFitter * theLooperFitter
virtual std::vector< Trajectory > fit(const Trajectory &t) const
const TrajectoryFitter * theStandardFitter
FlexibleKFFittingSmoother(const TrajectoryFitter &standardFitter, const TrajectoryFitter &looperFitter)
constructor with predefined fitter and smoother and propagator
FlexibleKFFittingSmoother * clone() const
virtual std::vector< Trajectory > fit(const TrajectorySeed &aSeed, const RecHitContainer &hits, const TrajectoryStateOnSurface &firstPredTsos) const
virtual std::vector< Trajectory > fit(const Trajectory &) const =0
Trajectory::RecHitContainer RecHitContainer
virtual std::vector< Trajectory > fit(const TrajectorySeed &aSeed, const RecHitContainer &hits) const