Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
RecoVertex
KinematicFitPrimitives
src
KinematicState.cc
Go to the documentation of this file.
1
#include "
RecoVertex/KinematicFitPrimitives/interface/KinematicState.h
"
2
#include "
RecoVertex/KinematicFitPrimitives/interface/Matrices.h
"
3
4
KinematicState::KinematicState
(
const
KinematicParameters
&
parameters
,
5
const
KinematicParametersError
&
error
,
6
const
TrackCharge
&
charge
,
7
const
MagneticField
* field)
8
: fts(
GlobalTrajectoryParameters
(
parameters
.
position
(),
parameters
.momentum(),
charge
, field),
9
CartesianTrajectoryError
(
error
.
matrix
().Sub<
AlgebraicSymMatrix66
>(0, 0))),
10
param(
parameters
),
11
err
(
error
),
12
vl(
true
) {}
13
14
bool
KinematicState::operator==
(
const
KinematicState
&
other
)
const
{
15
return
(
kinematicParameters
().
vector
() ==
other
.kinematicParameters().vector()) &&
16
(
kinematicParametersError
().
matrix
() ==
other
.kinematicParametersError().matrix());
17
}
18
19
/*
20
void KinematicState::setFreeTrajectoryState() const {
21
GlobalTrajectoryParameters globalPar(globalPosition(), globalMomentum(),
22
particleCharge(), theField);
23
AlgebraicSymMatrix66 cError =
24
kinematicParametersError().matrix().Sub<AlgebraicSymMatrix66>(0,0);
25
CartesianTrajectoryError cartError(cError);
26
// cout<<"conversion called"<<endl;
27
// cout<<"parameters::position"<<globalPosition()<<endl;
28
// cout<<"parameters::momentum"<<globalMomentum()<<endl;
29
// cout<<"parameters::error"<<cError<<endl;
30
fts = FreeTrajectoryState(globalPar,cartError);
31
}
32
*/
Matrices.h
BeamSpotPI::parameters
parameters
Definition:
BeamSpotPayloadInspectorHelper.h:30
KinematicState.h
TrackCharge
int TrackCharge
Definition:
TrackCharge.h:4
makeMuonMisalignmentScenario.matrix
list matrix
Definition:
makeMuonMisalignmentScenario.py:141
KinematicState
Definition:
KinematicState.h:17
relativeConstraints.error
error
Definition:
relativeConstraints.py:53
AlgebraicSymMatrix66
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
Definition:
AlgebraicROOTObjects.h:24
KinematicState::kinematicParametersError
KinematicParametersError const & kinematicParametersError() const
Definition:
KinematicState.h:63
trackingPlots.other
other
Definition:
trackingPlots.py:1460
GlobalTrajectoryParameters
Definition:
GlobalTrajectoryParameters.h:15
KinematicState::operator==
bool operator==(const KinematicState &other) const
Definition:
KinematicState.cc:14
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition:
ALCARECOTkAlJpsiMuMu_cff.py:47
funct::true
true
Definition:
Factorize.h:173
KinematicState::KinematicState
KinematicState()
Definition:
KinematicState.h:24
KinematicParametersError::matrix
AlgebraicSymMatrix77 const & matrix() const
Definition:
KinematicParametersError.h:36
position
static int position[264][3]
Definition:
ReadPGInfo.cc:289
KinematicParameters
Definition:
KinematicParameters.h:15
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
KinematicParametersError
Definition:
KinematicParametersError.h:20
submitPVResolutionJobs.err
err
Definition:
submitPVResolutionJobs.py:85
CartesianTrajectoryError
Definition:
CartesianTrajectoryError.h:15
KinematicState::kinematicParameters
KinematicParameters const & kinematicParameters() const
Definition:
KinematicState.h:61
MagneticField
Definition:
MagneticField.h:19
Generated for CMSSW Reference Manual by
1.8.16