CMS 3D CMS Logo

Public Member Functions | Private Attributes

FlexibleKFFittingSmoother Class Reference

#include <FlexibleKFFittingSmoother.h>

Inheritance diagram for FlexibleKFFittingSmoother:
TrajectoryFitter

List of all members.

Public Member Functions

FlexibleKFFittingSmootherclone () const
virtual std::vector< Trajectoryfit (const TrajectorySeed &aSeed, const RecHitContainer &hits, fitType type) const
virtual std::vector< Trajectoryfit (const Trajectory &t) const
virtual std::vector< Trajectoryfit (const TrajectorySeed &aSeed, const RecHitContainer &hits) const
virtual std::vector< Trajectoryfit (const Trajectory &t, fitType type) const
virtual std::vector< Trajectoryfit (const TrajectorySeed &aSeed, const RecHitContainer &hits, const TrajectoryStateOnSurface &firstPredTsos) const
virtual std::vector< Trajectoryfit (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 TrajectoryFittertheLooperFitter
const TrajectoryFittertheStandardFitter

Detailed Description

Combine different FittingSmoother in a single module

Date:
2012/03/06 16:35:56
Revision:
1.1
Author:
mangano

Definition at line 14 of file FlexibleKFFittingSmoother.h.


Constructor & Destructor Documentation

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;
}

Member Function Documentation

FlexibleKFFittingSmoother* FlexibleKFFittingSmoother::clone ( void  ) const [inline, virtual]
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>();
}

Member Data Documentation

Definition at line 61 of file FlexibleKFFittingSmoother.h.

Referenced by clone().

Definition at line 60 of file FlexibleKFFittingSmoother.h.

Referenced by clone(), and fit().