#include <BackToBackKinematicConstraint.h>
Public Member Functions | |
BackToBackKinematicConstraint () | |
KinematicConstraint * | clone () const override |
std::pair< AlgebraicMatrix, AlgebraicVector > | derivative (const AlgebraicVector &exPoint) const override |
std::pair< AlgebraicMatrix, AlgebraicVector > | derivative (const std::vector< RefCountedKinematicParticle > &par) const override |
AlgebraicVector | deviations (int nStates) const override |
int | numberOfEquations () const override |
std::pair< AlgebraicVector, AlgebraicVector > | value (const AlgebraicVector &exPoint) const override |
std::pair< AlgebraicVector, AlgebraicVector > | value (const std::vector< RefCountedKinematicParticle > &par) const override |
~BackToBackKinematicConstraint () override | |
Public Member Functions inherited from KinematicConstraint | |
KinematicConstraint () | |
virtual | ~KinematicConstraint () |
Class implementing the back-to-back geometry constraints for 2 KinematicParticles. Current version does not implement an actual back-to-back. Current class forces 2 tracks to have the opposite direction, bud does not force them to emerge from the single point. Coorect version to be implemented later.
This is just an illustrative piece of code, showing possible approach to constraint application on multiple tracks.
Kirill Prokofiev, July 2004
Definition at line 21 of file BackToBackKinematicConstraint.h.
|
inline |
|
inlineoverride |
Definition at line 25 of file BackToBackKinematicConstraint.h.
|
overridevirtual |
Clone method
Implements KinematicConstraint.
Definition at line 89 of file BackToBackKinematicConstraint.cc.
References BackToBackKinematicConstraint().
|
overridevirtual |
Implements KinematicConstraint.
Definition at line 20 of file BackToBackKinematicConstraint.cc.
References l1ctLayer1_cff::dr.
|
overridevirtual |
Implements KinematicConstraint.
Definition at line 63 of file BackToBackKinematicConstraint.cc.
References cms::cuda::co, l1ctLayer1_cff::dr, mps_fire::i, dqmiolumiharvest::j, and point.
|
overridevirtual |
Returns vector of sigma squared associated to the KinematicParameters of refitted particles Initial deviations are given by user for the constraining parameters (mass, momentum components etc). In case of multiple states exactly the same values are added to every particle parameters
Implements KinematicConstraint.
Definition at line 82 of file BackToBackKinematicConstraint.cc.
References createTree::dd.
|
overridevirtual |
Returns an actual number of equations in particular constraint (corresponds to the number of strings in constraint derivative matrix, for example)
Implements KinematicConstraint.
Definition at line 87 of file BackToBackKinematicConstraint.cc.
|
overridevirtual |
Derivatives and value calculated at given expansion point Vector should always be of size 14 (2 particles)
Implements KinematicConstraint.
Definition at line 5 of file BackToBackKinematicConstraint.cc.
|
overridevirtual |
Derivatives and values calculated at expansion point, taken at current state of input particles. Number of input particles should be always equal to 2
Implements KinematicConstraint.
Definition at line 39 of file BackToBackKinematicConstraint.cc.
References cms::cuda::co, mps_fire::i, dqmiolumiharvest::j, and point.