#include <FlexibleKFFittingSmoother.h>
Public Member Functions | |
FlexibleKFFittingSmoother * | clone () const |
virtual std::vector< Trajectory > | fit (const TrajectorySeed &aSeed, const RecHitContainer &hits, fitType type) const |
virtual std::vector< Trajectory > | fit (const Trajectory &t) const |
virtual std::vector< Trajectory > | fit (const TrajectorySeed &aSeed, const RecHitContainer &hits) const |
virtual std::vector< Trajectory > | fit (const Trajectory &t, fitType type) const |
virtual std::vector< Trajectory > | fit (const TrajectorySeed &aSeed, const RecHitContainer &hits, const TrajectoryStateOnSurface &firstPredTsos) const |
virtual std::vector< Trajectory > | fit (const TrajectorySeed &aSeed, const RecHitContainer &hits, const TrajectoryStateOnSurface &firstPredTsos, fitType type) const |
FlexibleKFFittingSmoother (const TrajectoryFitter &standardFitter, const TrajectoryFitter &looperFitter) | |
constructor with predefined fitter and smoother and propagator | |
virtual | ~FlexibleKFFittingSmoother () |
Private Attributes | |
const TrajectoryFitter * | theLooperFitter |
const TrajectoryFitter * | theStandardFitter |
Combine different FittingSmoother in a single module
Definition at line 14 of file FlexibleKFFittingSmoother.h.
FlexibleKFFittingSmoother::FlexibleKFFittingSmoother | ( | const TrajectoryFitter & | standardFitter, |
const TrajectoryFitter & | looperFitter | ||
) | [inline] |
constructor with predefined fitter and smoother and propagator
Definition at line 18 of file FlexibleKFFittingSmoother.h.
Referenced by clone().
: theStandardFitter(standardFitter.clone()), theLooperFitter(looperFitter.clone()) {}
FlexibleKFFittingSmoother::~FlexibleKFFittingSmoother | ( | ) | [virtual] |
Definition at line 5 of file FlexibleKFFittingSmoother.cc.
{ delete theStandardFitter; delete theLooperFitter; }
FlexibleKFFittingSmoother* FlexibleKFFittingSmoother::clone | ( | void | ) | const [inline, virtual] |
Implements TrajectoryFitter.
Definition at line 55 of file FlexibleKFFittingSmoother.h.
References FlexibleKFFittingSmoother(), theLooperFitter, and theStandardFitter.
{ return new FlexibleKFFittingSmoother(*theStandardFitter,*theLooperFitter); }
virtual std::vector<Trajectory> FlexibleKFFittingSmoother::fit | ( | const TrajectorySeed & | aSeed, |
const RecHitContainer & | hits, | ||
const TrajectoryStateOnSurface & | firstPredTsos | ||
) | const [inline, virtual] |
Implements TrajectoryFitter.
Definition at line 32 of file FlexibleKFFittingSmoother.h.
References TrajectoryFitter::fit(), and theStandardFitter.
{ return theStandardFitter->fit(aSeed,hits,firstPredTsos); }
std::vector< Trajectory > FlexibleKFFittingSmoother::fit | ( | const TrajectorySeed & | aSeed, |
const RecHitContainer & | hits, | ||
fitType | type | ||
) | const [virtual] |
Reimplemented from TrajectoryFitter.
Definition at line 38 of file FlexibleKFFittingSmoother.cc.
References AlignmentProducer_cff::looper.
{ if(type==standard) return theStandardFitter->fit(aSeed,hits); else if(type==looper) return theLooperFitter->fit(aSeed,hits); else return std::vector<Trajectory>(); }
virtual std::vector<Trajectory> FlexibleKFFittingSmoother::fit | ( | const TrajectorySeed & | aSeed, |
const RecHitContainer & | hits | ||
) | const [inline, virtual] |
Implements TrajectoryFitter.
Definition at line 43 of file FlexibleKFFittingSmoother.h.
References TrajectoryFitter::fit(), and theStandardFitter.
{ return theStandardFitter->fit(aSeed,hits); }
std::vector< Trajectory > FlexibleKFFittingSmoother::fit | ( | const TrajectorySeed & | aSeed, |
const RecHitContainer & | hits, | ||
const TrajectoryStateOnSurface & | firstPredTsos, | ||
fitType | type | ||
) | const [virtual] |
Reimplemented from TrajectoryFitter.
Definition at line 24 of file FlexibleKFFittingSmoother.cc.
References AlignmentProducer_cff::looper.
{ if(type==standard) return theStandardFitter->fit(aSeed,hits,firstPredTsos); else if(type==looper) return theLooperFitter->fit(aSeed,hits,firstPredTsos); else return std::vector<Trajectory>(); }
virtual std::vector<Trajectory> FlexibleKFFittingSmoother::fit | ( | const Trajectory & | t | ) | const [inline, virtual] |
Implements TrajectoryFitter.
Definition at line 25 of file FlexibleKFFittingSmoother.h.
References TrajectoryFitter::fit(), and theStandardFitter.
{ return theStandardFitter->fit(t); }
std::vector< Trajectory > FlexibleKFFittingSmoother::fit | ( | const Trajectory & | t, |
fitType | type | ||
) | const [virtual] |
Reimplemented from TrajectoryFitter.
Definition at line 12 of file FlexibleKFFittingSmoother.cc.
References AlignmentProducer_cff::looper.
{ if(type==standard) return theStandardFitter->fit(t); else if(type==looper) return theLooperFitter->fit(t); else return std::vector<Trajectory>(); }
const TrajectoryFitter* FlexibleKFFittingSmoother::theLooperFitter [private] |
Definition at line 61 of file FlexibleKFFittingSmoother.h.
Referenced by clone().
const TrajectoryFitter* FlexibleKFFittingSmoother::theStandardFitter [private] |
Definition at line 60 of file FlexibleKFFittingSmoother.h.