#include <BackToBackKinematicConstraint.h>
Public Member Functions | |
BackToBackKinematicConstraint () | |
virtual KinematicConstraint * | clone () const |
virtual std::pair < AlgebraicMatrix, AlgebraicVector > | derivative (const AlgebraicVector &exPoint) const |
virtual std::pair < AlgebraicMatrix, AlgebraicVector > | derivative (const std::vector< RefCountedKinematicParticle > &par) const |
virtual AlgebraicVector | deviations (int nStates) const |
virtual int | numberOfEquations () const |
virtual std::pair < AlgebraicVector, AlgebraicVector > | value (const AlgebraicVector &exPoint) const |
virtual std::pair < AlgebraicVector, AlgebraicVector > | value (const std::vector< RefCountedKinematicParticle > &par) const |
~BackToBackKinematicConstraint () | |
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 |
|
inline |
Definition at line 27 of file BackToBackKinematicConstraint.h.
|
virtual |
Clone method
Implements KinematicConstraint.
Definition at line 86 of file BackToBackKinematicConstraint.cc.
References BackToBackKinematicConstraint().
|
virtual |
Implements KinematicConstraint.
Definition at line 20 of file BackToBackKinematicConstraint.cc.
|
virtual |
Implements KinematicConstraint.
Definition at line 60 of file BackToBackKinematicConstraint.cc.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.