RecoVertex
KinematicFit
interface
ColinearityKinematicConstraint.h
Go to the documentation of this file.
1
#ifndef ColinearityKinematicConstraint_H
2
#define ColinearityKinematicConstraint_H
3
4
#include "
RecoVertex/KinematicFitPrimitives/interface/MultiTrackKinematicConstraint.h
"
5
#include "
RecoVertex/KinematicFitPrimitives/interface/KinematicState.h
"
6
#include "
DataFormats/CLHEP/interface/AlgebraicObjects.h
"
7
16
class
ColinearityKinematicConstraint
:
public
MultiTrackKinematicConstraint
{
17
public
:
18
enum
ConstraintDim
{
Phi
,
PhiTheta
};
19
20
ColinearityKinematicConstraint
(
ConstraintDim
dim =
Phi
);
21
27
AlgebraicVector
value
(
const
std::vector<KinematicState>& states,
const
GlobalPoint
&
point
)
const override
;
28
34
AlgebraicMatrix
parametersDerivative
(
const
std::vector<KinematicState>& states,
35
const
GlobalPoint
&
point
)
const override
;
36
42
AlgebraicMatrix
positionDerivative
(
const
std::vector<KinematicState>& states,
43
const
GlobalPoint
&
point
)
const override
;
44
48
int
numberOfEquations
()
const override
{
return
size
; }
49
50
ColinearityKinematicConstraint
*
clone
()
const override
{
return
new
ColinearityKinematicConstraint
(*
this
); }
51
52
private
:
53
ConstraintDim
dimension
;
54
unsigned
int
size
;
55
};
56
#endif
ColinearityKinematicConstraint::ConstraintDim
ConstraintDim
Definition:
ColinearityKinematicConstraint.h:18
KinematicState.h
MultiTrackKinematicConstraint.h
AlgebraicObjects.h
ColinearityKinematicConstraint::positionDerivative
AlgebraicMatrix positionDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition:
ColinearityKinematicConstraint.cc:138
ColinearityKinematicConstraint::ColinearityKinematicConstraint
ColinearityKinematicConstraint(ConstraintDim dim=Phi)
Definition:
ColinearityKinematicConstraint.cc:4
MultiTrackKinematicConstraint
Definition:
MultiTrackKinematicConstraint.h:23
ColinearityKinematicConstraint::dimension
ConstraintDim dimension
Definition:
ColinearityKinematicConstraint.h:53
ColinearityKinematicConstraint::value
AlgebraicVector value(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition:
ColinearityKinematicConstraint.cc:12
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition:
AlgebraicObjects.h:13
ColinearityKinematicConstraint::numberOfEquations
int numberOfEquations() const override
Definition:
ColinearityKinematicConstraint.h:48
ColinearityKinematicConstraint::size
unsigned int size
Definition:
ColinearityKinematicConstraint.h:54
Point3DBase< float, GlobalTag >
ColinearityKinematicConstraint::PhiTheta
Definition:
ColinearityKinematicConstraint.h:18
ColinearityKinematicConstraint::parametersDerivative
AlgebraicMatrix parametersDerivative(const std::vector< KinematicState > &states, const GlobalPoint &point) const override
Definition:
ColinearityKinematicConstraint.cc:52
ColinearityKinematicConstraint
Definition:
ColinearityKinematicConstraint.h:16
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition:
AlgebraicObjects.h:14
ColinearityKinematicConstraint::Phi
Definition:
ColinearityKinematicConstraint.h:18
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
ColinearityKinematicConstraint::clone
ColinearityKinematicConstraint * clone() const override
Definition:
ColinearityKinematicConstraint.h:50
Generated for CMSSW Reference Manual by
1.8.16