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 180 of file L1MuBMTrackSegPhi.cc.

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

180  {
181  switch (quality) {
183  return s << "Li ";
185  return s << "Lo ";
187  return s << "Hi ";
189  return s << "Ho ";
191  return s << "LL ";
193  return s << "HL ";
195  return s << "HH ";
197  return s << "Null ";
198  default:
199  return s << "unknown TS phi Quality ";
200  }
201 }
uint32_t const *__restrict__ Quality * quality
ostream& operator<< ( ostream &  s,
const L1MuBMTrackSegPhi id 
)

Definition at line 206 of file L1MuBMTrackSegPhi.cc.

References alignCSCRings::s.

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