#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 HLT_2022v11_cff::finder, and HLT_2022v11_cff::updator.
|
private |
Definition at line 137 of file KinematicConstrainedVertexFitterT.h.
Referenced by 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 callgraph::cs, and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit().
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 cms::cuda::assert(), callgraph::cs, dumpMFGeometry_cfg::delta, HLT_2022v11_cff::finder, mps_fire::i, input, LogDebug, allConversions_cfi::maxDelta, ecalTrigSettings_cff::particles, DiDispStaMuonMonitor_cfi::pt, InputSort::sort(), HLT_2022v11_cff::updator, 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.
int KinematicConstrainedVertexFitterT< nTrk, nConstraint >::getNit | ( | ) | const |
Definition at line 275 of file KinematicConstrainedVertexFitterT.h.
Referenced by 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().
Referenced by ConversionVertexFinder::run().
|
private |
Definition at line 87 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT().
|
private |
Definition at line 75 of file KinematicConstrainedVertexFitterT.h.
|
private |
Definition at line 76 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT().
|
private |
Definition at line 86 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT().
|
private |
Definition at line 79 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT().
|
private |
Definition at line 81 of file KinematicConstrainedVertexFitterT.h.
|
private |
Definition at line 83 of file KinematicConstrainedVertexFitterT.h.
|
private |
Definition at line 82 of file KinematicConstrainedVertexFitterT.h.
|
private |
Definition at line 84 of file KinematicConstrainedVertexFitterT.h.
|
private |
Definition at line 77 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT().
|
private |
Definition at line 78 of file KinematicConstrainedVertexFitterT.h.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::KinematicConstrainedVertexFitterT().