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
Control
DataModelTest
DataModelTestDataCommon
src
PAuxContainer_v1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
12
#include "
DataModelTestDataCommon/versions/PAuxContainer_v1.h
"
13
#include "
AthContainersInterfaces/AuxDataOption.h
"
14
#include <stdexcept>
15
16
17
#define CHECK_OPTION(ret) \
18
do { \
19
if (!ret) { \
20
ATH_MSG_ERROR("setOption failed"); \
21
return StatusCode::FAILURE; \
22
} \
23
} while(0)
24
25
26
namespace
DMTest
{
27
28
29
PAuxContainer_v1::PAuxContainer_v1
()
30
:
xAOD
::AuxContainerBase()
31
{
32
if
(!pInt.setOption (
SG::AuxDataOption
(
"nbits"
, 17)) ||
33
!pFloat.setOption (
SG::AuxDataOption
(
"nbits"
, 17)) ||
34
!pFloat.setOption (
SG::AuxDataOption
(
"signed"
, 0)) ||
35
!pFloat.setOption (
SG::AuxDataOption
(
"nmantissa"
, 17)) ||
36
!pFloat.setOption (
SG::AuxDataOption
(
"scale"
, 10)) ||
37
38
!pvInt.setOption (
SG::AuxDataOption
(
"nbits"
, 13)) ||
39
!pvFloat.setOption (
SG::AuxDataOption
(
"nbits"
, 13)) ||
40
!pvFloat.setOption (
SG::AuxDataOption
(
"nmantissa"
, 12)) )
41
{
42
throw
std::runtime_error (
"Can't set packing options in PAuxContainer_v1"
);
43
}
44
}
45
46
47
}
// namespace DMTest
DMTest::PAuxContainer_v1::PAuxContainer_v1
PAuxContainer_v1()
Definition:
PAuxContainer_v1.cxx:29
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
PAuxContainer_v1.h
Class used for testing xAOD data reading/writing with packed containers.
AuxDataOption.h
Hold information about an option setting request.
SG::AuxDataOption
Hold information about an option setting request.
Definition:
AuxDataOption.h:37
DMTest
Definition:
B.h:23
Generated on Tue Apr 1 2025 21:16:32 for ATLAS Offline Software by
1.8.18