ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimEventInputHeader.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#include <iostream>
7
8
13
15{
16 m_optional.reset();
17 m_Hits.clear();
18}
19
20
21std::ostream& operator<<(std::ostream& s, const FPGATrackSimEventInputHeader& h) {
22 s << "Event: " << h.event() << "\t"
23 << "Optional: " << h.optional() << "\t"
24 << "Nhits=" << h.nHits();
25
26 s << "\n";
27
28 const std::vector<FPGATrackSimHit>& hits = h.hits();
29 for (int j = 0; j < h.nHits(); j++) {
30 s << " " << j << " " << hits[j] << "\n";
31 // if ( (j+1)%5==0 ) s << "\n";
32 }
33 //s <<"\n";
34
35
36 return s;
37}
38
std::ostream & operator<<(std::ostream &s, const FPGATrackSimEventInputHeader &h)
Header file for AthHistogramAlgorithm.
FPGATrackSimOptionalEventInfo m_optional
std::vector< FPGATrackSimHit > m_Hits