CMS 3D CMS Logo

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

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

179  {
180  switch (quality) {
182  return s << "Li ";
184  return s << "Lo ";
186  return s << "Hi ";
188  return s << "Ho ";
190  return s << "LL ";
192  return s << "HL ";
194  return s << "HH ";
196  return s << "Null ";
197  default:
198  return s << "unknown TS phi Quality ";
199  }
200 }
uint32_t const *__restrict__ Quality * quality
ostream& operator<< ( ostream &  s,
const L1MuBMTrackSegPhi id 
)

Definition at line 205 of file L1MuBMTrackSegPhi.cc.

References alignCSCRings::s.

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