CMS 3D CMS Logo

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(const std::vector<RefCountedKinematicParticle> &part) {
49  return fit(part, nullptr, nullptr);
50  }
51 
55  RefCountedKinematicTree fit(const std::vector<RefCountedKinematicParticle> &part,
57  return fit(part, cs, nullptr);
58  };
59 
63  RefCountedKinematicTree fit(const 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(const std::vector< RefCountedKinematicParticle > &part)
unique_ptr< ClusterSequence > cs
RefCountedKinematicTree fit(const std::vector< RefCountedKinematicParticle > &part, MultiTrackKinematicConstraint *cs)
KinematicConstrainedVertexUpdator * updator
void setParameters(const edm::ParameterSet &pSet)
part
Definition: HCALResponse.h:20