CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MultiTrackMassKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef MultiTrackMassKinematicConstraint_H
2 #define MultiTrackMassKinematicConstraint_H
3 
8 
14 
15 public:
22  MultiTrackMassKinematicConstraint(const ParticleMass& theMass, const unsigned int nbrParticles)
23  : mass(theMass), nPart(nbrParticles)
24  {}
25 
26 
32  virtual AlgebraicVector value(const std::vector<KinematicState> &states,
33  const GlobalPoint& point) const;
34 
35 
41  virtual AlgebraicMatrix parametersDerivative(const std::vector<KinematicState> &states,
42  const GlobalPoint& point) const;
43 
49  virtual AlgebraicMatrix positionDerivative(const std::vector<KinematicState> &states,
50  const GlobalPoint& point) const;
51 
55  virtual int numberOfEquations() const {return 1;}
56 
58  {return new MultiTrackMassKinematicConstraint(*this);}
59 
60 private:
61 
63  const unsigned int nPart;
64 
65 };
66 #endif
MultiTrackMassKinematicConstraint(const ParticleMass &theMass, const unsigned int nbrParticles)
virtual AlgebraicVector value(const std::vector< KinematicState > &states, const GlobalPoint &point) const
double ParticleMass
Definition: ParticleMass.h:5
virtual AlgebraicMatrix positionDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const
CLHEP::HepMatrix AlgebraicMatrix
virtual AlgebraicMatrix parametersDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const
CLHEP::HepVector AlgebraicVector
virtual MultiTrackMassKinematicConstraint * clone() 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