#include <KinematicConstrainedVertexFitter.h>
Public Member Functions | |
RefCountedKinematicTree | fit (const std::vector< RefCountedKinematicParticle > &part) |
RefCountedKinematicTree | fit (const std::vector< RefCountedKinematicParticle > &part, MultiTrackKinematicConstraint *cs) |
RefCountedKinematicTree | fit (const std::vector< RefCountedKinematicParticle > &part, MultiTrackKinematicConstraint *cs, GlobalPoint *pt) |
float | getCSum () const |
int | getNit () const |
KinematicConstrainedVertexFitter () | |
KinematicConstrainedVertexFitter (const LinearizationPointFinder &fnd) | |
void | setParameters (const edm::ParameterSet &pSet) |
~KinematicConstrainedVertexFitter () | |
Private Member Functions | |
void | defaultParameters () |
Private Attributes | |
float | csum |
LinearizationPointFinder * | finder |
int | iterations |
ConstrainedTreeBuilder * | tBuilder |
float | theMaxDelta |
float | theMaxReducedChiSq |
int | theMaxStep |
float | theMinChiSqImprovement |
KinematicConstrainedVertexUpdator * | updator |
VertexKinematicConstraint * | vCons |
Class fitting the veretx out of set of tracks via usual LMS with Lagrange multipliers. Additional constraints can be applyed to the tracks during the vertex fit (solves non-factorizabele cases). Since the vertex constraint is included by default, do not add a separate VertexKinematicConstraint! Example: Vertex fit with collinear tracks..
Definition at line 21 of file KinematicConstrainedVertexFitter.h.
KinematicConstrainedVertexFitter::KinematicConstrainedVertexFitter | ( | ) |
Default constructor using LMSLinearizationPointFinder
Definition at line 9 of file KinematicConstrainedVertexFitter.cc.
KinematicConstrainedVertexFitter::KinematicConstrainedVertexFitter | ( | const LinearizationPointFinder & | fnd | ) |
Constructor with user-provided LinearizationPointFinder
Definition at line 20 of file KinematicConstrainedVertexFitter.cc.
KinematicConstrainedVertexFitter::~KinematicConstrainedVertexFitter | ( | ) |
Definition at line 31 of file KinematicConstrainedVertexFitter.cc.
|
private |
Definition at line 47 of file KinematicConstrainedVertexFitter.cc.
|
inline |
Without additional constraint, this will perform a simple vertex fit using LMS with Lagrange multipliers method.
Definition at line 48 of file KinematicConstrainedVertexFitter.h.
Referenced by fit().
|
inline |
LMS with Lagrange multipliers fit of vertex constraint and user-specified constraint.
Definition at line 55 of file KinematicConstrainedVertexFitter.h.
References fit().
RefCountedKinematicTree KinematicConstrainedVertexFitter::fit | ( | const std::vector< RefCountedKinematicParticle > & | part, |
MultiTrackKinematicConstraint * | cs, | ||
GlobalPoint * | pt | ||
) |
LMS with Lagrange multipliers fit of vertex constraint, user-specified constraint and user-specified starting point.
Definition at line 55 of file KinematicConstrainedVertexFitter.cc.
float KinematicConstrainedVertexFitter::getCSum | ( | ) | const |
Definition at line 209 of file KinematicConstrainedVertexFitter.cc.
int KinematicConstrainedVertexFitter::getNit | ( | ) | const |
Definition at line 205 of file KinematicConstrainedVertexFitter.cc.
void KinematicConstrainedVertexFitter::setParameters | ( | const edm::ParameterSet & | pSet | ) |
Configuration through PSet: number of iterations(maxDistance) and stopping condition (maxNbrOfIterations)
Definition at line 39 of file KinematicConstrainedVertexFitter.cc.
|
private |
Definition at line 85 of file KinematicConstrainedVertexFitter.h.
|
private |
Definition at line 80 of file KinematicConstrainedVertexFitter.h.
|
private |
Definition at line 84 of file KinematicConstrainedVertexFitter.h.
|
private |
Definition at line 83 of file KinematicConstrainedVertexFitter.h.
|
private |
Definition at line 76 of file KinematicConstrainedVertexFitter.h.
|
private |
Definition at line 78 of file KinematicConstrainedVertexFitter.h.
|
private |
Definition at line 77 of file KinematicConstrainedVertexFitter.h.
|
private |
Definition at line 79 of file KinematicConstrainedVertexFitter.h.
|
private |
Definition at line 81 of file KinematicConstrainedVertexFitter.h.
|
private |
Definition at line 82 of file KinematicConstrainedVertexFitter.h.