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
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
Reconstruction
eflowRec
src
PFMatcher.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*
6
* PFMatcher.cxx
7
*
8
* Created on: 03.04.2014
9
* Author: tlodd
10
*/
11
12
#include "
eflowRec/PFMatcher.h
"
13
#include "
PathResolver/PathResolver.h
"
14
#include <fstream>
15
namespace
PFMatch
{
16
17
MatchDistance
TrackClusterMatcher::match
(
ITrack
* track,
ICluster
* cluster)
const
{
18
double
distance
=
m_distanceProvider
->distanceBetween(track, cluster);
19
return
MatchDistance
(cluster,
distance
);
20
}
21
void
TrackClusterMatcher::setDRParameters
(){
22
std::string theFileName =
PathResolver::find_file
(
"rmsvsdr.dat"
,
"DATAPATH"
);
23
std::ifstream DRPARAM(theFileName.c_str());
24
for
(
int
i
=0;i<8;i++) DRPARAM>>
m_drcut_par
[
i
][0]>>
m_drcut_par
[
i
][1]>>
m_drcut_par
[
i
][2];
25
26
}
27
28
29
}
PFMatch::MatchDistance
std::pair< ICluster *, double > MatchDistance
Definition:
PFMatcher.h:24
PathResolver::find_file
static std::string find_file(const std::string &logical_file_name, const std::string &search_path, SearchType search_type=LocalSearch)
Definition:
PathResolver.cxx:251
PFMatcher.h
PFMatch::ICluster
Definition:
PFMatchInterfaces.h:37
PFMatch::ITrack
Definition:
PFMatchInterfaces.h:28
lumiFormat.i
int i
Definition:
lumiFormat.py:85
PathResolver.h
PFMatch::TrackClusterMatcher::m_distanceProvider
std::unique_ptr< IDistanceProvider > m_distanceProvider
Definition:
PFMatcher.h:52
PFMatch
Definition:
PFMatchDistance.h:17
PFMatch::TrackClusterMatcher::match
MatchDistance match(ITrack *track, ICluster *cluster) const
Definition:
PFMatcher.cxx:17
Amg::distance
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
Definition:
GeoPrimitivesHelpers.h:54
PFMatch::TrackClusterMatcher::setDRParameters
void setDRParameters()
This sets the parameters in the above array.
Definition:
PFMatcher.cxx:21
PFMatch::TrackClusterMatcher::m_drcut_par
float m_drcut_par[9][3]
This stores the parameters to vary DR cut with Pt.
Definition:
PFMatcher.h:55
Generated on Tue Mar 18 2025 21:16:28 for ATLAS Offline Software by
1.8.18