RecoVertex
KinematicFit
interface
TwoTrackMassKinematicConstraint.h
Go to the documentation of this file.
1
#ifndef TwoTrackMassKinematicConstraint_H
2
#define TwoTrackMassKinematicConstraint_H
3
4
#include "
RecoVertex/KinematicFitPrimitives/interface/MultiTrackKinematicConstraint.h
"
5
#include "
RecoVertex/KinematicFitPrimitives/interface/KinematicState.h
"
6
#include "
DataFormats/CLHEP/interface/AlgebraicObjects.h
"
7
#include "
RecoVertex/KinematicFitPrimitives/interface/ParticleMass.h
"
8
21
class
TwoTrackMassKinematicConstraint
:
public
MultiTrackKinematicConstraint
{
22
public
:
23
TwoTrackMassKinematicConstraint
(
ParticleMass
& ms) :
mass
(ms) {}
24
30
AlgebraicVector
value
(
const
std::vector<KinematicState>& states,
const
GlobalPoint
&
point
)
const override
;
31
37
AlgebraicMatrix
parametersDerivative
(
const
std::vector<KinematicState>& states,
38
const
GlobalPoint
&
point
)
const override
;
39
45
AlgebraicMatrix
positionDerivative
(
const
std::vector<KinematicState>& states,
46
const
GlobalPoint
&
point
)
const override
;
47
51
int
numberOfEquations
()
const override
;
52
53
TwoTrackMassKinematicConstraint
*
clone
()
const override
{
return
new
TwoTrackMassKinematicConstraint
(*
this
); }
54
55
private
:
56
ParticleMass
mass
;
57
};
58
#endif
KinematicState.h
MultiTrackKinematicConstraint.h
AlgebraicObjects.h
ParticleMass
double ParticleMass
Definition:
ParticleMass.h:4
MultiTrackKinematicConstraint
Definition:
MultiTrackKinematicConstraint.h:23
TwoTrackMassKinematicConstraint
Definition:
TwoTrackMassKinematicConstraint.h:21
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition:
AlgebraicObjects.h:13
Point3DBase< float, GlobalTag >
TwoTrackMassKinematicConstraint::mass
ParticleMass mass
Definition:
TwoTrackMassKinematicConstraint.h:56
TwoTrackMassKinematicConstraint::parametersDerivative
AlgebraicMatrix parametersDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition:
TwoTrackMassKinematicConstraint.cc:36
TwoTrackMassKinematicConstraint::numberOfEquations
int numberOfEquations() const override
Definition:
TwoTrackMassKinematicConstraint.cc:124
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition:
AlgebraicObjects.h:14
TwoTrackMassKinematicConstraint::clone
TwoTrackMassKinematicConstraint * clone() const override
Definition:
TwoTrackMassKinematicConstraint.h:53
TwoTrackMassKinematicConstraint::positionDerivative
AlgebraicMatrix positionDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition:
TwoTrackMassKinematicConstraint.cc:94
TwoTrackMassKinematicConstraint::TwoTrackMassKinematicConstraint
TwoTrackMassKinematicConstraint(ParticleMass &ms)
Definition:
TwoTrackMassKinematicConstraint.h:23
TwoTrackMassKinematicConstraint::value
AlgebraicVector value(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition:
TwoTrackMassKinematicConstraint.cc:4
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
Generated for CMSSW Reference Manual by
1.8.16