CMS 3D CMS Logo

PointingKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef PointingKinematicConstraint_H
2 #define PointingKinematicConstraint_H
3 
5 
6 
22 {
23  public:
24 
26  {}
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 
51  int numberOfEquations() const override;
52 
54  {return new PointingKinematicConstraint(*this);}
55 
56  private:
57 
58  std::pair<AlgebraicVector,AlgebraicVector> makeValue(const AlgebraicVector& exPoint)const ;
59  std::pair<AlgebraicMatrix, AlgebraicVector> makeDerivative(const AlgebraicVector& exPoint) const;
60 
62 
63 };
64 
65 #endif
std::pair< AlgebraicVector, AlgebraicVector > makeValue(const AlgebraicVector &exPoint) const
PointingKinematicConstraint * clone() const override
PointingKinematicConstraint(const GlobalPoint &ref)
AlgebraicVector deviations(int nStates) const override
CLHEP::HepVector AlgebraicVector
std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const override
std::pair< AlgebraicMatrix, AlgebraicVector > makeDerivative(const AlgebraicVector &exPoint) const
std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const override