ATLAS Offline Software
Loading...
Searching...
No Matches
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}
const std::vector< FPGATrackSimOfflineHit > & getOfflineHits() const