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 
11 
13 
14 public:
17  const TrajectoryFitter& looperFitter) :
18  theStandardFitter(standardFitter.clone()),
19  theLooperFitter(looperFitter.clone()) {}
20 
21  virtual ~FlexibleKFFittingSmoother();
22 
23  Trajectory fitOne(const Trajectory& t,fitType type) const{ return fitter(type)->fitOne(t,type);}
24 
25 
27  const RecHitContainer& hits,
28  const TrajectoryStateOnSurface& firstPredTsos,
29  fitType type) const {return fitter(type)->fitOne(aSeed,hits,firstPredTsos,type); }
30 
32  const RecHitContainer& hits,
33  fitType type) const { return fitter(type)->fitOne(aSeed,hits,type); }
34 
36  return new FlexibleKFFittingSmoother(*theStandardFitter,*theLooperFitter);
37  }
38 
39  private:
40 
42  return (type==standard) ? theStandardFitter : theLooperFitter;
43  }
44 
47 
48 };
49 
50 #endif //CD_FlexibleKFFittingSmoother_H_
type
Definition: HCALResponse.h:21
FlexibleKFFittingSmoother * clone() const
Trajectory fitOne(const TrajectorySeed &aSeed, const RecHitContainer &hits, const TrajectoryStateOnSurface &firstPredTsos, fitType type) const
TransientTrackingRecHit::ConstRecHitContainer RecHitContainer
const TrajectoryFitter * theLooperFitter
const TrajectoryFitter * fitter(fitType type) const
Trajectory fitOne(const Trajectory &t, fitType type) const
tuple clone
Definition: statics.py:58
FlexibleKFFittingSmoother(const TrajectoryFitter &standardFitter, const TrajectoryFitter &looperFitter)
constructor with predefined fitter and smoother and propagator
const TrajectoryFitter * theStandardFitter
Trajectory fitOne(const TrajectorySeed &aSeed, const RecHitContainer &hits, fitType type) const
Unlimited (trivial) bounds.