test
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 194 of file L1MuDTTrackSegPhi.cc.

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

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

Definition at line 215 of file L1MuDTTrackSegPhi.cc.

References alignCSCRings::s.

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