CMS 3D CMS Logo

SimplePointingConstraint.h
Go to the documentation of this file.
1 #ifndef SimplePointingConstraint_H
2 #define SimplePointingConstraint_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 
53  SimplePointingConstraint * clone() const override
54  {return new SimplePointingConstraint(*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
SimplePointingConstraint * clone() const override
std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const override
AlgebraicVector deviations(int nStates) const override
std::pair< AlgebraicVector, AlgebraicVector > makeValue(const AlgebraicVector &exPoint) const
std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const override
CLHEP::HepVector AlgebraicVector
SimplePointingConstraint(const GlobalPoint &ref)
int numberOfEquations() const override
std::pair< AlgebraicMatrix, AlgebraicVector > makeDerivative(const AlgebraicVector &exPoint) const