CMS 3D CMS Logo

SimplePointingConstraint.h
Go to the documentation of this file.
1 #ifndef SimplePointingConstraint_H
2 #define SimplePointingConstraint_H
3 
5 
20 public:
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 
47  int numberOfEquations() const override;
48 
49  SimplePointingConstraint* clone() const override { return new SimplePointingConstraint(*this); }
50 
51 private:
52  std::pair<AlgebraicVector, AlgebraicVector> makeValue(const AlgebraicVector& exPoint) const;
53  std::pair<AlgebraicMatrix, AlgebraicVector> makeDerivative(const AlgebraicVector& exPoint) const;
54 
56 };
57 
58 #endif
SimplePointingConstraint::makeValue
std::pair< AlgebraicVector, AlgebraicVector > makeValue(const AlgebraicVector &exPoint) const
Definition: SimplePointingConstraint.cc:86
KinematicConstraint.h
SimplePointingConstraint::numberOfEquations
int numberOfEquations() const override
Definition: SimplePointingConstraint.cc:84
SimplePointingConstraint::derivative
std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const override
Definition: SimplePointingConstraint.cc:26
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition: AlgebraicObjects.h:13
KinematicConstraint
Definition: KinematicConstraint.h:21
Point3DBase< float, GlobalTag >
SimplePointingConstraint::refPoint
GlobalPoint refPoint
Definition: SimplePointingConstraint.h:55
SimplePointingConstraint
Definition: SimplePointingConstraint.h:19
SimplePointingConstraint::value
std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const override
Definition: SimplePointingConstraint.cc:4
SimplePointingConstraint::makeDerivative
std::pair< AlgebraicMatrix, AlgebraicVector > makeDerivative(const AlgebraicVector &exPoint) const
Definition: SimplePointingConstraint.cc:122
SimplePointingConstraint::deviations
AlgebraicVector deviations(int nStates) const override
Definition: SimplePointingConstraint.cc:82
SimplePointingConstraint::SimplePointingConstraint
SimplePointingConstraint(const GlobalPoint &ref)
Definition: SimplePointingConstraint.h:21
SimplePointingConstraint::clone
SimplePointingConstraint * clone() const override
Definition: SimplePointingConstraint.h:49