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 159 of file FPGATrackSimRoad.cxx.

160{
161 os << "road " << road.m_roadID
162 << ": PID " << road.m_pid
163 << ", sector " << road.m_sector
164 << " hitLayers " << std::showbase << std::hex << road.m_hit_layers
165 << " wcLayers " << std::showbase << std::hex << road.m_wildcard_layers
166 << ", nHits " << road.getNHits();
167 /*
168 for (size_t l=0; l < road.m_hits.size(); l++)
169 {
170 for (FPGATrackSimHit const * hit : road.m_hits[l])
171 os << "\n\t" << *hit;
172 }
173 */
174
175 return os;
176}
layer_bitmask_t m_wildcard_layers
size_t getNHits() const
layer_bitmask_t m_hit_layers