ATLAS Offline Software
Trigger
EFTracking
FPGATrackSim
FPGATrackSimObjects
src
FPGATrackSimLogicalEventInputHeader.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
FPGATrackSimObjects/FPGATrackSimLogicalEventInputHeader.h
"
6
7
8
9
10
void
FPGATrackSimLogicalEventInputHeader::reset
()
11
{
12
m_event
.
reset
();
13
m_optional
.
reset
();
14
m_towers
.clear();
15
}
16
17
18
std::ostream&
operator<<
(std::ostream&
s
,
const
FPGATrackSimLogicalEventInputHeader
&
h
)
19
{
20
s
<<
"Event: "
<<
h
.event() <<
"\t"
21
<<
"Optional: "
<<
h
.optional() <<
"\t"
22
<<
"NTowers: "
<<
h
.nTowers() <<
"\n"
;
23
24
const
std::vector<FPGATrackSimTowerInputHeader>&
towers
=
h
.towers();
25
for
(
int
j = 0; j <
h
.nTowers(); j++)
26
{
27
s
<<
" "
<< j <<
" "
<<
towers
[j] <<
"\n"
;
28
}
29
s
<< std::endl;
30
31
return
s
;
32
}
33
FPGATrackSimLogicalEventInputHeader
Definition:
FPGATrackSimLogicalEventInputHeader.h:21
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
FPGATrackSimEventInfo::reset
void reset()
Definition:
FPGATrackSimEventInfo.cxx:15
FPGATrackSimLogicalEventInputHeader::m_towers
std::vector< FPGATrackSimTowerInputHeader > m_towers
Definition:
FPGATrackSimLogicalEventInputHeader.h:46
FPGATrackSimOptionalEventInfo::reset
void reset()
Definition:
FPGATrackSimOptionalEventInfo.cxx:13
operator<<
std::ostream & operator<<(std::ostream &s, const FPGATrackSimLogicalEventInputHeader &h)
Definition:
FPGATrackSimLogicalEventInputHeader.cxx:18
FPGATrackSimLogicalEventInputHeader::m_optional
FPGATrackSimOptionalEventInfo m_optional
Definition:
FPGATrackSimLogicalEventInputHeader.h:45
FPGATrackSimLogicalEventInputHeader::reset
void reset()
Definition:
FPGATrackSimLogicalEventInputHeader.cxx:10
h
RunTileMonitoring.towers
towers
Definition:
RunTileMonitoring.py:133
FPGATrackSimLogicalEventInputHeader.h
FPGATrackSimLogicalEventInputHeader::m_event
FPGATrackSimEventInfo m_event
Definition:
FPGATrackSimLogicalEventInputHeader.h:44
Generated on Thu Mar 13 2025 21:10:51 for ATLAS Offline Software by
1.8.18