test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultipleKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef MultipleKinematicConstraint_H
2 #define MultipleKinematicConstraint_H
3 
7 
8 
17 {
18 public:
19 
21  {em = true;}
22 
23 
28  std::pair<AlgebraicVector,AlgebraicVector> value(const AlgebraicVector& exPoint) const;
29 
30  std::pair<AlgebraicMatrix, AlgebraicVector> derivative(const AlgebraicVector& exPoint) const;
31 
37  std::pair<AlgebraicVector, AlgebraicVector> value(const std::vector<RefCountedKinematicParticle> &par) const;
38 
39  std::pair<AlgebraicMatrix, AlgebraicVector> derivative(const std::vector<RefCountedKinematicParticle> &par) const;
40 
41  int numberOfEquations() const;
42 
47  void addConstraint(KinematicConstraint * newConst) const;
48 
49  AlgebraicVector deviations(int nStates) const;
50 
51  bool isEmpty() const
52  {return em;}
53 
55  {return new MultipleKinematicConstraint(*this);}
56 
57 private:
58 
59  mutable std::vector<KinematicConstraint *> cts;
60 
61  mutable bool em;
62 };
63 #endif
void addConstraint(KinematicConstraint *newConst) const
std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const
MultipleKinematicConstraint * clone() const
std::vector< KinematicConstraint * > cts
std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const
CLHEP::HepVector AlgebraicVector
AlgebraicVector deviations(int nStates) const