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
Event
xAOD
xAODTrigRinger
Root
TrigRNNOutput_v2.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#include <iostream>
7
// xAOD include(s):
8
#include "
xAODCore/AuxStoreAccessorMacros.h
"
9
// local include(s)
10
#include "
xAODTrigRinger/versions/TrigRNNOutput_v2.h
"
11
#include <vector>
12
13
namespace
xAOD
{
14
15
16
TrigRNNOutput_v2::TrigRNNOutput_v2
():
SG
::AuxElement()
17
{
18
// no things to be done!
19
}
20
21
AUXSTORE_OBJECT_SETTER_AND_GETTER
(
TrigRNNOutput_v2
, std::vector<float>, rnnDecision, setRnnDecision)
22
23
void
TrigRNNOutput_v2
::setRnnDecision(
float
d
){
24
static
const
Accessor< std::vector<float>
> acc(
"rnnDecision"
);
25
acc(*this).push_back(
d
);
26
}
27
28
AUXSTORE_OBJECT_SETTER_AND_GETTER
(
TrigRNNOutput_v2
,
TrigRNNOutput_v2::RingerLink_t
, ringerLink, setRingerLink )
29
30
31
32
const
TrigRingerRings
*
TrigRNNOutput_v2::ringer
()
const
{
40
41
// The link accessor:
42
static
const
Accessor< RingerLink_t > acc(
"ringerLink"
);
43
44
// Check if the link is available:
45
if
( ! acc.isAvailable( *
this
) ) {
46
return
nullptr
;
47
}
48
49
// Check if the link is valid:
50
const
RingerLink_t
& link = acc( *
this
);
51
if
( ! link.isValid() ) {
52
return
nullptr
;
53
}
54
55
// Return the pointer:
56
return
*link;
57
}
58
59
60
}
// namespace xAOD
xAOD::TrigRNNOutput_v2
Definition:
TrigRNNOutput_v2.h:24
xAOD::TrigRNNOutput_v2::RingerLink_t
ElementLink< TrigRingerRingsContainer > RingerLink_t
Type of the EM cluster link.
Definition:
TrigRNNOutput_v2.h:37
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition:
Control/AthContainers/AthContainers/Accessor.h:68
AuxStoreAccessorMacros.h
hist_file_dump.d
d
Definition:
hist_file_dump.py:143
xAOD::TrigRNNOutput_v2::TrigRNNOutput_v2
TrigRNNOutput_v2()
Class default constructor.
Definition:
TrigRNNOutput_v2.cxx:16
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
xAOD::TrigRNNOutput_v2::ringer
const TrigRingerRings * ringer() const
The associated EM cluster, as a simple pointer.
Definition:
TrigRNNOutput_v2.cxx:39
ElementLink
ElementLink implementation for ROOT usage.
Definition:
AthLinks/ElementLink.h:123
TrigRNNOutput_v2.h
xAOD::TrigRingerRings_v2
Definition:
TrigRingerRings_v2.h:24
xAOD::AUXSTORE_OBJECT_SETTER_AND_GETTER
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
Definition:
CaloRings_v1.cxx:27
Generated on Tue Apr 22 2025 21:21:54 for ATLAS Offline Software by
1.8.18