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
CombinedKinematicConstraint::CombinedKinematicConstraint
CombinedKinematicConstraint(const std::vector< MultiTrackKinematicConstraint * > &constraintVector)
Definition: CombinedKinematicConstraint.h:22
CombinedKinematicConstraint::value
AlgebraicVector value(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition: CombinedKinematicConstraint.cc:3
KinematicState.h
MultiTrackKinematicConstraint.h
AlgebraicObjects.h
VertexException
Common base class.
Definition: VertexException.h:12
CombinedKinematicConstraint
Definition: CombinedKinematicConstraint.h:20
MultiTrackKinematicConstraint
Definition: MultiTrackKinematicConstraint.h:23
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition: AlgebraicObjects.h:13
Point3DBase< float, GlobalTag >
CombinedKinematicConstraint::clone
CombinedKinematicConstraint * clone() const override
Definition: CombinedKinematicConstraint.h:56
CombinedKinematicConstraint::numberOfEquations
int numberOfEquations() const override
Definition: CombinedKinematicConstraint.cc:66
CombinedKinematicConstraint::parametersDerivative
AlgebraicMatrix parametersDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition: CombinedKinematicConstraint.cc:24
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition: AlgebraicObjects.h:14
CombinedKinematicConstraint::constraints
std::vector< MultiTrackKinematicConstraint * > constraints
Definition: CombinedKinematicConstraint.h:59
VertexException.h
CombinedKinematicConstraint::positionDerivative
AlgebraicMatrix positionDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition: CombinedKinematicConstraint.cc:45
point
*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