CMS 3D CMS Logo

Functions
L1MuDTTrackSegPhi.cc File Reference
#include "L1Trigger/DTTrackFinder/src/L1MuDTTrackSegPhi.h"
#include <iostream>
#include <iomanip>
#include <cmath>
#include "L1Trigger/DTTrackFinder/src/L1MuDTTrackSegLoc.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 176 of file L1MuDTTrackSegPhi.cc.

References L1MuDTTrackSegPhi::HH, L1MuDTTrackSegPhi::Hi, L1MuDTTrackSegPhi::HL, L1MuDTTrackSegPhi::Ho, L1MuDTTrackSegPhi::Li, L1MuDTTrackSegPhi::LL, L1MuDTTrackSegPhi::Lo, and L1MuDTTrackSegPhi::Null.

176  {
177  switch (quality) {
179  return s << "Li ";
181  return s << "Lo ";
183  return s << "Hi ";
185  return s << "Ho ";
187  return s << "LL ";
189  return s << "HL ";
191  return s << "HH ";
193  return s << "Null ";
194  default:
195  return s << "unknown TS phi Quality ";
196  }
197 }
ostream& operator<< ( ostream &  s,
const L1MuDTTrackSegPhi id 
)

Definition at line 202 of file L1MuDTTrackSegPhi.cc.

References alignCSCRings::s.

202  {
203  s.setf(ios::right, ios::adjustfield);
204  s << (id.m_location) << "\t"
205  << "phi : " << setw(5) << id.m_phi << " "
206  << "phib : " << setw(4) << id.m_phib << " "
207  << "quality : " << setw(4) << id.m_quality;
208 
209  return s;
210 }