#include <ColinearityKinematicConstraint.h>
Public Types | |
enum | ConstraintDim { Phi, PhiTheta } |
Public Member Functions | |
ColinearityKinematicConstraint * | clone () const override |
ColinearityKinematicConstraint (ConstraintDim dim=Phi) | |
int | numberOfEquations () const override |
AlgebraicMatrix | parametersDerivative (const std::vector< KinematicState > &states, const GlobalPoint &point) const override |
AlgebraicMatrix | positionDerivative (const std::vector< KinematicState > &states, const GlobalPoint &point) const override |
AlgebraicVector | value (const std::vector< KinematicState > &states, const GlobalPoint &point) const override |
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 18 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().
|
inlineoverridevirtual |
Implements MultiTrackKinematicConstraint.
Definition at line 50 of file ColinearityKinematicConstraint.h.
References ColinearityKinematicConstraint().
|
inlineoverridevirtual |
Number of equations per track used for the fit
Implements MultiTrackKinematicConstraint.
Definition at line 48 of file ColinearityKinematicConstraint.h.
References size.
|
overridevirtual |
Returns a matrix of derivatives of constraint equations w.r.t. particle parameters
Implements MultiTrackKinematicConstraint.
Definition at line 52 of file ColinearityKinematicConstraint.cc.
References dimension, relval_steps::k2, fireworks::p1, fireworks::p2, PhiTheta, size, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
overridevirtual |
Returns a matrix of derivatives of constraint equations w.r.t. vertex position
Implements MultiTrackKinematicConstraint.
Definition at line 138 of file ColinearityKinematicConstraint.cc.
References dimension, relval_steps::k2, fireworks::p1, fireworks::p2, PhiTheta, size, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
overridevirtual |
Returns a vector of values of constraint equations at the point where the input particles are defined.
Implements MultiTrackKinematicConstraint.
Definition at line 12 of file ColinearityKinematicConstraint.cc.
References dimension, M_PI, fireworks::p1, fireworks::p2, PhiTheta, size, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), Types.string::configValue(), Types.FileInPath::configValue(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), and Types.vstring::insertInto().
|
private |
Definition at line 53 of file ColinearityKinematicConstraint.h.
Referenced by ColinearityKinematicConstraint(), parametersDerivative(), positionDerivative(), and value().
|
private |
Definition at line 54 of file ColinearityKinematicConstraint.h.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), ColinearityKinematicConstraint(), numberOfEquations(), parametersDerivative(), positionDerivative(), cuy.FindIssue::startElement(), and value().