ATLAS Offline Software
Functions
FPGATrackSimRoad.cxx File Reference

Defines a class for roads. More...

#include <vector>
#include "FPGATrackSimObjects/FPGATrackSimRoad.h"
#include "FPGATrackSimObjects/FPGATrackSimConstants.h"
Include dependency graph for FPGATrackSimRoad.cxx:

Go to the source code of this file.

Functions

ostream & operator<< (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 146 of file FPGATrackSimRoad.cxx.

147 {
148  os << "road " << road.m_roadID
149  << ": PID " << road.m_pid
150  << ", sector " << road.m_sector
151  << " hitLayers " << std::showbase << std::hex << road.m_hit_layers
152  << " wcLayers " << std::showbase << std::hex << road.m_wildcard_layers
153  << ", nHits " << road.getNHits();
154  /*
155  for (size_t l=0; l < road.m_hits.size(); l++)
156  {
157  for (FPGATrackSimHit const * hit : road.m_hits[l])
158  os << "\n\t" << *hit;
159  }
160  */
161 
162  return os;
163 }
FPGATrackSimRoad::m_pid
pid_t m_pid
Definition: FPGATrackSimRoad.h:121
FPGATrackSimRoad::m_wildcard_layers
layer_bitmask_t m_wildcard_layers
Definition: FPGATrackSimRoad.h:126
FPGATrackSimRoad::getNHits
size_t getNHits() const
Definition: FPGATrackSimRoad.cxx:20
FPGATrackSimRoad::m_hit_layers
layer_bitmask_t m_hit_layers
Definition: FPGATrackSimRoad.h:125
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
FPGATrackSimRoad::m_roadID
int m_roadID
Definition: FPGATrackSimRoad.h:120
FPGATrackSimRoad::m_sector
sector_t m_sector
Definition: FPGATrackSimRoad.h:122