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
xAODInDetMeasurement
Root
StripCluster_v1.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
// EDM include(s):
6
#include "
xAODCore/AuxStoreAccessorMacros.h
"
7
// Local include(s):
8
#include "
xAODInDetMeasurement/versions/StripCluster_v1.h
"
9
10
static
const
SG::AuxElement::Accessor<std::array<float, 3>
> globalPosAcc(
11
"globalPosition"
);
12
static
const
SG::AuxElement::Accessor<std::vector<Identifier::value_type>
>
13
rdoListAcc(
"rdoList"
);
14
15
xAOD::ConstVectorMap<3>
xAOD::StripCluster_v1::globalPosition
()
const
{
16
const
auto
& values = globalPosAcc(*
this
);
17
return
ConstVectorMap<3>
{values.data()};
18
}
19
20
xAOD::VectorMap<3>
xAOD::StripCluster_v1::globalPosition
() {
21
auto
& values = globalPosAcc(*
this
);
22
return
VectorMap<3>
{values.data()};
23
}
24
25
void
xAOD::StripCluster_v1::setRDOlist
(
const
std::vector<Identifier>& rdoList) {
26
std::vector<Identifier::value_type> rdos(rdoList.size());
27
for
(std::size_t
i
(0);
i
< rdos.size(); ++
i
) {
28
rdos[
i
] = rdoList[
i
].get_compact();
29
}
30
rdoListAcc(*
this
) = std::move(rdos);
31
}
32
33
const
std::vector<Identifier>
xAOD::StripCluster_v1::rdoList
()
const
{
34
const
std::vector<Identifier::value_type>& values = rdoListAcc(*
this
);
35
std::vector<Identifier> rdos(values.size());
36
for
(std::size_t
i
(0);
i
< rdos.size(); ++
i
) {
37
rdos[
i
].set_literal(values[
i
]);
38
}
39
return
rdos;
40
}
41
42
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
(
xAOD::StripCluster_v1
,
int
, channelsInPhi,
43
setChannelsInPhi)
xAOD::AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition:
Control/AthContainers/AthContainers/Accessor.h:68
AuxStoreAccessorMacros.h
xAOD::StripCluster_v1::rdoList
const std::vector< Identifier > rdoList() const
Returns the list of identifiers of the channels building the cluster.
Definition:
StripCluster_v1.cxx:33
lumiFormat.i
int i
Definition:
lumiFormat.py:85
xAOD::StripCluster_v1
Definition:
StripCluster_v1.h:17
xAOD::StripCluster_v1::setRDOlist
void setRDOlist(const std::vector< Identifier > &rdolist)
Sets the list of identifiers of the channels building the cluster.
Definition:
StripCluster_v1.cxx:25
xAOD::VectorMap
Eigen::Map< MeasVector< N > > VectorMap
Definition:
MeasurementDefs.h:58
xAOD::StripCluster_v1::globalPosition
ConstVectorMap< 3 > globalPosition() const
Returns the global position of the strip cluster.
Definition:
StripCluster_v1.cxx:15
StripCluster_v1.h
xAOD::ConstVectorMap
Eigen::Map< const MeasVector< N > > ConstVectorMap
Definition:
MeasurementDefs.h:60
Generated on Tue Mar 25 2025 21:19:07 for ATLAS Offline Software by
1.8.18