CMS 3D CMS Logo

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 std::pair<AlgebraicVector,AlgebraicVector> value(const AlgebraicVector& exPoint) const override;
33 
34 std::pair<AlgebraicMatrix, AlgebraicVector> derivative(const AlgebraicVector& exPoint) const override;
35 
40 std::pair<AlgebraicMatrix, AlgebraicVector> derivative(const std::vector<RefCountedKinematicParticle> &par) const override;
41 
42 std::pair<AlgebraicVector, AlgebraicVector> value(const std::vector<RefCountedKinematicParticle> &par) const override;
43 
44 AlgebraicVector deviations(int nStates) const override;
45 
50 int numberOfEquations() const override;
51 
53  {return new MomentumKinematicConstraint(*this);}
54 
55 private:
56 
59 
60 };
61 
62 
63 #endif
MomentumKinematicConstraint * clone() const override
std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const override
MomentumKinematicConstraint(const AlgebraicVector &momentum, const AlgebraicVector &dev)
AlgebraicVector deviations(int nStates) const override
CLHEP::HepVector AlgebraicVector
std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const override