ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimOfflineTrack.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include <iostream>
7
8
13
14std::ostream& operator<<(std::ostream& s, const FPGATrackSimOfflineTrack& offline_t) {
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}
std::ostream & operator<<(std::ostream &s, const FPGATrackSimOfflineTrack &offline_t)
const std::vector< FPGATrackSimOfflineHit > & getOfflineHits() const