Loading [MathJax]/jax/output/SVG/config.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
Trigger
EFTracking
FPGATrackSim
FPGATrackSimInput
src
FPGATrackSimInputHeaderTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef FPGATrackSimInputHeaderTool_H
6
#define FPGATrackSimInputHeaderTool_H
7
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "
FPGATrackSimInput/IFPGATrackSimEventInputHeaderTool.h
"
17
18
#include <atomic>
19
20
class
FPGATrackSimEventInputHeader
;
21
22
class
FPGATrackSimInputHeaderTool
:
public
extends<AthAlgTool, IFPGATrackSimEventInputHeaderTool> {
23
public
:
24
25
FPGATrackSimInputHeaderTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
26
virtual
~FPGATrackSimInputHeaderTool
() =
default
;
27
virtual
StatusCode
initialize
()
override
;
28
virtual
StatusCode
finalize
()
override
;
29
virtual
StatusCode
readData
(
FPGATrackSimEventInputHeader
*
header
,
bool
&last)
override
;
30
virtual
StatusCode
writeData
(
FPGATrackSimEventInputHeader
*
header
)
override
;
31
32
33
private
:
34
StringArrayProperty
m_inpath
{
this
,
"InFileName"
, {
"."
},
"input file paths"
};
35
StringProperty
m_rwoption
{
this
,
"RWstatus"
, std::string(
"READ"
),
"define read or write file option: READ, RECREATE, HEADER"
};
36
37
38
//internal counters
39
std::atomic<unsigned>
m_event
= 0;
40
std::atomic<unsigned>
m_totevent
= 0;
41
std::atomic<unsigned>
m_file
= 0;
42
43
std::string
m_branchName
;
44
StatusCode
openFile
(std::string
const
&
path
);
45
46
};
47
48
#endif // FPGATrackSimInputHeaderTool_H
header
Definition:
hcg.cxx:526
FPGATrackSimInputHeaderTool::readData
virtual StatusCode readData(FPGATrackSimEventInputHeader *header, bool &last) override
Definition:
FPGATrackSimInputHeaderTool.cxx:126
athena.path
path
python interpreter configuration --------------------------------------—
Definition:
athena.py:128
FPGATrackSimInputHeaderTool::m_rwoption
StringProperty m_rwoption
Definition:
FPGATrackSimInputHeaderTool.h:35
FPGATrackSimInputHeaderTool::~FPGATrackSimInputHeaderTool
virtual ~FPGATrackSimInputHeaderTool()=default
FPGATrackSimInputHeaderTool::m_file
std::atomic< unsigned > m_file
Definition:
FPGATrackSimInputHeaderTool.h:41
FPGATrackSimInputHeaderTool
Definition:
FPGATrackSimInputHeaderTool.h:22
FPGATrackSimInputHeaderTool::finalize
virtual StatusCode finalize() override
Definition:
FPGATrackSimInputHeaderTool.cxx:92
FPGATrackSimInputHeaderTool::FPGATrackSimInputHeaderTool
FPGATrackSimInputHeaderTool(const std::string &, const std::string &, const IInterface *)
Definition:
FPGATrackSimInputHeaderTool.cxx:9
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FPGATrackSimInputHeaderTool::m_event
std::atomic< unsigned > m_event
Definition:
FPGATrackSimInputHeaderTool.h:39
AthAlgTool.h
FPGATrackSimEventInputHeader
Definition:
FPGATrackSimEventInputHeader.h:22
FPGATrackSimInputHeaderTool::initialize
virtual StatusCode initialize() override
Definition:
FPGATrackSimInputHeaderTool.cxx:56
FPGATrackSimInputHeaderTool::writeData
virtual StatusCode writeData(FPGATrackSimEventInputHeader *header) override
Definition:
FPGATrackSimInputHeaderTool.cxx:107
FPGATrackSimInputHeaderTool::m_totevent
std::atomic< unsigned > m_totevent
Definition:
FPGATrackSimInputHeaderTool.h:40
FPGATrackSimInputHeaderTool::openFile
StatusCode openFile(std::string const &path)
Definition:
FPGATrackSimInputHeaderTool.cxx:13
FPGATrackSimInputHeaderTool::m_inpath
StringArrayProperty m_inpath
Definition:
FPGATrackSimInputHeaderTool.h:34
IFPGATrackSimEventInputHeaderTool.h
FPGATrackSimInputHeaderTool::m_branchName
std::string m_branchName
Definition:
FPGATrackSimInputHeaderTool.h:43
Generated on Thu Apr 24 2025 21:10:54 for ATLAS Offline Software by
1.8.18