ATLAS Offline Software
Functions
FPGATrackSimEventInputHeader.cxx File Reference
#include "FPGATrackSimObjects/FPGATrackSimEventInputHeader.h"
#include <iostream>
Include dependency graph for FPGATrackSimEventInputHeader.cxx:

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 22 of file FPGATrackSimEventInputHeader.cxx.

22  {
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 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
TRTCalib_Extractor.hits
hits
Definition: TRTCalib_Extractor.py:35
h