#include <KinematicConstrainedVertexFitter.h>
Public Member Functions | |
RefCountedKinematicTree | fit (std::vector< RefCountedKinematicParticle > part) |
RefCountedKinematicTree | fit (std::vector< RefCountedKinematicParticle > part, MultiTrackKinematicConstraint *cs) |
RefCountedKinematicTree | fit (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.
References csum, defaultParameters(), finder, iterations, tBuilder, updator, and vCons.
KinematicConstrainedVertexFitter::KinematicConstrainedVertexFitter | ( | const LinearizationPointFinder & | fnd | ) |
Constructor with user-provided LinearizationPointFinder
Definition at line 20 of file KinematicConstrainedVertexFitter.cc.
References LinearizationPointFinder::clone(), csum, defaultParameters(), finder, iterations, tBuilder, updator, and vCons.
KinematicConstrainedVertexFitter::~KinematicConstrainedVertexFitter | ( | ) |
Definition at line 31 of file KinematicConstrainedVertexFitter.cc.
References finder, tBuilder, updator, and vCons.
|
private |
Definition at line 47 of file KinematicConstrainedVertexFitter.cc.
References theMaxDelta, theMaxReducedChiSq, theMaxStep, and theMinChiSqImprovement.
Referenced by KinematicConstrainedVertexFitter().
|
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 KineExample::analyze(), fit(), and ConversionVertexFinder::run().
|
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 | ( | 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.
References ConstrainedTreeBuilder::buildTree(), csum, delta, Vispa.Plugins.EdmBrowser.EdmDataAccessor::eq(), finder, LinearizationPointFinder::getLinearizationPoint(), i, LaserDQM_cfg::input, KinematicState::isValid(), iterations, j, KinematicState::kinematicParameters(), KinematicState::kinematicParametersError(), LogDebug, KinematicParametersError::matrix(), InputSort::sort(), evf::utils::state, tBuilder, theMaxDelta, theMaxReducedChiSq, theMaxStep, theMinChiSqImprovement, KinematicConstrainedVertexUpdator::update(), updator, KinematicParameters::vector(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
float KinematicConstrainedVertexFitter::getCSum | ( | ) | const |
int KinematicConstrainedVertexFitter::getNit | ( | ) | const |
Definition at line 205 of file KinematicConstrainedVertexFitter.cc.
References iterations.
Referenced by ConversionVertexFinder::run().
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.
References edm::ParameterSet::getParameter(), theMaxDelta, theMaxReducedChiSq, theMaxStep, and theMinChiSqImprovement.
|
private |
Definition at line 85 of file KinematicConstrainedVertexFitter.h.
Referenced by fit(), getCSum(), and KinematicConstrainedVertexFitter().
|
private |
Definition at line 80 of file KinematicConstrainedVertexFitter.h.
Referenced by fit(), KinematicConstrainedVertexFitter(), and ~KinematicConstrainedVertexFitter().
|
private |
Definition at line 84 of file KinematicConstrainedVertexFitter.h.
Referenced by fit(), getNit(), and KinematicConstrainedVertexFitter().
|
private |
Definition at line 83 of file KinematicConstrainedVertexFitter.h.
Referenced by fit(), KinematicConstrainedVertexFitter(), and ~KinematicConstrainedVertexFitter().
|
private |
Definition at line 76 of file KinematicConstrainedVertexFitter.h.
Referenced by defaultParameters(), fit(), and setParameters().
|
private |
Definition at line 78 of file KinematicConstrainedVertexFitter.h.
Referenced by defaultParameters(), fit(), and setParameters().
|
private |
Definition at line 77 of file KinematicConstrainedVertexFitter.h.
Referenced by defaultParameters(), fit(), and setParameters().
|
private |
Definition at line 79 of file KinematicConstrainedVertexFitter.h.
Referenced by defaultParameters(), fit(), and setParameters().
|
private |
Definition at line 81 of file KinematicConstrainedVertexFitter.h.
Referenced by fit(), KinematicConstrainedVertexFitter(), and ~KinematicConstrainedVertexFitter().
|
private |
Definition at line 82 of file KinematicConstrainedVertexFitter.h.
Referenced by KinematicConstrainedVertexFitter(), and ~KinematicConstrainedVertexFitter().