CMS 3D CMS Logo

MultiTrackMassKinematicConstraint.h
Go to the documentation of this file.
1 #ifndef MultiTrackMassKinematicConstraint_H
2 #define MultiTrackMassKinematicConstraint_H
3 
8 
14 public:
21  MultiTrackMassKinematicConstraint(const ParticleMass& theMass, const unsigned int nbrParticles)
22  : mass(theMass), nPart(nbrParticles) {}
23 
29  AlgebraicVector value(const std::vector<KinematicState>& states, const GlobalPoint& point) const override;
30 
36  AlgebraicMatrix parametersDerivative(const std::vector<KinematicState>& states,
37  const GlobalPoint& point) const override;
38 
44  AlgebraicMatrix positionDerivative(const std::vector<KinematicState>& states,
45  const GlobalPoint& point) const override;
46 
50  int numberOfEquations() const override { return 1; }
51 
53 
54 private:
56  const unsigned int nPart;
57 };
58 #endif
MultiTrackMassKinematicConstraint::value
AlgebraicVector value(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition: MultiTrackMassKinematicConstraint.cc:4
KinematicState.h
MultiTrackMassKinematicConstraint
Definition: MultiTrackMassKinematicConstraint.h:13
MultiTrackKinematicConstraint.h
AlgebraicObjects.h
MultiTrackMassKinematicConstraint::numberOfEquations
int numberOfEquations() const override
Definition: MultiTrackMassKinematicConstraint.h:50
ParticleMass
double ParticleMass
Definition: ParticleMass.h:4
MultiTrackKinematicConstraint
Definition: MultiTrackKinematicConstraint.h:23
MultiTrackMassKinematicConstraint::mass
const ParticleMass mass
Definition: MultiTrackMassKinematicConstraint.h:55
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition: AlgebraicObjects.h:13
MultiTrackMassKinematicConstraint::MultiTrackMassKinematicConstraint
MultiTrackMassKinematicConstraint(const ParticleMass &theMass, const unsigned int nbrParticles)
Definition: MultiTrackMassKinematicConstraint.h:21
MultiTrackMassKinematicConstraint::parametersDerivative
AlgebraicMatrix parametersDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition: MultiTrackMassKinematicConstraint.cc:28
Point3DBase< float, GlobalTag >
MultiTrackMassKinematicConstraint::nPart
const unsigned int nPart
Definition: MultiTrackMassKinematicConstraint.h:56
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition: AlgebraicObjects.h:14
MultiTrackMassKinematicConstraint::positionDerivative
AlgebraicMatrix positionDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition: MultiTrackMassKinematicConstraint.cc:78
MultiTrackMassKinematicConstraint::clone
MultiTrackMassKinematicConstraint * clone() const override
Definition: MultiTrackMassKinematicConstraint.h:52
point
*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
ParticleMass.h