src
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
KinematicParametersError::KinematicParametersError
KinematicParametersError(const CartesianTrajectoryError &err, float merr)
Definition:
KinematicParametersError.h:26
KinematicParametersError::isValid
bool isValid() const
Definition:
KinematicParametersError.h:40
KinematicParametersError
Definition:
KinematicParametersError.h:20
KinematicParametersError::theCovMatrix
AlgebraicSymMatrix77 theCovMatrix
Definition:
KinematicParametersError.h:43
KinematicParametersError::matrix
AlgebraicSymMatrix77 & matrix()
Definition:
KinematicParametersError.h:38
submitPVResolutionJobs.err
err
Definition:
submitPVResolutionJobs.py:85
KinematicParametersError::vl
bool vl
Definition:
KinematicParametersError.h:44
AlgebraicObjects.h
JacobianCartesianToCurvilinear.h
VertexException.h
JacobianCurvilinearToCartesian.h
KinematicParametersError::KinematicParametersError
KinematicParametersError()
Definition:
KinematicParametersError.h:22
CartesianTrajectoryError.h
KinematicParametersError::KinematicParametersError
KinematicParametersError(const AlgebraicSymMatrix77 &er)
Definition:
KinematicParametersError.h:24
AlgebraicSymMatrix77
ROOT::Math::SMatrix< double, 7, 7, ROOT::Math::MatRepSym< double, 7 > > AlgebraicSymMatrix77
Definition:
Matrices.h:9
CartesianTrajectoryError
Definition:
CartesianTrajectoryError.h:15
Matrices.h
KinematicParametersError::matrix
AlgebraicSymMatrix77 const & matrix() const
Definition:
KinematicParametersError.h:36
Generated for CMSSW Reference Manual by
1.8.14