#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 7 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 17 of file KinematicConstrainedVertexFitter.cc.
References LinearizationPointFinder::clone(), csum, defaultParameters(), finder, iterations, tBuilder, updator, and vCons.
KinematicConstrainedVertexFitter::~KinematicConstrainedVertexFitter | ( | ) |
Definition at line 27 of file KinematicConstrainedVertexFitter.cc.
References finder, tBuilder, updator, and vCons.
|
private |
Definition at line 41 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 46 of file KinematicConstrainedVertexFitter.h.
Referenced by KineExample::analyze(), fit(), BPHKinematicFit::kinematicTree(), trackingPlots.Iteration::modules(), and ConversionVertexFinder::run().
|
inline |
LMS with Lagrange multipliers fit of vertex constraint and user-specified constraint.
Definition at line 53 of file KinematicConstrainedVertexFitter.h.
References callgraph::cs, and fit().
Referenced by trackingPlots.Iteration::modules().
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 48 of file KinematicConstrainedVertexFitter.cc.
References ConstrainedTreeBuilder::buildTree(), callgraph::cs, csum, dumpMFGeometry_cfg::delta, finder, LinearizationPointFinder::getLinearizationPoint(), mps_fire::i, input, iterations, dqmiolumiharvest::j, LogDebug, allConversions_cfi::maxDelta, ecalTrigSettings_cff::particles, DiDispStaMuonMonitor_cfi::pt, InputSort::sort(), tBuilder, theMaxDelta, theMaxReducedChiSq, theMaxStep, theMinChiSqImprovement, KinematicConstrainedVertexUpdator::update(), updator, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by trackingPlots.Iteration::modules().
float KinematicConstrainedVertexFitter::getCSum | ( | ) | const |
int KinematicConstrainedVertexFitter::getNit | ( | ) | const |
Definition at line 195 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 34 of file KinematicConstrainedVertexFitter.cc.
References edm::ParameterSet::getParameter(), theMaxDelta, theMaxReducedChiSq, theMaxStep, and theMinChiSqImprovement.
Referenced by ConversionVertexFinder::ConversionVertexFinder().
|
private |
Definition at line 81 of file KinematicConstrainedVertexFitter.h.
Referenced by fit(), getCSum(), and KinematicConstrainedVertexFitter().
|
private |
Definition at line 76 of file KinematicConstrainedVertexFitter.h.
Referenced by fit(), KinematicConstrainedVertexFitter(), and ~KinematicConstrainedVertexFitter().
|
private |
Definition at line 80 of file KinematicConstrainedVertexFitter.h.
Referenced by fit(), getNit(), and KinematicConstrainedVertexFitter().
|
private |
Definition at line 79 of file KinematicConstrainedVertexFitter.h.
Referenced by fit(), KinematicConstrainedVertexFitter(), and ~KinematicConstrainedVertexFitter().
|
private |
Definition at line 72 of file KinematicConstrainedVertexFitter.h.
Referenced by defaultParameters(), fit(), and setParameters().
|
private |
Definition at line 74 of file KinematicConstrainedVertexFitter.h.
Referenced by defaultParameters(), fit(), and setParameters().
|
private |
Definition at line 73 of file KinematicConstrainedVertexFitter.h.
Referenced by defaultParameters(), fit(), and setParameters().
|
private |
Definition at line 75 of file KinematicConstrainedVertexFitter.h.
Referenced by defaultParameters(), fit(), and setParameters().
|
private |
Definition at line 77 of file KinematicConstrainedVertexFitter.h.
Referenced by fit(), KinematicConstrainedVertexFitter(), and ~KinematicConstrainedVertexFitter().
|
private |
Definition at line 78 of file KinematicConstrainedVertexFitter.h.
Referenced by KinematicConstrainedVertexFitter(), and ~KinematicConstrainedVertexFitter().