ATLAS Offline Software
Classes | Functions
FPGATrackSimOfflineTrack.h File Reference
#include "FPGATrackSimObjects/FPGATrackSimOfflineHit.h"
#include <cmath>
#include <TObject.h>
Include dependency graph for FPGATrackSimOfflineTrack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FPGATrackSimOfflineTrack
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 15 of file FPGATrackSimOfflineTrack.cxx.

15  {
16 
17  s << "pt: " << offline_t.getPt() << ", "
18  << "eta: " << offline_t.getEta() << ", "
19  << "phi: " << offline_t.getPhi() << ", "
20  << "d0: " << offline_t.getD0() << ", "
21  << "z0: " << offline_t.getZ0() << ", "
22  << "qoverpt: " << offline_t.getQOverPt() << ", "
23  << "barcode: " << offline_t.getBarcode() << ", "
24  << "barcode fraction: " << offline_t.getBarcodeFrac() << std::endl;
25 
26  std::vector<FPGATrackSimOfflineHit> hits = offline_t.getOfflineHits();
27  for (int j = 0; j < offline_t.nHits(); j++) {
28  s << " " << j << " " << hits[j] << "\n";
29  }
30  s << std::endl;
31 
32  return s;
33 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
LArG4ShowerLibProcessing.hits
hits
Definition: LArG4ShowerLibProcessing.py:136