CMS 3D CMS Logo

Functions
L1MuBMTrackSegPhi.cc File Reference
#include "L1Trigger/L1TMuonBarrel/src/L1MuBMTrackSegPhi.h"
#include <iostream>
#include <iomanip>
#include <cmath>
#include "L1Trigger/L1TMuonBarrel/src/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

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

Definition at line 194 of file L1MuBMTrackSegPhi.cc.

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

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

Definition at line 215 of file L1MuBMTrackSegPhi.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 }