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 23 of file FPGATrackSimEventInputHeader.cxx.

23  {
24  s << "Event: " << h.event() << "\t"
25  << "Optional: " << h.optional() << "\t"
26  << "Nhits=" << h.nHits();
27 
28  s << "\n";
29 
30  const std::vector<FPGATrackSimHit>& hits = h.hits();
31  for (int j = 0; j < h.nHits(); j++) {
32  s << " " << j << " " << hits[j] << "\n";
33  // if ( (j+1)%5==0 ) s << "\n";
34  }
35  //s <<"\n";
36 
37 
38  return s;
39 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
LArG4ShowerLibProcessing.hits
hits
Definition: LArG4ShowerLibProcessing.py:136
h