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 204 of file L1MuDTTrackSegPhi.cc.

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

References alignCSCRings::s.

◆ operator<<() [2/2]

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

Definition at line 178 of file L1MuDTTrackSegPhi.cc.

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

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

L1MuDTTrackSegPhi::Null
Definition: L1MuDTTrackSegPhi.h:39
L1MuDTTrackSegPhi::Lo
Definition: L1MuDTTrackSegPhi.h:39
quality
const uint32_t *__restrict__ Quality * quality
Definition: CAHitNtupletGeneratorKernelsImpl.h:109
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
L1MuDTTrackSegPhi::Li
Definition: L1MuDTTrackSegPhi.h:39
L1MuDTTrackSegPhi::Hi
Definition: L1MuDTTrackSegPhi.h:39
L1MuDTTrackSegPhi::HH
Definition: L1MuDTTrackSegPhi.h:39