CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/L1Trigger/DTTrackFinder/src/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::TSQuality &quality)
ostream & operator<< (ostream &s, const L1MuDTTrackSegPhi &id)

Function Documentation

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

Definition at line 196 of file L1MuDTTrackSegPhi.cc.

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

                                                                           {

  switch (quality) {
    case L1MuDTTrackSegPhi::Li   : return s << "Li ";
    case L1MuDTTrackSegPhi::Lo   : return s << "Lo ";
    case L1MuDTTrackSegPhi::Hi   : return s << "Hi ";
    case L1MuDTTrackSegPhi::Ho   : return s << "Ho ";
    case L1MuDTTrackSegPhi::LL   : return s << "LL ";
    case L1MuDTTrackSegPhi::HL   : return s << "HL ";
    case L1MuDTTrackSegPhi::HH   : return s << "HH ";
    case L1MuDTTrackSegPhi::Null : return s << "Null ";
    default :
      return s << "unknown TS phi Quality ";
  }

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

Definition at line 217 of file L1MuDTTrackSegPhi.cc.

References alignCSCRings::s.

                                                             {

  s.setf(ios::right,ios::adjustfield);
  s << (id.m_location) << "\t" 
    << "phi : "     << setw(5) << id.m_phi  << "  "
    << "phib : "    << setw(4) << id.m_phib << "  "
    << "quality : " << setw(4) << id.m_quality; 

  return s;

}