CMS 3D CMS Logo

Functions
L1MuDTTrackSegPhi.cc File Reference
#include "L1Trigger/DTTrackFinder/src/L1MuDTTrackSegPhi.h"
#include <iostream>
#include <iomanip>
#include <cmath>
#include "L1Trigger/DTTrackFinder/src/L1MuDTTrackSegLoc.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<() [1/2]

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

Definition at line 202 of file L1MuDTTrackSegPhi.cc.

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

References alignCSCRings::s.

◆ operator<<() [2/2]

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

Definition at line 176 of file L1MuDTTrackSegPhi.cc.

176  {
177  switch (quality) {
179  return s << "Li ";
181  return s << "Lo ";
183  return s << "Hi ";
185  return s << "Ho ";
187  return s << "LL ";
189  return s << "HL ";
191  return s << "HH ";
193  return s << "Null ";
194  default:
195  return s << "unknown TS phi Quality ";
196  }
197 }

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

L1MuDTTrackSegPhi::Null
Definition: L1MuDTTrackSegPhi.h:39
L1MuDTTrackSegPhi::Lo
Definition: L1MuDTTrackSegPhi.h:39
alignCSCRings.s
s
Definition: alignCSCRings.py:92
L1MuDTTrackSegPhi::LL
Definition: L1MuDTTrackSegPhi.h:39
L1MuDTTrackSegPhi::HL
Definition: L1MuDTTrackSegPhi.h:39
L1MuDTTrackSegPhi::Ho
Definition: L1MuDTTrackSegPhi.h:39
qcdUeDQM_cfi.quality
quality
Definition: qcdUeDQM_cfi.py:31
L1MuDTTrackSegPhi::Li
Definition: L1MuDTTrackSegPhi.h:39
L1MuDTTrackSegPhi::Hi
Definition: L1MuDTTrackSegPhi.h:39
L1MuDTTrackSegPhi::HH
Definition: L1MuDTTrackSegPhi.h:39