CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual std::pair<AlgebraicVector, AlgebraicVector> value(const AlgebraicVector& exPoint) const;
33 
34  virtual std::pair<AlgebraicMatrix, AlgebraicVector> derivative(const AlgebraicVector& exPoint) const;
35 
40  virtual std::pair<AlgebraicMatrix, AlgebraicVector> derivative(const std::vector<RefCountedKinematicParticle> &par) const;
41 
42  virtual std::pair<AlgebraicVector, AlgebraicVector> value(const std::vector<RefCountedKinematicParticle> &par) const;
43 
44  virtual AlgebraicVector deviations(int nStates) const;
45 
51  virtual int numberOfEquations() const;
52 
53  virtual SmartPointingConstraint * clone() const
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
virtual int numberOfEquations() const
std::pair< AlgebraicVector, AlgebraicVector > makeValue(const AlgebraicVector &exPoint) const
virtual std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const
virtual AlgebraicVector deviations(int nStates) const
virtual std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const
CLHEP::HepVector AlgebraicVector
SmartPointingConstraint(const GlobalPoint &ref)
virtual SmartPointingConstraint * clone() const
std::pair< AlgebraicMatrix, AlgebraicVector > makeDerivative(const AlgebraicVector &exPoint) const