Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
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
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
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
y
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
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
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
Macros
_
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
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Trigger
TrigAnalysis
TrigInDetAnalysisUtils
TrigInDetAnalysisUtils
VertexMatcher.h
Go to the documentation of this file.
1
/* emacs: this is -*- c++ -*- */
12
#ifndef VERTEXMATCHER_H
13
#define VERTEXMATCHER_H
14
15
#include <iostream>
16
17
#include "
TrigInDetAnalysisUtils/BestMatcher.h
"
18
19
#include "
TrigInDetAnalysis/TIDAVertex.h
"
20
21
22
class
VertexMatcher
:
public
BestMatcher
<TIDA::Vertex> {
23
24
public
:
25
26
VertexMatcher
(
const
std::string&
s
,
double
d
=3 ) :
BestMatcher
<
TIDA
::
Vertex
>(
s
,
d
*
d
) { }
27
28
~VertexMatcher
() { }
29
30
virtual
BestMatcher<TIDA::Vertex>
*
clone
()
override
{
return
new
VertexMatcher
(*
this
); }
31
32
virtual
double
distance
(
const
TIDA::Vertex
*
v0
,
const
TIDA::Vertex
* v1 )
const override
{
33
double
d
= (
v0
->z()-v1->
z
());
34
return
d
*
d
;
35
37
// if ( v0->dz() && v1->dz() ) return d*d/( v0->dz()*v0->dz() + v1->dz()*v1->dz() );
38
// else return d*d;
39
};
40
41
};
42
43
inline
std::ostream&
operator<<
( std::ostream&
s
,
const
VertexMatcher
&
/* _v */
) {
44
return
s
;
45
}
46
47
48
#endif // VERTEXMATCHER_H
49
50
51
TIDA
Test for xAOD.
Definition:
Filter_AcceptAll.h:22
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition:
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
VertexMatcher::distance
virtual double distance(const TIDA::Vertex *v0, const TIDA::Vertex *v1) const override
Definition:
VertexMatcher.h:32
VertexMatcher::VertexMatcher
VertexMatcher(const std::string &s, double d=3)
Definition:
VertexMatcher.h:26
hist_file_dump.d
d
Definition:
hist_file_dump.py:143
TIDAVertex.h
operator<<
std::ostream & operator<<(std::ostream &s, const VertexMatcher &)
Definition:
VertexMatcher.h:43
parseMapping.v0
def v0
Definition:
parseMapping.py:149
BestMatcher.h
TIDA::Vertex
Definition:
TIDAVertex.h:23
VertexMatcher::clone
virtual BestMatcher< TIDA::Vertex > * clone() override
Definition:
VertexMatcher.h:30
TIDA::Vertex::z
double z() const
Definition:
TIDAVertex.h:53
BestMatcher
Definition:
BestMatcher.h:29
VertexMatcher::~VertexMatcher
~VertexMatcher()
Definition:
VertexMatcher.h:28
python.SystemOfUnits.s
float s
Definition:
SystemOfUnits.py:146
VertexMatcher
Definition:
VertexMatcher.h:22
Generated on Wed May 28 2025 21:22:23 for ATLAS Offline Software by
1.8.18