#include <KinematicConstrainedVertexUpdator.h>
Public Member Functions | |
KinematicConstrainedVertexUpdator () | |
std::pair< std::pair< std::vector< KinematicState >, AlgebraicMatrix >, RefCountedKinematicVertex > | update (const AlgebraicVector &inState, const AlgebraicMatrix &inCov, const std::vector< KinematicState > &lStates, const GlobalPoint &lPoint, MultiTrackKinematicConstraint *cs) const |
~KinematicConstrainedVertexUpdator () | |
Private Attributes | |
VertexKinematicConstraint * | vConstraint |
KinematicVertexFactory * | vFactory |
Class caching the math part for KinematicConstrainedVertexFitter
Definition at line 13 of file KinematicConstrainedVertexUpdator.h.
KinematicConstrainedVertexUpdator::KinematicConstrainedVertexUpdator | ( | ) |
Default constructor and destructor
Definition at line 5 of file KinematicConstrainedVertexUpdator.cc.
References vConstraint, and vFactory.
KinematicConstrainedVertexUpdator::~KinematicConstrainedVertexUpdator | ( | ) |
Definition at line 10 of file KinematicConstrainedVertexUpdator.cc.
References vConstraint, and vFactory.
std::pair< std::pair< std::vector< KinematicState >, AlgebraicMatrix >, RefCountedKinematicVertex > KinematicConstrainedVertexUpdator::update | ( | const AlgebraicVector & | inState, |
const AlgebraicMatrix & | inCov, | ||
const std::vector< KinematicState > & | lStates, | ||
const GlobalPoint & | lPoint, | ||
MultiTrackKinematicConstraint * | cs | ||
) | const |
Method updating the states. Takes a vector of full parameters: (x,y,z,particle_1,...,particle_n), corresponding linearization point: vector of states and GlobalPoint, and constraint to be applied during the vertex fit. Returns refitted vector of 7n+3 parameters and corresponding covariance matrix, where n - number of tracks.
Definition at line 16 of file KinematicConstrainedVertexUpdator.cc.
References fwrapper::cs, g, mps_fire::i, edm::isNotFinite(), dqmiolumiharvest::j, LogDebug, VertexKinematicConstraint::parametersDerivative(), VertexKinematicConstraint::positionDerivative(), heppy_batch::val, VertexKinematicConstraint::value(), vConstraint, KinematicVertexFactory::vertex(), vFactory, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), KinematicConstrainedVertexFitter::fit(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 39 of file KinematicConstrainedVertexUpdator.h.
Referenced by KinematicConstrainedVertexUpdator(), update(), and ~KinematicConstrainedVertexUpdator().
|
private |
Definition at line 38 of file KinematicConstrainedVertexUpdator.h.
Referenced by KinematicConstrainedVertexUpdator(), update(), and ~KinematicConstrainedVertexUpdator().