CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/RecoVertex/KinematicFit/interface/LagrangeParentParticleFitter.h

Go to the documentation of this file.
00001 #ifndef LagrangeParentParticleFitter_H
00002 #define LagrangeParentParticleFitter_H
00003 
00004 #include "RecoVertex/KinematicFit/interface/ParentParticleFitter.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 
00018 class LagrangeParentParticleFitter:public ParentParticleFitter
00019 {
00020 
00021 public:
00022 
00023  LagrangeParentParticleFitter();
00024 
00025  ~LagrangeParentParticleFitter(){}
00026 
00032  void setParameters(const edm::ParameterSet& pSet);
00033 
00041  std::vector<RefCountedKinematicTree>  fit(std::vector<RefCountedKinematicTree> trees,
00042                                              KinematicConstraint * cs)const;
00043 
00044  LagrangeParentParticleFitter * clone() const
00045  {return new LagrangeParentParticleFitter(*this);}
00046 
00047 private:
00048 
00049  void defaultParameters();
00050 
00051  float theMaxDiff;
00052  int theMaxStep;
00053 };
00054 #endif