CMS 3D CMS Logo

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  AlgebraicVector value(const std::vector<KinematicState> &states,
33  const GlobalPoint& point) const override;
34 
35 
41  AlgebraicMatrix parametersDerivative(const std::vector<KinematicState> &states,
42  const GlobalPoint& point) const override;
43 
49  AlgebraicMatrix positionDerivative(const std::vector<KinematicState> &states,
50  const GlobalPoint& point) const override;
51 
55  int numberOfEquations() const override {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)
AlgebraicMatrix positionDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
double ParticleMass
Definition: ParticleMass.h:5
MultiTrackMassKinematicConstraint * clone() const override
CLHEP::HepMatrix AlgebraicMatrix
AlgebraicMatrix parametersDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
CLHEP::HepVector AlgebraicVector
AlgebraicVector value(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