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 
23  virtual ~FlexibleKFFittingSmoother();
24 
25  Trajectory fitOne(const Trajectory& t,fitType type) const{ return fitter(type)->fitOne(t,type);}
26 
27 
29  const RecHitContainer& hits,
30  const TrajectoryStateOnSurface& firstPredTsos,
31  fitType type) const {return fitter(type)->fitOne(aSeed,hits,firstPredTsos,type); }
32 
34  const RecHitContainer& hits,
35  fitType type) const { return fitter(type)->fitOne(aSeed,hits,type); }
36 
38  return new FlexibleKFFittingSmoother(*theStandardFitter,*theLooperFitter);
39  }
40 
41  private:
42 
44  return (type==standard) ? theStandardFitter : theLooperFitter;
45  }
46 
49 
50 };
51 
52 #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
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
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.