CMS 3D CMS Logo

Functions
L1MuBMTrackSegPhi.cc File Reference
#include "DataFormats/L1TMuon/interface/L1MuBMTrackSegPhi.h"
#include <iostream>
#include <iomanip>
#include <cmath>
#include "DataFormats/L1TMuon/interface/BMTF/L1MuBMTrackSegLoc.h"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, const L1MuBMTrackSegPhi::TSQuality &quality)
 
ostream & operator<< (ostream &s, const L1MuBMTrackSegPhi &id)
 

Function Documentation

◆ operator<<() [1/2]

ostream& operator<< ( ostream &  s,
const L1MuBMTrackSegPhi::TSQuality quality 
)

Definition at line 156 of file L1MuBMTrackSegPhi.cc.

References L1MuBMTrackSegPhi::HH, L1MuBMTrackSegPhi::Hi, L1MuBMTrackSegPhi::HL, L1MuBMTrackSegPhi::Ho, L1MuBMTrackSegPhi::Li, L1MuBMTrackSegPhi::LL, L1MuBMTrackSegPhi::Lo, L1MuBMTrackSegPhi::Null, quality, and alignCSCRings::s.

156  {
157  switch (quality) {
159  return s << "Li ";
161  return s << "Lo ";
163  return s << "Hi ";
165  return s << "Ho ";
167  return s << "LL ";
169  return s << "HL ";
171  return s << "HH ";
173  return s << "Null ";
174  default:
175  return s << "unknown TS phi Quality ";
176  }
177 }
string quality

◆ operator<<() [2/2]

ostream& operator<< ( ostream &  s,
const L1MuBMTrackSegPhi id 
)

Definition at line 182 of file L1MuBMTrackSegPhi.cc.

References alignCSCRings::s.

182  {
183  s.setf(ios::right, ios::adjustfield);
184  s << (id.m_location) << "\t"
185  << "phi : " << setw(5) << id.m_phi << " "
186  << "phib : " << setw(4) << id.m_phib << " "
187  << "quality : " << setw(4) << id.m_quality;
188 
189  return s;
190 }