CMS 3D CMS Logo

CombinedKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef CombinedKinematicConstraint_H
2 #define CombinedKinematicConstraint_H
3 
8 
21 public:
22  CombinedKinematicConstraint(const std::vector<MultiTrackKinematicConstraint*>& constraintVector)
23  : constraints(constraintVector) {
24  if (constraints.empty())
25  throw VertexException("CombinedKinematicConstraint::<1 constraints passed.");
26  }
27 
33  AlgebraicVector value(const std::vector<KinematicState>& states, const GlobalPoint& point) const override;
34 
40  AlgebraicMatrix parametersDerivative(const std::vector<KinematicState>& states,
41  const GlobalPoint& point) const override;
42 
48  AlgebraicMatrix positionDerivative(const std::vector<KinematicState>& states,
49  const GlobalPoint& point) const override;
50 
54  int numberOfEquations() const override;
55 
56  CombinedKinematicConstraint* clone() const override { return new CombinedKinematicConstraint(*this); }
57 
58 private:
59  std::vector<MultiTrackKinematicConstraint*> constraints;
60 };
61 #endif
Common base class.
AlgebraicVector value(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
CombinedKinematicConstraint(const std::vector< MultiTrackKinematicConstraint *> &constraintVector)
AlgebraicMatrix parametersDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
CLHEP::HepMatrix AlgebraicMatrix
AlgebraicMatrix positionDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
CombinedKinematicConstraint * clone() const override
CLHEP::HepVector AlgebraicVector
std::vector< MultiTrackKinematicConstraint * > constraints
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5