Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Functions
FPGATrackSimOfflineTrack.h File Reference
#include "FPGATrackSimObjects/FPGATrackSimOfflineHit.h"
#include <cmath>
#include <TObject.h>
Include dependency graph for FPGATrackSimOfflineTrack.h:

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 14 of file FPGATrackSimOfflineTrack.cxx.

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