#include <ColinearityKinematicConstraint.h>
Public Types | |
enum | ConstraintDim { Phi, PhiTheta } |
Public Member Functions | |
virtual ColinearityKinematicConstraint * | clone () const |
ColinearityKinematicConstraint (ConstraintDim dim=Phi) | |
virtual int | numberOfEquations () const |
virtual AlgebraicMatrix | parametersDerivative (const std::vector< KinematicState > &states, const GlobalPoint &point) const |
virtual AlgebraicMatrix | positionDerivative (const std::vector< KinematicState > &states, const GlobalPoint &point) const |
virtual AlgebraicVector | value (const std::vector< KinematicState > &states, const GlobalPoint &point) const |
Public Member Functions inherited from MultiTrackKinematicConstraint | |
MultiTrackKinematicConstraint () | |
virtual | ~MultiTrackKinematicConstraint () |
Private Attributes | |
ConstraintDim | dimension |
unsigned int | size |
Consstraint to force the two tracks to be colinear (parallel), in 2D (phi) or 3D (phi-theta).
Warning: Since this constraint makes only sense with two tracks, two and only two tracks should be used in the fit.
Definition at line 16 of file ColinearityKinematicConstraint.h.
Enumerator | |
---|---|
Phi | |
PhiTheta |
Definition at line 20 of file ColinearityKinematicConstraint.h.
ColinearityKinematicConstraint::ColinearityKinematicConstraint | ( | ConstraintDim | dim = Phi | ) |
Definition at line 4 of file ColinearityKinematicConstraint.cc.
References dimension, Phi, and size.
Referenced by clone().
|
inlinevirtual |
Implements MultiTrackKinematicConstraint.
Definition at line 55 of file ColinearityKinematicConstraint.h.
References ColinearityKinematicConstraint().
|
inlinevirtual |
Number of equations per track used for the fit
Implements MultiTrackKinematicConstraint.
Definition at line 53 of file ColinearityKinematicConstraint.h.
References size.
|
virtual |
Returns a matrix of derivatives of constraint equations w.r.t. particle parameters
Implements MultiTrackKinematicConstraint.
Definition at line 47 of file ColinearityKinematicConstraint.cc.
References dimension, p1, p2, PhiTheta, hiDetachedQuadStep_cff::pt1, hiDetachedQuadStep_cff::pt2, size, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
virtual |
Returns a matrix of derivatives of constraint equations w.r.t. vertex position
Implements MultiTrackKinematicConstraint.
Definition at line 127 of file ColinearityKinematicConstraint.cc.
References dimension, p1, p2, PhiTheta, size, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
virtual |
Returns a vector of values of constraint equations at the point where the input particles are defined.
Implements MultiTrackKinematicConstraint.
Definition at line 11 of file ColinearityKinematicConstraint.cc.
References dimension, M_PI, p1, p2, PhiTheta, hiDetachedQuadStep_cff::pt1, hiDetachedQuadStep_cff::pt2, size, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 59 of file ColinearityKinematicConstraint.h.
Referenced by ColinearityKinematicConstraint(), parametersDerivative(), positionDerivative(), and value().
|
private |
Definition at line 60 of file ColinearityKinematicConstraint.h.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), ColinearityKinematicConstraint(), numberOfEquations(), parametersDerivative(), positionDerivative(), cuy.FindIssue::startElement(), and value().