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
TrigRingerRings_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
// create by: joao victor da fonseca pinto, joao.victor.da.fonseca.pinto@cern.ch
7
8
// STD incluse(s)
9
#include <iostream>
10
#include <vector>
11
// xAOD include(s):
12
#include "
xAODCore/AuxStoreAccessorMacros.h
"
13
// local include(s)
14
#include "
xAODTrigRinger/versions/TrigRingerRings_v2.h
"
15
16
namespace
xAOD
{
17
18
19
TrigRingerRings_v2::TrigRingerRings_v2
():
SG
::AuxElement()
20
{
21
// no things to be done!
22
}
23
24
AUXSTORE_OBJECT_SETTER_AND_GETTER
(
TrigRingerRings_v2
, std::vector<float>, rings, setRings)
25
26
unsigned
TrigRingerRings_v2
::
size
()
const
{
27
static
const
Accessor< std::vector<float>
> acc(
"rings"
);
28
return
acc(*this).size();
29
}
30
31
AUXSTORE_OBJECT_SETTER_AND_GETTER
(
TrigRingerRings_v2
,
TrigRingerRings_v2::EMClusterLink_t
, emClusterLink, setEmClusterLink )
32
33
34
35
//
41
const
TrigEMCluster
*
TrigRingerRings_v2
::emCluster()
const
{
42
// The link accessor:
43
static
const
Accessor< EMClusterLink_t >
acc(
"emClusterLink"
);
44
45
// Check if the link is available:
46
if
( ! acc.isAvailable( *
this
) ) {
47
return
nullptr
;
48
}
49
// Check if the link is valid:
50
const
EMClusterLink_t
& link = acc( *
this
);
51
if
( ! link.
isValid
() ) {
52
return
nullptr
;
53
}
54
55
// Return the pointer:
56
return
*link;
57
}
58
59
}
// namespace xAOD
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
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition:
LArRodBlockPhysicsV0.cxx:560
xAOD::unsigned
unsigned
Definition:
RingSetConf_v1.cxx:662
ElementLink::isValid
bool isValid() const
Test to see if the link can be dereferenced.
python.setupRTTAlg.size
int size
Definition:
setupRTTAlg.py:39
TrigRingerRings_v2.h
ElementLink< TrigEMClusterContainer >
xAOD::TrigRingerRings_v2::TrigRingerRings_v2
TrigRingerRings_v2()
Class default constructor.
Definition:
TrigRingerRings_v2.cxx:19
xAOD::TrigRingerRings_v2
Definition:
TrigRingerRings_v2.h:24
xAOD::TrigEMCluster_v1
Description of a trigger EM cluster.
Definition:
TrigEMCluster_v1.h:28
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 Sat Mar 15 2025 21:21:47 for ATLAS Offline Software by
1.8.18