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
Trigger
TrigAnalysis
TriggerMatchingTool
TriggerMatchingTool
DRScoringTool.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGGERMATCHINGTOOL_DRSCORINGTOOL_H
6
#define TRIGGERMATCHINGTOOL_DRSCORINGTOOL_H
7
8
#include "
AsgTools/AsgTool.h
"
9
#include "
AsgTools/PropertyWrapper.h
"
10
#include "
TriggerMatchingTool/IMatchScoringTool.h
"
11
12
namespace
Trig
{
14
class
DRScoringTool
:
public
asg::AsgTool
,
virtual
public
IMatchScoringTool
15
{
16
ASG_TOOL_CLASS
(
DRScoringTool
,
IMatchScoringTool
)
17
public
:
18
DRScoringTool
(
const
std::string &
name
);
19
virtual
~DRScoringTool
()
override
=
default
;
20
21
virtual
StatusCode
initialize
()
override
;
22
virtual
float
score
(
23
const
xAOD::IParticle
&
online
,
24
const
xAOD::IParticle
&
offline
)
const override
;
25
private
:
26
Gaudi::Property<bool>
m_useRapidity
{
27
this
,
"UseRapidity"
,
false
,
"Whether to use rapidity or eta for the calculation"
};
28
};
//> end class DRScoringTool
29
}
//> end namespace Trig
30
31
#endif //> !TRIGGERMATCHINGTOOL_DRSCORINGTOOL_H
Trig::DRScoringTool::~DRScoringTool
virtual ~DRScoringTool() override=default
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition:
AsgTool.h:47
PropertyWrapper.h
Trig::DRScoringTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition:
DRScoringTool.cxx:13
Trig
The common trigger namespace for trigger analysis tools.
Definition:
LArCellMonAlg.h:33
Trig::DRScoringTool::score
virtual float score(const xAOD::IParticle &online, const xAOD::IParticle &offline) const override
Calculate the matching score for a pair of particles.
Definition:
DRScoringTool.cxx:18
offline
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
TileSynchronizeBch.online
online
Definition:
TileSynchronizeBch.py:88
IMatchScoringTool.h
Trig::IMatchScoringTool
Interface class for scoring pairs of particles for matching.
Definition:
IMatchScoringTool.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
Trig::DRScoringTool
Score pairs of particles based on their deltaR.
Definition:
DRScoringTool.h:15
Trig::DRScoringTool::m_useRapidity
Gaudi::Property< bool > m_useRapidity
Definition:
DRScoringTool.h:26
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition:
AsgToolMacros.h:68
Trig::DRScoringTool::DRScoringTool
DRScoringTool(const std::string &name)
Definition:
DRScoringTool.cxx:9
AsgTool.h
Generated on Sun Mar 23 2025 21:09:45 for ATLAS Offline Software by
1.8.18