Main Page
Namespaces
Classes
Package Documentation
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
21
class
KinematicParametersError
{
22
23
public
:
24
KinematicParametersError
()
25
{
vl
=
false
;}
26
27
KinematicParametersError
(
const
AlgebraicSymMatrix77
& er):
28
theCovMatrix
(er)
29
{
vl
=
true
;}
30
31
KinematicParametersError
(
const
CartesianTrajectoryError
& err,
float
merr) {
32
theCovMatrix
.Place_at(err.
matrix
(),0,0);
33
theCovMatrix
(6,6) = merr * merr;
34
vl
=
true
;
35
}
36
41
AlgebraicSymMatrix77
const
&
matrix
()
const
{
return
theCovMatrix
;}
42
43
AlgebraicSymMatrix77
&
matrix
() {
return
theCovMatrix
;}
44
45
46
bool
isValid
()
const
47
{
return
vl
;}
48
49
private
:
50
AlgebraicSymMatrix77
theCovMatrix
;
51
bool
vl
;
52
};
53
#endif
54
KinematicParametersError::KinematicParametersError
KinematicParametersError(const CartesianTrajectoryError &err, float merr)
Definition:
KinematicParametersError.h:31
KinematicParametersError
Definition:
KinematicParametersError.h:21
KinematicParametersError::matrix
AlgebraicSymMatrix77 const & matrix() const
Definition:
KinematicParametersError.h:41
KinematicParametersError::theCovMatrix
AlgebraicSymMatrix77 theCovMatrix
Definition:
KinematicParametersError.h:50
KinematicParametersError::matrix
AlgebraicSymMatrix77 & matrix()
Definition:
KinematicParametersError.h:43
AlgebraicSymMatrix77
ROOT::Math::SMatrix< double, 7, 7, ROOT::Math::MatRepSym< double, 7 > > AlgebraicSymMatrix77
Definition:
Matrices.h:9
KinematicParametersError::vl
bool vl
Definition:
KinematicParametersError.h:51
KinematicParametersError::isValid
bool isValid() const
Definition:
KinematicParametersError.h:46
AlgebraicObjects.h
JacobianCartesianToCurvilinear.h
VertexException.h
JacobianCurvilinearToCartesian.h
CartesianTrajectoryError::matrix
const AlgebraicSymMatrix66 & matrix() const
Definition:
CartesianTrajectoryError.h:29
KinematicParametersError::KinematicParametersError
KinematicParametersError()
Definition:
KinematicParametersError.h:24
CartesianTrajectoryError.h
KinematicParametersError::KinematicParametersError
KinematicParametersError(const AlgebraicSymMatrix77 &er)
Definition:
KinematicParametersError.h:27
CartesianTrajectoryError
Definition:
CartesianTrajectoryError.h:15
Matrices.h
Generated for CMSSW Reference Manual by
1.8.11