#include <MultipleKinematicConstraint.h>
Public Member Functions | |
void | addConstraint (KinematicConstraint *newConst) const |
MultipleKinematicConstraint * | clone () const |
std::pair< AlgebraicMatrix, AlgebraicVector > | derivative (const AlgebraicVector &exPoint) const |
std::pair< AlgebraicMatrix, AlgebraicVector > | derivative (const std::vector< RefCountedKinematicParticle > &par) const |
AlgebraicVector | deviations (int nStates) const |
bool | isEmpty () const |
MultipleKinematicConstraint () | |
int | numberOfEquations () const |
std::pair< AlgebraicVector, AlgebraicVector > | value (const AlgebraicVector &exPoint) const |
std::pair< AlgebraicVector, AlgebraicVector > | value (const std::vector< RefCountedKinematicParticle > &par) const |
Public Member Functions inherited from KinematicConstraint | |
KinematicConstraint () | |
virtual | ~KinematicConstraint () |
Private Attributes | |
std::vector< KinematicConstraint * > | cts |
bool | em |
Class implementing constraint multiplication for single or multiple track refit. Multiple track refit does not include vertexing constraint: only refit of tarjectory parameters is usually done.
Definition at line 16 of file MultipleKinematicConstraint.h.
|
inline |
Definition at line 20 of file MultipleKinematicConstraint.h.
References addConstraint(), derivative(), deviations(), em, numberOfEquations(), and value().
Referenced by clone().
void MultipleKinematicConstraint::addConstraint | ( | KinematicConstraint * | newConst | ) | const |
Method adding new constraint to the list of existing ones.
Definition at line 3 of file MultipleKinematicConstraint.cc.
Referenced by MultipleKinematicConstraint().
|
inlinevirtual |
Clone method
Implements KinematicConstraint.
Definition at line 54 of file MultipleKinematicConstraint.h.
References MultipleKinematicConstraint().
|
virtual |
Implements KinematicConstraint.
Definition at line 39 of file MultipleKinematicConstraint.cc.
References cts, runTauDisplay::dr, mps_fire::i, and pileupDistInMC::total.
Referenced by MultipleKinematicConstraint().
|
virtual |
Implements KinematicConstraint.
Definition at line 108 of file MultipleKinematicConstraint.cc.
References KineDebug3::count(), cts, runTauDisplay::dr, mps_fire::i, and pileupDistInMC::total.
|
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 140 of file MultipleKinematicConstraint.cc.
References cts, and mps_fire::i.
Referenced by MultipleKinematicConstraint().
|
inline |
Definition at line 51 of file MultipleKinematicConstraint.h.
References em.
Referenced by plotting.Plot::clone().
|
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 69 of file MultipleKinematicConstraint.cc.
References cts, mps_fire::i, and Vispa.Plugins.EdmBrowser.EdmDataAccessor::ne().
Referenced by MultipleKinematicConstraint().
|
virtual |
Vector of values and matrix of derivatives calculated at given 7xNumberOfStates linearization point
Implements KinematicConstraint.
Definition at line 10 of file MultipleKinematicConstraint.cc.
References cts, mps_fire::i, and pileupDistInMC::total.
Referenced by MultipleKinematicConstraint().
|
virtual |
Vector of values and matrix of derivatives, calu=culated at linearization point of current particle states
Implements KinematicConstraint.
Definition at line 78 of file MultipleKinematicConstraint.cc.
References KineDebug3::count(), cts, mps_fire::i, and pileupDistInMC::total.
|
mutableprivate |
Definition at line 59 of file MultipleKinematicConstraint.h.
Referenced by addConstraint(), derivative(), deviations(), numberOfEquations(), and value().
|
mutableprivate |
Definition at line 61 of file MultipleKinematicConstraint.h.
Referenced by addConstraint(), isEmpty(), and MultipleKinematicConstraint().