ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimEventInputHeader.h File Reference
#include <TObject.h>
#include <vector>
#include <iostream>
#include <sstream>
#include "FPGATrackSimObjects/FPGATrackSimHit.h"
#include "FPGATrackSimObjects/FPGATrackSimEventInfo.h"
#include "FPGATrackSimObjects/FPGATrackSimOptionalEventInfo.h"
Include dependency graph for FPGATrackSimEventInputHeader.h:

Go to the source code of this file.

Classes

class  FPGATrackSimEventInputHeader

Functions

std::ostream & operator<< (std::ostream &, const FPGATrackSimEventInputHeader &)

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & s,
const FPGATrackSimEventInputHeader & h )

Definition at line 21 of file FPGATrackSimEventInputHeader.cxx.

21 {
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}
Header file for AthHistogramAlgorithm.