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
RecoBTag
SecondaryVertex
interface
TemplatedSecondaryVertex.h
Go to the documentation of this file.
1
#ifndef RecoBTag_SecondaryVertex_TemplatedSecondaryVertex_h
2
#define RecoBTag_SecondaryVertex_TemplatedSecondaryVertex_h
3
4
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
5
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
6
#include "
DataFormats/VertexReco/interface/Vertex.h
"
7
8
namespace
reco
{
9
10
template
<
class
SV>
11
class
TemplatedSecondaryVertex
:
public
SV
{
12
public
:
13
TemplatedSecondaryVertex
() {}
14
TemplatedSecondaryVertex
(
const
reco::Vertex
&
pv
,
15
const
SV
&
sv
,
16
const
GlobalVector
&direction,
17
bool
withPVError =
false
)
18
:
SV
(
sv
),
19
dist1d_
(
computeDist1d
(
pv
,
sv
, direction, withPVError)),
20
dist2d_
(
computeDist2d
(
pv
,
sv
, direction, withPVError)),
21
dist3d_
(
computeDist3d
(
pv
,
sv
, direction, withPVError)) {}
22
23
~TemplatedSecondaryVertex
() {}
//NOLINT
24
inline
Measurement1D
dist1d
()
const
{
return
dist1d_
; }
25
inline
Measurement1D
dist2d
()
const
{
return
dist2d_
; }
26
inline
Measurement1D
dist3d
()
const
{
return
dist3d_
; }
27
static
Measurement1D
computeDist1d
(
const
reco::Vertex
&
pv
,
28
const
SV
&
sv
,
29
const
GlobalVector
&direction,
30
bool
withPVError);
31
static
Measurement1D
computeDist2d
(
32
// const reco::Vertex &pv, const reco::Vertex &sv,
33
const
reco::Vertex
&
pv
,
34
const
SV
&
sv
,
35
const
GlobalVector
&direction,
36
bool
withPVError);
37
static
Measurement1D
computeDist3d
(
38
// const reco::Vertex &pv, const reco::Vertex &sv,
39
const
reco::Vertex
&
pv
,
40
const
SV
&
sv
,
41
const
GlobalVector
&direction,
42
bool
withPVError);
43
operator
reco::Vertex
();
44
45
private
:
46
Measurement1D
dist1d_
;
47
Measurement1D
dist2d_
;
48
Measurement1D
dist3d_
;
49
};
50
51
}
// namespace reco
52
53
#endif // RecoBTag_SecondaryVertex_TemplatedSecondaryVertex_h
Measurement1D
Definition:
Measurement1D.h:11
reco::TemplatedSecondaryVertex::dist1d_
Measurement1D dist1d_
Definition:
TemplatedSecondaryVertex.h:46
reco::TemplatedSecondaryVertex::TemplatedSecondaryVertex
TemplatedSecondaryVertex()
Definition:
TemplatedSecondaryVertex.h:13
reco::TemplatedSecondaryVertex::dist2d
Measurement1D dist2d() const
Definition:
TemplatedSecondaryVertex.h:25
Measurement1D.h
reco::TemplatedSecondaryVertex::computeDist3d
static Measurement1D computeDist3d(const reco::Vertex &pv, const SV &sv, const GlobalVector &direction, bool withPVError)
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
reco::TemplatedSecondaryVertex::dist3d
Measurement1D dist3d() const
Definition:
TemplatedSecondaryVertex.h:26
reco::TemplatedSecondaryVertex::TemplatedSecondaryVertex
TemplatedSecondaryVertex(const reco::Vertex &pv, const SV &sv, const GlobalVector &direction, bool withPVError=false)
Definition:
TemplatedSecondaryVertex.h:14
reco::TemplatedSecondaryVertex::computeDist2d
static Measurement1D computeDist2d(const reco::Vertex &pv, const SV &sv, const GlobalVector &direction, bool withPVError)
pfDeepBoostedJetPreprocessParams_cfi.sv
sv
Definition:
pfDeepBoostedJetPreprocessParams_cfi.py:352
Vertex.h
math::GlobalVector
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalVector
vector in glovbal coordinate system
Definition:
Vector3D.h:28
reco::TemplatedSecondaryVertex::dist2d_
Measurement1D dist2d_
Definition:
TemplatedSecondaryVertex.h:47
nanoDQM_cfi.SV
SV
Definition:
nanoDQM_cfi.py:664
MetAnalyzer.pv
def pv(vc)
Definition:
MetAnalyzer.py:7
reco::TemplatedSecondaryVertex::~TemplatedSecondaryVertex
~TemplatedSecondaryVertex()
Definition:
TemplatedSecondaryVertex.h:23
reco::TemplatedSecondaryVertex::computeDist1d
static Measurement1D computeDist1d(const reco::Vertex &pv, const SV &sv, const GlobalVector &direction, bool withPVError)
reco::TemplatedSecondaryVertex::dist1d
Measurement1D dist1d() const
Definition:
TemplatedSecondaryVertex.h:24
HltBtagValidation_cff.Vertex
Vertex
Definition:
HltBtagValidation_cff.py:32
GlobalVector.h
reco::Vertex
Definition:
Vertex.h:35
reco::TemplatedSecondaryVertex
Definition:
TemplatedSecondaryVertex.h:11
reco::TemplatedSecondaryVertex::dist3d_
Measurement1D dist3d_
Definition:
TemplatedSecondaryVertex.h:48
Generated for CMSSW Reference Manual by
1.8.16