ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimRoad.cxx File Reference

Defines a class for roads. More...

Include dependency graph for FPGATrackSimRoad.cxx:

Go to the source code of this file.

Functions

ostreamoperator<< (std::ostream &os, const FPGATrackSimRoad &road)

Detailed Description

Defines a class for roads.

Author
Riley Xu - riley.nosp@m..xu@.nosp@m.cern..nosp@m.ch
Date
January 13th, 2020

Definition in file FPGATrackSimRoad.cxx.

Function Documentation

◆ operator<<()

ostream & operator<< ( std::ostream & os,
const FPGATrackSimRoad & road )

Definition at line 149 of file FPGATrackSimRoad.cxx.

150{
151 os << "road " << road.m_roadID
152 << ": PID " << road.m_pid
153 << ", sector " << road.m_sector
154 << " hitLayers " << std::showbase << std::hex << road.m_hit_layers
155 << " wcLayers " << std::showbase << std::hex << road.m_wildcard_layers
156 << ", nHits " << road.getNHits();
157 /*
158 for (size_t l=0; l < road.m_hits.size(); l++)
159 {
160 for (FPGATrackSimHit const * hit : road.m_hits[l])
161 os << "\n\t" << *hit;
162 }
163 */
164
165 return os;
166}
layer_bitmask_t m_wildcard_layers
size_t getNHits() const
layer_bitmask_t m_hit_layers