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