#include <MassKinematicConstraint.h>
Public Member Functions | |
MassKinematicConstraint * | 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 |
MassKinematicConstraint (const ParticleMass &m, const float sigma) | |
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 |
Public Member Functions inherited from KinematicConstraint | |
KinematicConstraint () | |
virtual | ~KinematicConstraint () |
Private Attributes | |
AlgebraicVector | dd |
ParticleMass | mass |
Mass track constraint class. Provides a way to compute derivative matrix and vector of values for mass constraint on the single trajectory. This class does not have the multistate version, since vertex definition needed to calculate a joint mass of several particles.
Kirill Prokofiev December 2002 Multitrack interface: July 2004
Definition at line 17 of file MassKinematicConstraint.h.
MassKinematicConstraint::MassKinematicConstraint | ( | const ParticleMass & | m, |
const float | sigma | ||
) |
Constructor with mass to be used as constraint value
Definition at line 4 of file MassKinematicConstraint.cc.
References dd, visualization-live-secondInstance_cfg::m, and mass.
Referenced by clone().
|
inlineoverridevirtual |
Clone method
Implements KinematicConstraint.
Definition at line 50 of file MassKinematicConstraint.h.
References MassKinematicConstraint().
|
overridevirtual |
Implements KinematicConstraint.
Definition at line 30 of file MassKinematicConstraint.cc.
References runTauDisplay::dr, and point.
|
overridevirtual |
Implements KinematicConstraint.
Definition at line 61 of file MassKinematicConstraint.cc.
References runTauDisplay::dr, 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 75 of file MassKinematicConstraint.cc.
References dd.
|
overridevirtual |
Returns number of constraint equations used for fitting. Method is relevant for proper NDF calculations.
Implements KinematicConstraint.
Definition at line 84 of file MassKinematicConstraint.cc.
|
overridevirtual |
Vector of values and matrix of derivatives calculated at given 7xNumberOfStates point
Implements KinematicConstraint.
Definition at line 11 of file MassKinematicConstraint.cc.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), Types.string::configValue(), Types.FileInPath::configValue(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), and Types.vstring::insertInto().
|
overridevirtual |
Vector of values and matrix of derivatives calculated using current state parameters as expansion point
Implements KinematicConstraint.
Definition at line 47 of file MassKinematicConstraint.cc.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), Types.string::configValue(), Types.FileInPath::configValue(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), and Types.vstring::insertInto().
|
private |
Definition at line 54 of file MassKinematicConstraint.h.
Referenced by deviations(), and MassKinematicConstraint().
|
private |
Definition at line 53 of file MassKinematicConstraint.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), MassKinematicConstraint(), and value().