ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7
8
9
11{
12 m_optional.reset();
13 m_towers.clear();
14}
15
16
17std::ostream& operator<<(std::ostream& s, const FPGATrackSimLogicalEventInputHeader& h)
18{
19 s << "Event: " << h.event() << "\t"
20 << "Optional: " << h.optional() << "\t"
21 << "NTowers: " << h.nTowers() << "\n";
22
23 const std::vector<FPGATrackSimTowerInputHeader>& towers = h.towers();
24 for (int j = 0; j < h.nTowers(); j++)
25 {
26 s << " " << j << " " << towers[j] << "\n";
27 }
28 s << std::endl;
29
30 return s;
31}
32
std::ostream & operator<<(std::ostream &s, const FPGATrackSimLogicalEventInputHeader &h)
Header file for AthHistogramAlgorithm.