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
Control
DataModelTest
DataModelTestDataCommon
src
xAODTestAlg.cxx
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
3
*/
4
5
// $Id$
14
#include "
xAODTestAlg.h
"
15
16
17
namespace
DMTest
{
18
19
25
xAODTestAlg::xAODTestAlg
(
const
std::string &
name
, ISvcLocator *pSvcLocator)
26
:
AthReentrantAlgorithm
(
name
, pSvcLocator),
27
m_tools (this)
28
{
29
declareProperty
(
"Tools"
,
m_tools
);
30
}
31
32
36
StatusCode
xAODTestAlg::initialize
()
37
{
38
ATH_CHECK
(
m_tools
.retrieve() );
39
return
StatusCode::SUCCESS;
40
}
41
42
43
47
StatusCode
xAODTestAlg::execute
(
const
EventContext& ctx)
const
48
{
49
for
(
const
auto
&
t
:
m_tools
)
50
ATH_CHECK
(
t
->doit (ctx) );
51
return
StatusCode::SUCCESS;
52
}
53
54
55
}
// namespace DMTest
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition:
AthCommonDataStore.h:145
DMTest::xAODTestAlg::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition:
xAODTestAlg.cxx:36
DMTest::xAODTestAlg::xAODTestAlg
xAODTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition:
xAODTestAlg.cxx:25
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:74
xAODTestAlg.h
Algorithm used to test SG access from tools.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DMTest::xAODTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition:
xAODTestAlg.cxx:47
ATH_CHECK
#define ATH_CHECK
Definition:
AthCheckMacros.h:40
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
DMTest::xAODTestAlg::m_tools
ToolHandleArray< ITestTool > m_tools
Definition:
xAODTestAlg.h:52
DMTest
Definition:
B.h:23
Generated on Wed May 7 2025 21:22:45 for ATLAS Offline Software by
1.8.18