#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 27 of file BackToBackKinematicConstraint.h.
References clone(), derivative(), deviations(), numberOfEquations(), and value().
|
overridevirtual |
Clone method
Implements KinematicConstraint.
Definition at line 86 of file BackToBackKinematicConstraint.cc.
References BackToBackKinematicConstraint().
Referenced by ~BackToBackKinematicConstraint().
|
overridevirtual |
Implements KinematicConstraint.
Definition at line 20 of file BackToBackKinematicConstraint.cc.
References runTauDisplay::dr.
Referenced by ~BackToBackKinematicConstraint().
|
overridevirtual |
Implements KinematicConstraint.
Definition at line 60 of file BackToBackKinematicConstraint.cc.
References runTauDisplay::dr, mps_fire::i, 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 77 of file BackToBackKinematicConstraint.cc.
References createTree::dd.
Referenced by ~BackToBackKinematicConstraint().
|
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 83 of file BackToBackKinematicConstraint.cc.
Referenced by ~BackToBackKinematicConstraint().
|
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.
Referenced by ~BackToBackKinematicConstraint().
|
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 38 of file BackToBackKinematicConstraint.cc.
References mps_fire::i, and point.