CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
KinematicConstrainedVertexFitter.h
Go to the documentation of this file.
1 #ifndef KinematicConstrainedVertexFitter_H
2 #define KinematicConstrainedVertexFitter_H
3 
11 
22 
23 public:
24 
29 
34 
36 
42  void setParameters(const edm::ParameterSet& pSet);
43 
48  RefCountedKinematicTree fit(std::vector<RefCountedKinematicParticle> part) {
49  return fit(part, 0, 0);
50  }
51 
55  RefCountedKinematicTree fit(std::vector<RefCountedKinematicParticle> part,
57  return fit(part, cs, 0);
58  };
59 
63  RefCountedKinematicTree fit(std::vector<RefCountedKinematicParticle> part,
65  GlobalPoint * pt);
66 
67 //return the number of iterations
68  int getNit() const;
69 //return the value of the constraint equation
70  float getCSum() const;
71 
72 private:
73 
74  void defaultParameters();
75 
76  float theMaxDelta; //maximum (delta parameter)^2/(sigma parameter)^2 per iteration for convergence
77  int theMaxStep;
78  float theMaxReducedChiSq; //max of initial (after 2 iterations) chisq/dof value
79  float theMinChiSqImprovement; //minimum required improvement in chisq to avoid fit termination for cases exceeding theMaxReducedChiSq
85  float csum;
86 };
87 
88 #endif
RefCountedKinematicTree fit(std::vector< RefCountedKinematicParticle > part)
KinematicConstrainedVertexUpdator * updator
void setParameters(const edm::ParameterSet &pSet)
part
Definition: HCALResponse.h:21
RefCountedKinematicTree fit(std::vector< RefCountedKinematicParticle > part, MultiTrackKinematicConstraint *cs)