CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DataFormats/L1GlobalMuonTrigger/src/L1MuGMTCand.cc File Reference

#include "DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTCand.h"
#include <iostream>
#include <iomanip>
#include <cmath>
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 203 of file L1MuGMTCand.cc.

References relativeConstraints::empty, and asciidump::s.

                                                       {

  if ( !id.empty() ) {
    s << setiosflags(ios::showpoint | ios::fixed) 
      << "bx = " << setw(2) << id.bx() << "  "
      << "pt = "  << setw(5) << setprecision(1) << id.ptValue() << " GeV  "
      << "charge = " << setw(2) << id.charge() << "  " 
      << "eta = " << setw(5) << setprecision(2) << id.etaValue() << "  " 
      << "phi = " << setw(5) << setprecision(3) << id.phiValue() << " rad  "
      << "quality = " << setw(1) << id.quality() << "  "
      << "isolated = " << setw(1) << id.isol() << "  "
      << "mip = " << setw(1) << id.mip() << "  ";
  }
  return s;

}