test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MomentumKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef MomentumKinematicConstraint_H
2 #define MomentumKinematicConstraint_H
3 
5 
6 
17 {
18 
19 public:
20 
26  const AlgebraicVector& dev);
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<AlgebraicMatrix, AlgebraicVector> derivative(const std::vector<RefCountedKinematicParticle> &par) const;
41 
42 virtual std::pair<AlgebraicVector, AlgebraicVector> value(const std::vector<RefCountedKinematicParticle> &par) const;
43 
44 virtual AlgebraicVector deviations(int nStates) const;
45 
50 virtual int numberOfEquations() const;
51 
53  {return new MomentumKinematicConstraint(*this);}
54 
55 private:
56 
59 
60 };
61 
62 
63 #endif
virtual std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const
virtual std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const
MomentumKinematicConstraint(const AlgebraicVector &momentum, const AlgebraicVector &dev)
virtual MomentumKinematicConstraint * clone() const
CLHEP::HepVector AlgebraicVector
virtual AlgebraicVector deviations(int nStates) const