CMS 3D CMS Logo

CombinedKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef CombinedKinematicConstraint_H
2 #define CombinedKinematicConstraint_H
3 
8 
21 
22 public:
23  CombinedKinematicConstraint(const std::vector<MultiTrackKinematicConstraint* > &constraintVector):constraints(constraintVector){
24  if(constraints.empty()) throw VertexException("CombinedKinematicConstraint::<1 constraints passed.");
25  }
26 
32  AlgebraicVector value(const std::vector<KinematicState> &states, const GlobalPoint& point) const override;
33 
39  AlgebraicMatrix parametersDerivative(const std::vector<KinematicState> &states, const GlobalPoint& point) const override;
40 
46  AlgebraicMatrix positionDerivative(const std::vector<KinematicState> &states, const GlobalPoint& point) const override;
47 
51  int numberOfEquations() const override;
52 
54  {
55  return new CombinedKinematicConstraint(*this);
56  }
57 
58 private:
59  std::vector<MultiTrackKinematicConstraint* > constraints;
60 
61 };
62 #endif
CombinedKinematicConstraint * clone() const override
Common base class.
CLHEP::HepMatrix AlgebraicMatrix
std::vector< MultiTrackKinematicConstraint * > constraints
CLHEP::HepVector AlgebraicVector
AlgebraicMatrix parametersDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
AlgebraicVector value(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
AlgebraicMatrix positionDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
*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
CombinedKinematicConstraint(const std::vector< MultiTrackKinematicConstraint * > &constraintVector)