CMS 3D CMS Logo

MomentumKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef MomentumKinematicConstraint_H
2 #define MomentumKinematicConstraint_H
3 
5 
16 public:
21  MomentumKinematicConstraint(const AlgebraicVector& momentum, const AlgebraicVector& dev);
22 
27  std::pair<AlgebraicVector, AlgebraicVector> value(const AlgebraicVector& exPoint) const override;
28 
29  std::pair<AlgebraicMatrix, AlgebraicVector> derivative(const AlgebraicVector& exPoint) const override;
30 
35  std::pair<AlgebraicMatrix, AlgebraicVector> derivative(
36  const std::vector<RefCountedKinematicParticle>& par) const override;
37 
38  std::pair<AlgebraicVector, AlgebraicVector> value(const std::vector<RefCountedKinematicParticle>& par) const override;
39 
40  AlgebraicVector deviations(int nStates) const override;
41 
46  int numberOfEquations() const override;
47 
48  MomentumKinematicConstraint* clone() const override { return new MomentumKinematicConstraint(*this); }
49 
50 private:
53 };
54 
55 #endif
MomentumKinematicConstraint::clone
MomentumKinematicConstraint * clone() const override
Definition: MomentumKinematicConstraint.h:48
KinematicConstraint.h
MomentumKinematicConstraint::mm
AlgebraicVector mm
Definition: MomentumKinematicConstraint.h:51
MomentumKinematicConstraint::dd
AlgebraicVector dd
Definition: MomentumKinematicConstraint.h:52
MomentumKinematicConstraint
Definition: MomentumKinematicConstraint.h:15
MomentumKinematicConstraint::deviations
AlgebraicVector deviations(int nStates) const override
Definition: MomentumKinematicConstraint.cc:85
MomentumKinematicConstraint::numberOfEquations
int numberOfEquations() const override
Definition: MomentumKinematicConstraint.cc:94
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition: AlgebraicObjects.h:13
MomentumKinematicConstraint::value
std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const override
Definition: MomentumKinematicConstraint.cc:15
KinematicConstraint
Definition: KinematicConstraint.h:21
MomentumKinematicConstraint::MomentumKinematicConstraint
MomentumKinematicConstraint(const AlgebraicVector &momentum, const AlgebraicVector &dev)
Definition: MomentumKinematicConstraint.cc:4
MomentumKinematicConstraint::derivative
std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const override
Definition: MomentumKinematicConstraint.cc:34