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
ClassImp
(
FPGATrackSimLogicalEventInputHeader
)
9
10
11
void
FPGATrackSimLogicalEventInputHeader::reset
()
12
{
13
m_event
.
reset
();
14
m_optional
.
reset
();
15
m_towers
.clear();
16
}
17
18
19
std::ostream&
operator<<
(std::ostream&
s
,
const
FPGATrackSimLogicalEventInputHeader
&
h
)
20
{
21
s
<<
"Event: "
<<
h
.event() <<
"\t"
22
<<
"Optional: "
<<
h
.optional() <<
"\t"
23
<<
"NTowers: "
<<
h
.nTowers() <<
"\n"
;
24
25
const
std::vector<FPGATrackSimTowerInputHeader>&
towers
=
h
.towers();
26
for
(
int
j = 0; j <
h
.nTowers(); j++)
27
{
28
s
<<
" "
<< j <<
" "
<<
towers
[j] <<
"\n"
;
29
}
30
s
<< std::endl;
31
32
return
s
;
33
}
34
ClassImp
ClassImp(FPGATrackSimLogicalEventInputHeader) void FPGATrackSimLogicalEventInputHeader
Definition:
FPGATrackSimLogicalEventInputHeader.cxx:8
FPGATrackSimLogicalEventInputHeader
Definition:
FPGATrackSimLogicalEventInputHeader.h:21
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
FPGATrackSimEventInfo::reset
void reset()
Definition:
FPGATrackSimEventInfo.cxx:16
FPGATrackSimLogicalEventInputHeader::m_towers
std::vector< FPGATrackSimTowerInputHeader > m_towers
Definition:
FPGATrackSimLogicalEventInputHeader.h:46
FPGATrackSimOptionalEventInfo::reset
void reset()
Definition:
FPGATrackSimOptionalEventInfo.cxx:14
operator<<
std::ostream & operator<<(std::ostream &s, const FPGATrackSimLogicalEventInputHeader &h)
Definition:
FPGATrackSimLogicalEventInputHeader.cxx:19
FPGATrackSimLogicalEventInputHeader::m_optional
FPGATrackSimOptionalEventInfo m_optional
Definition:
FPGATrackSimLogicalEventInputHeader.h:45
FPGATrackSimLogicalEventInputHeader::reset
void reset()
h
RunTileMonitoring.towers
towers
Definition:
RunTileMonitoring.py:133
FPGATrackSimLogicalEventInputHeader.h
FPGATrackSimLogicalEventInputHeader::m_event
FPGATrackSimEventInfo m_event
Definition:
FPGATrackSimLogicalEventInputHeader.h:44
Generated on Tue Jul 2 2024 21:15:53 for ATLAS Offline Software by
1.8.18