DataFormats
GsfTrackReco
interface
GsfComponent5D.h
Go to the documentation of this file.
1
#ifndef GsfTrackReco_GsfComponent5D_h
2
#define GsfTrackReco_GsfComponent5D_h
3
4
#include "
DataFormats/Math/interface/Vector.h
"
5
#include "
DataFormats/Math/interface/Error.h
"
6
8
namespace
reco
{
9
class
GsfComponent5D
{
10
public
:
11
enum
{
dimension
= 5 };
12
typedef
math::Vector<dimension>::type
ParameterVector
;
13
typedef
math::Error<dimension>::type
CovarianceMatrix
;
14
GsfComponent5D
() :
weight_
(0.) {}
15
GsfComponent5D
(
const
double
&
weight
,
const
ParameterVector
&
vector
,
const
CovarianceMatrix
&
matrix
);
16
double
weight
()
const
{
return
weight_
; }
17
const
ParameterVector
&
parameters
()
const
{
return
parameters_
; }
18
CovarianceMatrix
&
covariance
(
CovarianceMatrix
&
matrix
)
const
;
19
20
private
:
21
double
weight_
;
22
ParameterVector
parameters_
;
23
float
covariance_
[
dimension
* (
dimension
+ 1) / 2];
24
};
25
}
// namespace reco
26
#endif
makeMuonMisalignmentScenario.matrix
list matrix
Definition:
makeMuonMisalignmentScenario.py:141
Vector.h
reco::GsfComponent5D::weight
double weight() const
Definition:
GsfComponent5D.h:16
reco::GsfComponent5D::dimension
Definition:
GsfComponent5D.h:11
reco::GsfComponent5D::parameters
const ParameterVector & parameters() const
Definition:
GsfComponent5D.h:17
reco::GsfComponent5D::parameters_
ParameterVector parameters_
Definition:
GsfComponent5D.h:22
CovarianceMatrix
Definition:
CovarianceMatrix.h:27
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
ParameterVector
reco::TrackBase::ParameterVector ParameterVector
Definition:
TrackParameterAnalyzer.h:40
reco::GsfComponent5D
Definition:
GsfComponent5D.h:9
reco::GsfComponent5D::ParameterVector
math::Vector< dimension >::type ParameterVector
Definition:
GsfComponent5D.h:12
reco::GsfComponent5D::covariance
CovarianceMatrix & covariance(CovarianceMatrix &matrix) const
Definition:
GsfComponent5D.cc:14
Error.h
reco::GsfComponent5D::CovarianceMatrix
math::Error< dimension >::type CovarianceMatrix
Definition:
GsfComponent5D.h:13
math::Vector
fixed size vector
Definition:
Vector.h:24
reco::GsfComponent5D::weight_
double weight_
Definition:
GsfComponent5D.h:21
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
reco::GsfComponent5D::GsfComponent5D
GsfComponent5D()
Definition:
GsfComponent5D.h:14
math::Error::type
ErrorD< N >::type type
Definition:
Error.h:32
reco::GsfComponent5D::covariance_
float covariance_[dimension *(dimension+1)/2]
Definition:
GsfComponent5D.h:23
weight
Definition:
weight.py:1
Generated for CMSSW Reference Manual by
1.8.16