CMS 3D CMS Logo

KinematicConstrainedVertexFitter.h
Go to the documentation of this file.
1 #ifndef KinematicConstrainedVertexFitter_H
2 #define KinematicConstrainedVertexFitter_H
3 
11 
22 public:
27 
32 
34 
40  void setParameters(const edm::ParameterSet &pSet);
41 
46  RefCountedKinematicTree fit(const std::vector<RefCountedKinematicParticle> &part) {
47  return fit(part, nullptr, nullptr);
48  }
49 
53  RefCountedKinematicTree fit(const std::vector<RefCountedKinematicParticle> &part, MultiTrackKinematicConstraint *cs) {
54  return fit(part, cs, nullptr);
55  };
56 
60  RefCountedKinematicTree fit(const std::vector<RefCountedKinematicParticle> &part,
62  GlobalPoint *pt);
63 
64  //return the number of iterations
65  int getNit() const;
66  //return the value of the constraint equation
67  float getCSum() const;
68 
69 private:
70  void defaultParameters();
71 
72  float theMaxDelta; //maximum (delta parameter)^2/(sigma parameter)^2 per iteration for convergence
74  float theMaxReducedChiSq; //max of initial (after 2 iterations) chisq/dof value
75  float theMinChiSqImprovement; //minimum required improvement in chisq to avoid fit termination for cases exceeding theMaxReducedChiSq
81  float csum;
82 };
83 
84 #endif
KinematicConstrainedVertexFitter::updator
KinematicConstrainedVertexUpdator * updator
Definition: KinematicConstrainedVertexFitter.h:77
MultiTrackKinematicConstraint.h
ConstrainedTreeBuilder
Definition: ConstrainedTreeBuilder.h:15
KinematicConstrainedVertexFitter::setParameters
void setParameters(const edm::ParameterSet &pSet)
Definition: KinematicConstrainedVertexFitter.cc:34
fwrapper::cs
unique_ptr< ClusterSequence > cs
Definition: fastjetfortran_madfks.cc:47
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
KinematicConstrainedVertexFitter::~KinematicConstrainedVertexFitter
~KinematicConstrainedVertexFitter()
Definition: KinematicConstrainedVertexFitter.cc:27
MultiTrackKinematicConstraint
Definition: MultiTrackKinematicConstraint.h:23
KinematicConstrainedVertexFitter::theMinChiSqImprovement
float theMinChiSqImprovement
Definition: KinematicConstrainedVertexFitter.h:75
ReferenceCountingPointer< KinematicTree >
KinematicConstrainedVertexFitter::fit
RefCountedKinematicTree fit(const std::vector< RefCountedKinematicParticle > &part, MultiTrackKinematicConstraint *cs)
Definition: KinematicConstrainedVertexFitter.h:53
KinematicConstrainedVertexFitter::getCSum
float getCSum() const
Definition: KinematicConstrainedVertexFitter.cc:197
KinematicConstrainedVertexUpdator
Definition: KinematicConstrainedVertexUpdator.h:13
KinematicConstrainedVertexFitter::fit
RefCountedKinematicTree fit(const std::vector< RefCountedKinematicParticle > &part)
Definition: KinematicConstrainedVertexFitter.h:46
KinematicConstrainedVertexFitter::KinematicConstrainedVertexFitter
KinematicConstrainedVertexFitter()
Definition: KinematicConstrainedVertexFitter.cc:7
part
part
Definition: HCALResponse.h:20
LinearizationPointFinder
Definition: LinearizationPointFinder.h:12
KinematicConstrainedVertexFitter::iterations
int iterations
Definition: KinematicConstrainedVertexFitter.h:80
Point3DBase< float, GlobalTag >
KinematicConstrainedVertexFitter::theMaxStep
int theMaxStep
Definition: KinematicConstrainedVertexFitter.h:73
KinematicConstrainedVertexFitter::vCons
VertexKinematicConstraint * vCons
Definition: KinematicConstrainedVertexFitter.h:78
edm::ParameterSet
Definition: ParameterSet.h:47
KinematicConstrainedVertexFitter
Definition: KinematicConstrainedVertexFitter.h:21
KinematicConstrainedVertexFitter::defaultParameters
void defaultParameters()
Definition: KinematicConstrainedVertexFitter.cc:41
KinematicConstrainedVertexFitter::theMaxReducedChiSq
float theMaxReducedChiSq
Definition: KinematicConstrainedVertexFitter.h:74
KinematicConstrainedVertexFitter::finder
LinearizationPointFinder * finder
Definition: KinematicConstrainedVertexFitter.h:76
VertexKinematicConstraint
Definition: VertexKinematicConstraint.h:14
KinematicConstrainedVertexFitter::csum
float csum
Definition: KinematicConstrainedVertexFitter.h:81
VertexKinematicConstraint.h
LinearizationPointFinder.h
KinematicConstrainedVertexFitter::getNit
int getNit() const
Definition: KinematicConstrainedVertexFitter.cc:195
KinematicConstrainedVertexFitter::tBuilder
ConstrainedTreeBuilder * tBuilder
Definition: KinematicConstrainedVertexFitter.h:79
KinematicConstrainedVertexFitter::theMaxDelta
float theMaxDelta
Definition: KinematicConstrainedVertexFitter.h:72
RefCountedKinematicTree.h
KinematicConstrainedVertexUpdator.h
ParameterSet.h
ConstrainedTreeBuilder.h