ATLAS Offline Software
Classes | Namespaces | Functions
TRT_EndcapCode.h File Reference
#include <iostream>
#include <string>
Include dependency graph for TRT_EndcapCode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  InDetDD::TRT_EndcapCode
 

Namespaces

 InDetDD
 Message Stream Member.
 

Functions

std::ostream & operator<< (std::ostream &os, const InDetDD::TRT_EndcapCode &code)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const InDetDD::TRT_EndcapCode code 
)
inline

Definition at line 127 of file TRT_EndcapCode.h.

127  {
128  // Plus/minus
129  if (code.isPosZ()) os << '+';
130  else os << '-';
131  // Wheel
132  unsigned int wheel = code.getWheelIndex();
133  os << wheel << "/";
134  // StrawLayer:
135  os << code.getStrawLayerIndex()<< "/";
136  // Phi
137  os << code.getPhiIndex();
138  return os;
139 }
histSizes.code
code
Definition: histSizes.py:129
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231