#include <KinematicConstrainedVertexFitterT.h>
Public Member Functions | |
RefCountedKinematicTree | fit (const std::vector< RefCountedKinematicParticle > &part) |
RefCountedKinematicTree | fit (const std::vector< RefCountedKinematicParticle > &part, MultiTrackKinematicConstraintT< nTrk, nConstraint > *cs) |
RefCountedKinematicTree | fit (const std::vector< RefCountedKinematicParticle > &part, MultiTrackKinematicConstraintT< nTrk, nConstraint > *cs, GlobalPoint *pt) |
float | getCSum () const |
int | getNit () const |
KinematicConstrainedVertexFitterT (const MagneticField *ifield) | |
KinematicConstrainedVertexFitterT (const MagneticField *ifield, const LinearizationPointFinder &fnd) | |
void | setParameters (const edm::ParameterSet &pSet) |
~KinematicConstrainedVertexFitterT () | |
Private Member Functions | |
void | defaultParameters () |
Private Attributes | |
float | csum |
const MagneticField * | field |
LinearizationPointFinder * | finder |
int | iterations |
ConstrainedTreeBuilderT * | tBuilder |
float | theMaxDelta |
float | theMaxReducedChiSq |
int | theMaxStep |
float | theMinChiSqImprovement |
KinematicConstrainedVertexUpdatorT< nTrk, nConstraint > * | updator |
VertexKinematicConstraintT * | 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 25 of file KinematicConstrainedVertexFitterT.h.
|
explicit |
Default constructor using LMSLinearizationPointFinder
Definition at line 96 of file KinematicConstrainedVertexFitterT.h.
References KinematicConstrainedVertexFitterT< nTrk, nConstraint >::csum, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::defaultParameters(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::finder, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::iterations, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::tBuilder, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::updator, and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::vCons.
KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT | ( | const MagneticField * | ifield, |
const LinearizationPointFinder & | fnd | ||
) |
Constructor with user-provided LinearizationPointFinder
Definition at line 108 of file KinematicConstrainedVertexFitterT.h.
References LinearizationPointFinder::clone(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::csum, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::defaultParameters(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::finder, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::iterations, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::tBuilder, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::updator, and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::vCons.
KinematicConstrainedVertexFitterT< nTrk, nConstraint >::~KinematicConstrainedVertexFitterT | ( | ) |
Definition at line 121 of file KinematicConstrainedVertexFitterT.h.
References KinematicConstrainedVertexFitterT< nTrk, nConstraint >::finder, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::tBuilder, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::updator, and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::vCons.
|
private |
Definition at line 137 of file KinematicConstrainedVertexFitterT.h.
References KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMaxDelta, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMaxReducedChiSq, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMaxStep, and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMinChiSqImprovement.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT().
|
inline |
Without additional constraint, this will perform a simple vertex fit using LMS with Lagrange multipliers method (by definition valid only if nConstraint=0)
Definition at line 50 of file KinematicConstrainedVertexFitterT.h.
References KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit().
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), trackingPlots.Iteration::modules(), and ConversionVertexFinder::run().
|
inline |
LMS with Lagrange multipliers fit of vertex constraint and user-specified constraint.
Definition at line 55 of file KinematicConstrainedVertexFitterT.h.
References fwrapper::cs, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::defaultParameters(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::getCSum(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::getNit(), and DiDispStaMuonMonitor_cfi::pt.
Referenced by trackingPlots.Iteration::modules().
RefCountedKinematicTree KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit | ( | const std::vector< RefCountedKinematicParticle > & | part, |
MultiTrackKinematicConstraintT< nTrk, nConstraint > * | cs, | ||
GlobalPoint * | pt | ||
) |
LMS with Lagrange multipliers fit of vertex constraint, user-specified constraint and user-specified starting point.
Definition at line 145 of file KinematicConstrainedVertexFitterT.h.
References ConstrainedTreeBuilderT::buildTree(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::csum, dumpMFGeometry_cfg::delta, Vispa.Plugins.EdmBrowser.EdmDataAccessor::eq(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::field, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::finder, LinearizationPointFinder::getLinearizationPoint(), mps_fire::i, MagneticField::inInverseGeV(), input, KinematicState::isValid(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::iterations, KinematicState::kinematicParameters(), KinematicState::kinematicParametersError(), LogDebug, KinematicParametersError::matrix(), allConversions_cfi::maxDelta, ecalTrigSettings_cff::particles, InputSort::sort(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::tBuilder, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMaxDelta, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMaxReducedChiSq, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMaxStep, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMinChiSqImprovement, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::updator, KinematicParameters::vector(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by trackingPlots.Iteration::modules().
float KinematicConstrainedVertexFitterT< nTrk, nConstraint >::getCSum | ( | ) | const |
Definition at line 280 of file KinematicConstrainedVertexFitterT.h.
References KinematicConstrainedVertexFitterT< nTrk, nConstraint >::csum.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit().
int KinematicConstrainedVertexFitterT< nTrk, nConstraint >::getNit | ( | ) | const |
Definition at line 275 of file KinematicConstrainedVertexFitterT.h.
References KinematicConstrainedVertexFitterT< nTrk, nConstraint >::iterations.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), and ConversionVertexFinder::run().
void KinematicConstrainedVertexFitterT< nTrk, nConstraint >::setParameters | ( | const edm::ParameterSet & | pSet | ) |
Configuration through PSet: number of iterations(maxDistance) and stopping condition (maxNbrOfIterations)
Definition at line 129 of file KinematicConstrainedVertexFitterT.h.
References edm::ParameterSet::getParameter(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMaxDelta, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMaxReducedChiSq, KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMaxStep, and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::theMinChiSqImprovement.
Referenced by ConversionVertexFinder::run().
|
private |
Definition at line 87 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::getCSum(), and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT().
|
private |
Definition at line 75 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit().
|
private |
Definition at line 76 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT(), and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::~KinematicConstrainedVertexFitterT().
|
private |
Definition at line 86 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::getNit(), and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT().
|
private |
Definition at line 79 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT(), and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::~KinematicConstrainedVertexFitterT().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 77 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT(), and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::~KinematicConstrainedVertexFitterT().
|
private |