ATLAS Offline Software
Classes | Functions
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 &  ,
const FPGATrackSimEventInputHeader  
)

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