CMS 3D CMS Logo

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 &id)
 
ostream & operator<< (ostream &s, const L1MuBMTrackSegPhi::TSQuality &quality)
 

Function Documentation

◆ operator<<() [1/2]

ostream& operator<< ( ostream &  s,
const L1MuBMTrackSegPhi id 
)

Definition at line 205 of file L1MuBMTrackSegPhi.cc.

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 }

References alignCSCRings::s.

◆ operator<<() [2/2]

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

Definition at line 179 of file L1MuBMTrackSegPhi.cc.

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 }

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

L1MuBMTrackSegPhi::HL
Definition: L1MuBMTrackSegPhi.h:44
L1MuBMTrackSegPhi::Li
Definition: L1MuBMTrackSegPhi.h:44
L1MuBMTrackSegPhi::Ho
Definition: L1MuBMTrackSegPhi.h:44
L1MuBMTrackSegPhi::Null
Definition: L1MuBMTrackSegPhi.h:44
L1MuBMTrackSegPhi::LL
Definition: L1MuBMTrackSegPhi.h:44
quality
const uint32_t *__restrict__ Quality * quality
Definition: CAHitNtupletGeneratorKernelsImpl.h:122
alignCSCRings.s
s
Definition: alignCSCRings.py:92
L1MuBMTrackSegPhi::HH
Definition: L1MuBMTrackSegPhi.h:44
L1MuBMTrackSegPhi::Lo
Definition: L1MuBMTrackSegPhi.h:44
L1MuBMTrackSegPhi::Hi
Definition: L1MuBMTrackSegPhi.h:44