CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.size()<1) throw VertexException("CombinedKinematicConstraint::<1 constraints passed.");
25  }
26 
32  virtual AlgebraicVector value(const std::vector<KinematicState> &states, const GlobalPoint& point) const;
33 
39  virtual AlgebraicMatrix parametersDerivative(const std::vector<KinematicState> &states, const GlobalPoint& point) const;
40 
46  virtual AlgebraicMatrix positionDerivative(const std::vector<KinematicState> &states, const GlobalPoint& point) const;
47 
51  virtual int numberOfEquations() const;
52 
54  {
55  return new CombinedKinematicConstraint(*this);
56  }
57 
58 private:
59  std::vector<MultiTrackKinematicConstraint* > constraints;
60 
61 };
62 #endif
Common base class.
virtual AlgebraicVector value(const std::vector< KinematicState > &states, const GlobalPoint &point) const
CLHEP::HepMatrix AlgebraicMatrix
virtual CombinedKinematicConstraint * clone() const
std::vector< MultiTrackKinematicConstraint * > constraints
CLHEP::HepVector AlgebraicVector
virtual AlgebraicMatrix positionDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const
virtual AlgebraicMatrix parametersDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const
*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)