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
AthenaExamples
AthExBasics
src
WritexAOD.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
10
#ifndef ATHEXBASICS_WRITEXAOD_H
11
#define ATHEXBASICS_WRITEXAOD_H
12
13
#include <atomic>
14
15
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
16
#include "GaudiKernel/ToolHandle.h"
17
#include "
InDetTrackSelectionTool/IInDetTrackSelectionTool.h
"
18
#include "
xAODTracking/TrackParticleContainer.h
"
19
#include "
xAODTracking/TrackParticleAuxContainer.h
"
20
21
class
WritexAOD
:
public
AthReentrantAlgorithm
{
22
public
:
23
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
24
25
virtual
StatusCode
initialize
()
override
;
26
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
27
28
private
:
30
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_trackKey
{
this
,
"TrackParticlesKey"
,
"InDetTrackParticles"
};
32
SG::WriteHandleKey<xAOD::TrackParticleContainer>
m_newKey
{
this
,
"NewTrackParticlesKey"
,
"InDetTrackParticles"
};
34
ToolHandle<InDet::IInDetTrackSelectionTool>
m_trackSelectionTool
{
this
,
"TrackSelectionTool"
,
"InDetTrackSelectionTool"
,
"Tool for selecting tracks"
};
35
};
36
37
#endif
WritexAOD::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
WritexAOD.cxx:18
WritexAOD
Algorithm demonstrating writing of xAOD containers.
Definition:
WritexAOD.h:21
WritexAOD::m_trackSelectionTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelectionTool
Tool handle for the track selection tool */.
Definition:
WritexAOD.h:34
SG::ReadHandleKey< xAOD::TrackParticleContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:74
WritexAOD::m_newKey
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_newKey
Read handle for the new track container **/.
Definition:
WritexAOD.h:32
SG::WriteHandleKey< xAOD::TrackParticleContainer >
TrackParticleAuxContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IInDetTrackSelectionTool.h
AthReentrantAlgorithm.h
WritexAOD::m_trackKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackKey
Read handle for the offline object container - set to tracks by default. **/.
Definition:
WritexAOD.h:30
WritexAOD::initialize
virtual StatusCode initialize() override
Definition:
WritexAOD.cxx:7
TrackParticleContainer.h
Generated on Mon Apr 7 2025 21:23:25 for ATLAS Offline Software by
1.8.18