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

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

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
FPGATrackSimOfflineTrack::getPt
double getPt() const
Definition: FPGATrackSimOfflineTrack.h:25
FPGATrackSimOfflineTrack::getZ0
double getZ0() const
Definition: FPGATrackSimOfflineTrack.h:29
FPGATrackSimOfflineTrack::getEta
double getEta() const
Definition: FPGATrackSimOfflineTrack.h:26
FPGATrackSimOfflineTrack::getPhi
double getPhi() const
Definition: FPGATrackSimOfflineTrack.h:27
FPGATrackSimOfflineTrack::getBarcode
unsigned long getBarcode() const
Definition: FPGATrackSimOfflineTrack.h:31
FPGATrackSimOfflineTrack::getQOverPt
double getQOverPt() const
Definition: FPGATrackSimOfflineTrack.h:30
FPGATrackSimOfflineTrack::nHits
int nHits() const
Definition: FPGATrackSimOfflineTrack.h:36
FPGATrackSimOfflineTrack::getOfflineHits
const std::vector< FPGATrackSimOfflineHit > & getOfflineHits() const
Definition: FPGATrackSimOfflineTrack.h:35
FPGATrackSimOfflineTrack::getD0
double getD0() const
Definition: FPGATrackSimOfflineTrack.h:28
FPGATrackSimOfflineTrack::getBarcodeFrac
double getBarcodeFrac() const
Definition: FPGATrackSimOfflineTrack.h:32