CMS 3D CMS Logo

PointingKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef PointingKinematicConstraint_H
2 #define PointingKinematicConstraint_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  PointingKinematicConstraint* clone() const override { return new PointingKinematicConstraint(*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
KinematicConstraint.h
PointingKinematicConstraint::makeValue
std::pair< AlgebraicVector, AlgebraicVector > makeValue(const AlgebraicVector &exPoint) const
Definition: PointingKinematicConstraint.cc:78
PointingKinematicConstraint::value
std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const override
Definition: PointingKinematicConstraint.cc:4
PointingKinematicConstraint::clone
PointingKinematicConstraint * clone() const override
Definition: PointingKinematicConstraint.h:49
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition: AlgebraicObjects.h:13
KinematicConstraint
Definition: KinematicConstraint.h:21
Point3DBase< float, GlobalTag >
PointingKinematicConstraint::PointingKinematicConstraint
PointingKinematicConstraint(const GlobalPoint &ref)
Definition: PointingKinematicConstraint.h:21
PointingKinematicConstraint::numberOfEquations
int numberOfEquations() const override
Definition: PointingKinematicConstraint.cc:184
PointingKinematicConstraint::derivative
std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const override
Definition: PointingKinematicConstraint.cc:26
PointingKinematicConstraint::makeDerivative
std::pair< AlgebraicMatrix, AlgebraicVector > makeDerivative(const AlgebraicVector &exPoint) const
Definition: PointingKinematicConstraint.cc:113
PointingKinematicConstraint
Definition: PointingKinematicConstraint.h:19
PointingKinematicConstraint::refPoint
GlobalPoint refPoint
Definition: PointingKinematicConstraint.h:55
PointingKinematicConstraint::deviations
AlgebraicVector deviations(int nStates) const override
Definition: PointingKinematicConstraint.cc:182