CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 196 of file L1MuDTTrackSegPhi.cc.

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

196  {
197 
198  switch (quality) {
199  case L1MuDTTrackSegPhi::Li : return s << "Li ";
200  case L1MuDTTrackSegPhi::Lo : return s << "Lo ";
201  case L1MuDTTrackSegPhi::Hi : return s << "Hi ";
202  case L1MuDTTrackSegPhi::Ho : return s << "Ho ";
203  case L1MuDTTrackSegPhi::LL : return s << "LL ";
204  case L1MuDTTrackSegPhi::HL : return s << "HL ";
205  case L1MuDTTrackSegPhi::HH : return s << "HH ";
206  case L1MuDTTrackSegPhi::Null : return s << "Null ";
207  default :
208  return s << "unknown TS phi Quality ";
209  }
210 
211 }
ostream& operator<< ( ostream &  s,
const L1MuDTTrackSegPhi id 
)

Definition at line 217 of file L1MuDTTrackSegPhi.cc.

References alignCSCRings::s.

217  {
218 
219  s.setf(ios::right,ios::adjustfield);
220  s << (id.m_location) << "\t"
221  << "phi : " << setw(5) << id.m_phi << " "
222  << "phib : " << setw(4) << id.m_phib << " "
223  << "quality : " << setw(4) << id.m_quality;
224 
225  return s;
226 
227 }