CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MassKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef MassKinematicConstraint_H
2 #define MassKinematicConstraint_H
3 
6 
18 public:
22  MassKinematicConstraint(const ParticleMass& m, const float sigma);
23 
28  std::pair<AlgebraicVector, AlgebraicVector> value(const AlgebraicVector& exPoint) const override;
29 
30  std::pair<AlgebraicMatrix, AlgebraicVector> derivative(const AlgebraicVector& exPoint) const override;
31 
36  std::pair<AlgebraicVector, AlgebraicVector> value(const std::vector<RefCountedKinematicParticle>& par) const override;
37 
38  std::pair<AlgebraicMatrix, AlgebraicVector> derivative(
39  const std::vector<RefCountedKinematicParticle>& par) const override;
40 
46  int numberOfEquations() const override;
47 
48  AlgebraicVector deviations(int nStates) const override;
49 
50  MassKinematicConstraint* clone() const override { return new MassKinematicConstraint(*this); }
51 
52 private:
55 };
56 
57 #endif
std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const override
double ParticleMass
Definition: ParticleMass.h:4
AlgebraicVector deviations(int nStates) const override
MassKinematicConstraint * clone() const override
int numberOfEquations() const override
CLHEP::HepVector AlgebraicVector
std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const override
MassKinematicConstraint(const ParticleMass &m, const float sigma)