CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
L1MuDTTrackSegPhi.cc File Reference
#include "L1Trigger/DTTrackFinder/interface/L1MuDTTrackSegPhi.h"
#include <iostream>
#include <iomanip>
#include <cmath>
#include "L1Trigger/DTTrackFinder/interface/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 178 of file L1MuDTTrackSegPhi.cc.

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

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

Definition at line 204 of file L1MuDTTrackSegPhi.cc.

References alignCSCRings::s.

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