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
PhysicsAnalysis
JetTagging
FlavorTagDiscriminants
FlavorTagDiscriminants
BacklinkAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef BACKLINK_ALG_H
6
#define BACKLINK_ALG_H
7
8
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
9
10
#include "
xAODBTagging/BTaggingContainer.h
"
11
#include "
xAODJet/JetContainer.h
"
12
#include "
StoreGate/WriteDecorHandleKey.h
"
13
#include "
StoreGate/ReadDecorHandleKey.h
"
14
15
namespace
FlavorTagDiscriminants
{
16
template
<
typename
OLD,
typename
NEW>
17
class
BacklinkAlg
:
public
AthReentrantAlgorithm
18
{
19
public
:
20
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
21
virtual
StatusCode
initialize
()
override
;
22
virtual
StatusCode
execute
(
const
EventContext& cxt)
const override
;
23
virtual
StatusCode
finalize
()
override
;
24
private
:
25
26
// Better would be to make everything work with AuxElement, e.g.
27
//
28
// using EC = DataVector<SG::AuxElement>;
29
// using NEW = EC;
30
// using OLD = EC;
31
//
32
// But I haven't figured out how to make this work (I'd need to
33
// assign a class ID, and even then I'm not sure it would be
34
// supported).
35
36
SG::ReadDecorHandleKey<OLD>
m_oldLink
{
37
this
,
"oldLink"
,
""
,
"Existing link"
};
38
SG::WriteDecorHandleKey<NEW>
m_newLink
{
39
this
,
"newLink"
,
""
,
"Link to be added"
};
40
};
41
}
42
43
#include "
BacklinkAlg.icc
"
44
45
#endif
SG::WriteDecorHandleKey< NEW >
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
FlavorTagDiscriminants
Definition:
BacklinkAlg.h:15
FlavorTagDiscriminants::BacklinkAlg::finalize
virtual StatusCode finalize() override
BacklinkAlg.icc
FlavorTagDiscriminants::BacklinkAlg::m_oldLink
SG::ReadDecorHandleKey< OLD > m_oldLink
Definition:
BacklinkAlg.h:36
FlavorTagDiscriminants::BacklinkAlg
Definition:
BacklinkAlg.h:18
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:74
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
FlavorTagDiscriminants::BacklinkAlg::initialize
virtual StatusCode initialize() override
BTaggingContainer.h
JetContainer.h
FlavorTagDiscriminants::BacklinkAlg::execute
virtual StatusCode execute(const EventContext &cxt) const override
FlavorTagDiscriminants::BacklinkAlg::m_newLink
SG::WriteDecorHandleKey< NEW > m_newLink
Definition:
BacklinkAlg.h:38
SG::ReadDecorHandleKey< OLD >
Generated on Wed May 7 2025 21:06:35 for ATLAS Offline Software by
1.8.18