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
DataFormats
PatCandidates
src
Vertexing.cc
Go to the documentation of this file.
1
#include "
DataFormats/PatCandidates/interface/Vertexing.h
"
2
3
using
pat::VertexAssociation
;
4
5
void
VertexAssociation::setDistances(
const
AlgebraicVector3
&dist,
const
AlgebraicSymMatrix33
&
err
) {
6
setDz
(
Measurement1DFloat
(
std::abs
(dist[2]),
std::sqrt
(
err
(2, 2))));
7
8
AlgebraicVector3
dist2D(dist[0], dist[1], 0);
9
float
d2 = dist2D[0] * dist2D[0] + dist2D[1] * dist2D[1];
10
setDr
(
Measurement1DFloat
(
sqrt
(d2),
sqrt
(ROOT::Math::Similarity(dist2D,
err
) / d2)));
11
}
AlgebraicVector3
ROOT::Math::SVector< double, 3 > AlgebraicVector3
Definition:
AlgebraicROOTObjects.h:12
AlgebraicSymMatrix33
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33
Definition:
AlgebraicROOTObjects.h:21
pat::VertexAssociation::setDz
void setDz(const Measurement1DFloat &dz)
Definition:
Vertexing.h:68
mathSSE::sqrt
T sqrt(T t)
Definition:
SSEVec.h:19
pat::VertexAssociation::setDr
void setDr(const Measurement1DFloat &dr)
Definition:
Vertexing.h:69
Measurement1DFloat
Definition:
Measurement1DFloat.h:9
Vertexing.h
submitPVResolutionJobs.err
err
Definition:
submitPVResolutionJobs.py:85
pat::VertexAssociation
Analysis-level structure for vertex-related information.
Definition:
Vertexing.h:25
funct::abs
Abs< T >::type abs(const T &t)
Definition:
Abs.h:22
Generated for CMSSW Reference Manual by
1.8.16