RecoVertex
KinematicFitPrimitives
interface
KinematicParametersError.h
Go to the documentation of this file.
1
#ifndef KinematicParametersError_H
2
#define KinematicParametersError_H
3
4
#include "
DataFormats/CLHEP/interface/AlgebraicObjects.h
"
5
#include "
RecoVertex/VertexPrimitives/interface/VertexException.h
"
6
#include "
TrackingTools/TrajectoryParametrization/interface/CartesianTrajectoryError.h
"
7
8
#include "
TrackingTools/AnalyticalJacobians/interface/JacobianCartesianToCurvilinear.h
"
9
#include "
TrackingTools/AnalyticalJacobians/interface/JacobianCurvilinearToCartesian.h
"
10
#include "
RecoVertex/KinematicFitPrimitives/interface/Matrices.h
"
11
20
class
KinematicParametersError
{
21
public
:
22
KinematicParametersError
() {
vl
=
false
; }
23
24
KinematicParametersError
(
const
AlgebraicSymMatrix77
& er) :
theCovMatrix
(er) {
vl
=
true
; }
25
26
KinematicParametersError
(
const
CartesianTrajectoryError
&
err
,
float
merr) {
27
theCovMatrix
.Place_at(
err
.matrix(), 0, 0);
28
theCovMatrix
(6, 6) = merr * merr;
29
vl
=
true
;
30
}
31
36
AlgebraicSymMatrix77
const
&
matrix
()
const
{
return
theCovMatrix
; }
37
38
AlgebraicSymMatrix77
&
matrix
() {
return
theCovMatrix
; }
39
40
bool
isValid
()
const
{
return
vl
; }
41
42
private
:
43
AlgebraicSymMatrix77
theCovMatrix
;
44
bool
vl
;
45
};
46
#endif
JacobianCartesianToCurvilinear.h
Matrices.h
KinematicParametersError::KinematicParametersError
KinematicParametersError()
Definition:
KinematicParametersError.h:22
JacobianCurvilinearToCartesian.h
AlgebraicObjects.h
KinematicParametersError::theCovMatrix
AlgebraicSymMatrix77 theCovMatrix
Definition:
KinematicParametersError.h:43
AlgebraicSymMatrix77
ROOT::Math::SMatrix< double, 7, 7, ROOT::Math::MatRepSym< double, 7 > > AlgebraicSymMatrix77
Definition:
Matrices.h:9
CartesianTrajectoryError.h
KinematicParametersError::vl
bool vl
Definition:
KinematicParametersError.h:44
runTheMatrix.err
err
Definition:
runTheMatrix.py:288
KinematicParametersError::matrix
AlgebraicSymMatrix77 const & matrix() const
Definition:
KinematicParametersError.h:36
KinematicParametersError::KinematicParametersError
KinematicParametersError(const AlgebraicSymMatrix77 &er)
Definition:
KinematicParametersError.h:24
KinematicParametersError
Definition:
KinematicParametersError.h:20
KinematicParametersError::KinematicParametersError
KinematicParametersError(const CartesianTrajectoryError &err, float merr)
Definition:
KinematicParametersError.h:26
KinematicParametersError::matrix
AlgebraicSymMatrix77 & matrix()
Definition:
KinematicParametersError.h:38
CartesianTrajectoryError
Definition:
CartesianTrajectoryError.h:15
KinematicParametersError::isValid
bool isValid() const
Definition:
KinematicParametersError.h:40
VertexException.h
Generated for CMSSW Reference Manual by
1.8.16