CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MassKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef MassKinematicConstraint_H
2 #define MassKinematicConstraint_H
3 
6 
18 {
19 
20 public:
21 
25  MassKinematicConstraint(const ParticleMass& m, const float sigma);
26 
27 
32 virtual std::pair<AlgebraicVector,AlgebraicVector> value(const AlgebraicVector& exPoint) const;
33 
34 virtual std::pair<AlgebraicMatrix, AlgebraicVector> derivative(const AlgebraicVector& exPoint) const;
35 
40 virtual std::pair<AlgebraicVector, AlgebraicVector> value(const std::vector<RefCountedKinematicParticle> &par) const;
41 
42 virtual std::pair<AlgebraicMatrix, AlgebraicVector> derivative(const std::vector<RefCountedKinematicParticle> &par) const;
43 
49 virtual int numberOfEquations() const;
50 
51 virtual AlgebraicVector deviations(int nStates) const;
52 
53 virtual MassKinematicConstraint * clone() const
54  {return new MassKinematicConstraint(*this);}
55 
56 private:
59 };
60 
61 #endif
virtual std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const
virtual std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const
virtual int numberOfEquations() const
double ParticleMass
Definition: ParticleMass.h:5
virtual MassKinematicConstraint * clone() const
CLHEP::HepVector AlgebraicVector
virtual AlgebraicVector deviations(int nStates) const
MassKinematicConstraint(const ParticleMass &m, const float sigma)