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
Trigger
EFTracking
FPGATrackSim
FPGATrackSimObjects
FPGATrackSimObjects
FPGATrackSimLogicalEventOutputHeader.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3
#ifndef TRIGFPGATrackSimOBJECTS_FPGATrackSimLOGICALEVENTOUTPUTHEADER_H
4
#define TRIGFPGATrackSimOBJECTS_FPGATrackSimLOGICALEVENTOUTPUTHEADER_H
5
6
#include "
FPGATrackSimObjects/FPGATrackSimDataFlowInfo.h
"
7
#include "
FPGATrackSimObjects/FPGATrackSimRoad.h
"
8
#include "
FPGATrackSimObjects/FPGATrackSimTrack.h
"
9
#include "
FPGATrackSimObjects/FPGATrackSimTypes.h
"
10
#include <TObject.h>
11
12
class
FPGATrackSimLogicalEventOutputHeader
{
13
public
:
14
15
FPGATrackSimLogicalEventOutputHeader
() {};
16
virtual
~FPGATrackSimLogicalEventOutputHeader
();
17
18
void
reset
();
//reset per event variables
19
20
// First Stage FPGATrackSim Roads
21
void
getFPGATrackSimRoads_1st
(std::vector<std::shared_ptr<const FPGATrackSimRoad>> & roads_1st) { roads_1st.reserve(
m_FPGATrackSimRoads_1st
.size());
for
(
auto
&
r
:
m_FPGATrackSimRoads_1st
) roads_1st.emplace_back(std::make_shared<const FPGATrackSimRoad>(
r
)); }
22
const
std::vector<FPGATrackSimRoad>&
getFPGATrackSimRoads_1st
()
const
{
return
m_FPGATrackSimRoads_1st
; }
23
size_t
nFPGATrackSimRoads_1st
()
const
{
return
m_FPGATrackSimRoads_1st
.size(); }
24
void
reserveFPGATrackSimRoads_1st
(
size_t
size
) {
m_FPGATrackSimRoads_1st
.reserve(
size
); }
25
void
addFPGATrackSimRoads_1st
(
const
std::vector<std::shared_ptr<const FPGATrackSimRoad>> & roads_1st) {
for
(
auto
&
r
: roads_1st)
m_FPGATrackSimRoads_1st
.push_back(*
r
); }
26
27
// Second Stage FPGATrackSim Roads
28
void
getFPGATrackSimRoads_2nd
(std::vector<std::shared_ptr<const FPGATrackSimRoad>> & roads_2nd) { roads_2nd.reserve(
m_FPGATrackSimRoads_2nd
.size());
for
(
auto
&
r
:
m_FPGATrackSimRoads_2nd
) roads_2nd.emplace_back(std::make_shared<const FPGATrackSimRoad>(
r
)); }
29
const
std::vector<FPGATrackSimRoad>&
getFPGATrackSimRoads_2nd
()
const
{
return
m_FPGATrackSimRoads_2nd
; }
30
size_t
nFPGATrackSimRoads_2nd
()
const
{
return
m_FPGATrackSimRoads_2nd
.size(); }
31
void
reserveFPGATrackSimRoads_2nd
(
size_t
size
) {
m_FPGATrackSimRoads_2nd
.reserve(
size
); }
32
void
addFPGATrackSimRoads_2nd
(
const
std::vector<std::shared_ptr<const FPGATrackSimRoad>> & roads_2nd) {
for
(
auto
&
r
: roads_2nd)
m_FPGATrackSimRoads_2nd
.push_back(*
r
); }
33
34
// First Stage FPGATrackSim Tracks
35
std::vector<FPGATrackSimTrack>
const
&
getFPGATrackSimTracks_1st
()
const
{
return
m_FPGATrackSimTracks_1st
; }
36
size_t
nFPGATrackSimTracks_1st
()
const
{
return
m_FPGATrackSimTracks_1st
.size(); }
37
void
reserveFPGATrackSimTracks_1st
(
size_t
size
) {
m_FPGATrackSimTracks_1st
.reserve(
size
); }
38
void
addFPGATrackSimTracks_1st
(std::vector<FPGATrackSimTrack>
const
& tracks_1st) {
m_FPGATrackSimTracks_1st
= tracks_1st; }
39
40
// Second Stage FPGATrackSim Tracks
41
std::vector<FPGATrackSimTrack>
const
&
getFPGATrackSimTracks_2nd
()
const
{
return
m_FPGATrackSimTracks_2nd
; }
42
size_t
nFPGATrackSimTracks_2nd
()
const
{
return
m_FPGATrackSimTracks_2nd
.size(); }
43
void
reserveFPGATrackSimTracks_2nd
(
size_t
size
) {
m_FPGATrackSimTracks_2nd
.reserve(
size
); }
44
void
addFPGATrackSimTracks_2nd
(std::vector<FPGATrackSimTrack>
const
& tracks_2nd) {
m_FPGATrackSimTracks_2nd
= tracks_2nd; }
45
46
// Data Flow Information
47
FPGATrackSimDataFlowInfo
const
&
getDataFlowInfo
()
const
{
return
m_dataflowInfo
; }
48
void
setDataFlowInfo
(
FPGATrackSimDataFlowInfo
const
&
info
) {
m_dataflowInfo
=
info
; }
49
50
private
:
51
52
std::vector<FPGATrackSimRoad>
m_FPGATrackSimRoads_1st
;
53
std::vector<FPGATrackSimRoad>
m_FPGATrackSimRoads_2nd
;
54
std::vector<FPGATrackSimTrack>
m_FPGATrackSimTracks_1st
;
55
std::vector<FPGATrackSimTrack>
m_FPGATrackSimTracks_2nd
;
56
57
FPGATrackSimDataFlowInfo
m_dataflowInfo
;
58
59
ClassDefNV
(
FPGATrackSimLogicalEventOutputHeader
, 5);
60
};
61
62
std::ostream&
operator<<
(std::ostream&
s
,
FPGATrackSimLogicalEventOutputHeader
const
&
h
);
63
64
#endif // FPGATrackSimEVENTOUTPUTHEADER_H
grepfile.info
info
Definition:
grepfile.py:38
FPGATrackSimLogicalEventOutputHeader::m_FPGATrackSimRoads_1st
std::vector< FPGATrackSimRoad > m_FPGATrackSimRoads_1st
Definition:
FPGATrackSimLogicalEventOutputHeader.h:52
beamspotman.r
def r
Definition:
beamspotman.py:676
FPGATrackSimLogicalEventOutputHeader::m_FPGATrackSimTracks_1st
std::vector< FPGATrackSimTrack > m_FPGATrackSimTracks_1st
Definition:
FPGATrackSimLogicalEventOutputHeader.h:54
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
FPGATrackSimLogicalEventOutputHeader::~FPGATrackSimLogicalEventOutputHeader
virtual ~FPGATrackSimLogicalEventOutputHeader()
Definition:
FPGATrackSimLogicalEventOutputHeader.cxx:8
FPGATrackSimLogicalEventOutputHeader::nFPGATrackSimRoads_1st
size_t nFPGATrackSimRoads_1st() const
Definition:
FPGATrackSimLogicalEventOutputHeader.h:23
FPGATrackSimLogicalEventOutputHeader::reserveFPGATrackSimRoads_1st
void reserveFPGATrackSimRoads_1st(size_t size)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:24
FPGATrackSimLogicalEventOutputHeader::reset
void reset()
Definition:
FPGATrackSimLogicalEventOutputHeader.cxx:12
FPGATrackSimLogicalEventOutputHeader::nFPGATrackSimRoads_2nd
size_t nFPGATrackSimRoads_2nd() const
Definition:
FPGATrackSimLogicalEventOutputHeader.h:30
operator<<
std::ostream & operator<<(std::ostream &s, FPGATrackSimLogicalEventOutputHeader const &h)
Definition:
FPGATrackSimLogicalEventOutputHeader.cxx:20
FPGATrackSimLogicalEventOutputHeader::ClassDefNV
ClassDefNV(FPGATrackSimLogicalEventOutputHeader, 5)
FPGATrackSimLogicalEventOutputHeader::nFPGATrackSimTracks_2nd
size_t nFPGATrackSimTracks_2nd() const
Definition:
FPGATrackSimLogicalEventOutputHeader.h:42
FPGATrackSimLogicalEventOutputHeader::getDataFlowInfo
FPGATrackSimDataFlowInfo const & getDataFlowInfo() const
Definition:
FPGATrackSimLogicalEventOutputHeader.h:47
python.setupRTTAlg.size
int size
Definition:
setupRTTAlg.py:39
FPGATrackSimLogicalEventOutputHeader::getFPGATrackSimRoads_2nd
void getFPGATrackSimRoads_2nd(std::vector< std::shared_ptr< const FPGATrackSimRoad >> &roads_2nd)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:28
FPGATrackSimLogicalEventOutputHeader::addFPGATrackSimTracks_2nd
void addFPGATrackSimTracks_2nd(std::vector< FPGATrackSimTrack > const &tracks_2nd)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:44
FPGATrackSimDataFlowInfo
Definition:
FPGATrackSimDataFlowInfo.h:18
FPGATrackSimLogicalEventOutputHeader::reserveFPGATrackSimTracks_1st
void reserveFPGATrackSimTracks_1st(size_t size)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:37
FPGATrackSimLogicalEventOutputHeader::getFPGATrackSimRoads_1st
void getFPGATrackSimRoads_1st(std::vector< std::shared_ptr< const FPGATrackSimRoad >> &roads_1st)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:21
FPGATrackSimLogicalEventOutputHeader::addFPGATrackSimRoads_1st
void addFPGATrackSimRoads_1st(const std::vector< std::shared_ptr< const FPGATrackSimRoad >> &roads_1st)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:25
FPGATrackSimDataFlowInfo.h
Structs that store the data flow information per event.
FPGATrackSimLogicalEventOutputHeader::getFPGATrackSimTracks_1st
std::vector< FPGATrackSimTrack > const & getFPGATrackSimTracks_1st() const
Definition:
FPGATrackSimLogicalEventOutputHeader.h:35
FPGATrackSimLogicalEventOutputHeader::getFPGATrackSimRoads_2nd
const std::vector< FPGATrackSimRoad > & getFPGATrackSimRoads_2nd() const
Definition:
FPGATrackSimLogicalEventOutputHeader.h:29
FPGATrackSimLogicalEventOutputHeader::m_FPGATrackSimTracks_2nd
std::vector< FPGATrackSimTrack > m_FPGATrackSimTracks_2nd
Definition:
FPGATrackSimLogicalEventOutputHeader.h:55
FPGATrackSimLogicalEventOutputHeader::setDataFlowInfo
void setDataFlowInfo(FPGATrackSimDataFlowInfo const &info)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:48
FPGATrackSimLogicalEventOutputHeader::m_dataflowInfo
FPGATrackSimDataFlowInfo m_dataflowInfo
Definition:
FPGATrackSimLogicalEventOutputHeader.h:57
FPGATrackSimLogicalEventOutputHeader::m_FPGATrackSimRoads_2nd
std::vector< FPGATrackSimRoad > m_FPGATrackSimRoads_2nd
Definition:
FPGATrackSimLogicalEventOutputHeader.h:53
FPGATrackSimLogicalEventOutputHeader::addFPGATrackSimTracks_1st
void addFPGATrackSimTracks_1st(std::vector< FPGATrackSimTrack > const &tracks_1st)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:38
FPGATrackSimLogicalEventOutputHeader::reserveFPGATrackSimTracks_2nd
void reserveFPGATrackSimTracks_2nd(size_t size)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:43
h
FPGATrackSimLogicalEventOutputHeader
Definition:
FPGATrackSimLogicalEventOutputHeader.h:12
FPGATrackSimRoad.h
Defines a class for roads.
FPGATrackSimLogicalEventOutputHeader::reserveFPGATrackSimRoads_2nd
void reserveFPGATrackSimRoads_2nd(size_t size)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:31
FPGATrackSimLogicalEventOutputHeader::addFPGATrackSimRoads_2nd
void addFPGATrackSimRoads_2nd(const std::vector< std::shared_ptr< const FPGATrackSimRoad >> &roads_2nd)
Definition:
FPGATrackSimLogicalEventOutputHeader.h:32
FPGATrackSimTypes.h
FPGATrackSimLogicalEventOutputHeader::nFPGATrackSimTracks_1st
size_t nFPGATrackSimTracks_1st() const
Definition:
FPGATrackSimLogicalEventOutputHeader.h:36
FPGATrackSimLogicalEventOutputHeader::FPGATrackSimLogicalEventOutputHeader
FPGATrackSimLogicalEventOutputHeader()
Definition:
FPGATrackSimLogicalEventOutputHeader.h:15
FPGATrackSimLogicalEventOutputHeader::getFPGATrackSimTracks_2nd
std::vector< FPGATrackSimTrack > const & getFPGATrackSimTracks_2nd() const
Definition:
FPGATrackSimLogicalEventOutputHeader.h:41
FPGATrackSimTrack.h
FPGATrackSimLogicalEventOutputHeader::getFPGATrackSimRoads_1st
const std::vector< FPGATrackSimRoad > & getFPGATrackSimRoads_1st() const
Definition:
FPGATrackSimLogicalEventOutputHeader.h:22
Generated on Sun Jan 12 2025 21:10:30 for ATLAS Offline Software by
1.8.18