#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, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, PhiTheta, point, HLT_2024v12_cff::pt1, HLT_2024v12_cff::pt2, size, and mathSSE::sqrt().
|
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, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, PhiTheta, point, and size.
|
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, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, PhiTheta, point, HLT_2024v12_cff::pt1, HLT_2024v12_cff::pt2, size, and mathSSE::sqrt().
|
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().