RecoVertex
KinematicFit
interface
BackToBackKinematicConstraint.h
Go to the documentation of this file.
1
#ifndef BackToBackKinematicConstraint_H
2
#define BackToBackKinematicConstraint_H
3
4
#include "
RecoVertex/KinematicFitPrimitives/interface/KinematicConstraint.h
"
5
21
class
BackToBackKinematicConstraint
:
public
KinematicConstraint
{
22
public
:
23
BackToBackKinematicConstraint
() {}
24
25
~BackToBackKinematicConstraint
()
override
{}
26
31
std::pair<AlgebraicVector, AlgebraicVector>
value
(
const
AlgebraicVector
& exPoint)
const override
;
32
33
std::pair<AlgebraicMatrix, AlgebraicVector>
derivative
(
const
AlgebraicVector
& exPoint)
const override
;
34
40
std::pair<AlgebraicVector, AlgebraicVector>
value
(
const
std::vector<RefCountedKinematicParticle>& par)
const override
;
41
42
std::pair<AlgebraicMatrix, AlgebraicVector>
derivative
(
43
const
std::vector<RefCountedKinematicParticle>& par)
const override
;
44
45
AlgebraicVector
deviations
(
int
nStates)
const override
;
46
47
int
numberOfEquations
()
const override
;
48
49
KinematicConstraint
*
clone
()
const override
;
50
51
private
:
52
};
53
#endif
KinematicConstraint.h
BackToBackKinematicConstraint::~BackToBackKinematicConstraint
~BackToBackKinematicConstraint() override
Definition:
BackToBackKinematicConstraint.h:25
BackToBackKinematicConstraint::value
std::pair< AlgebraicVector, AlgebraicVector > value(const AlgebraicVector &exPoint) const override
Definition:
BackToBackKinematicConstraint.cc:5
BackToBackKinematicConstraint::derivative
std::pair< AlgebraicMatrix, AlgebraicVector > derivative(const AlgebraicVector &exPoint) const override
Definition:
BackToBackKinematicConstraint.cc:20
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition:
AlgebraicObjects.h:13
BackToBackKinematicConstraint
Definition:
BackToBackKinematicConstraint.h:21
KinematicConstraint
Definition:
KinematicConstraint.h:21
BackToBackKinematicConstraint::numberOfEquations
int numberOfEquations() const override
Definition:
BackToBackKinematicConstraint.cc:87
BackToBackKinematicConstraint::clone
KinematicConstraint * clone() const override
Definition:
BackToBackKinematicConstraint.cc:89
BackToBackKinematicConstraint::BackToBackKinematicConstraint
BackToBackKinematicConstraint()
Definition:
BackToBackKinematicConstraint.h:23
BackToBackKinematicConstraint::deviations
AlgebraicVector deviations(int nStates) const override
Definition:
BackToBackKinematicConstraint.cc:82
Generated for CMSSW Reference Manual by
1.8.16