CMS 3D CMS Logo

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