CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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 alignCSCRings::s.

203  {
204 
205  if ( !id.empty() ) {
206  s << setiosflags(ios::showpoint | ios::fixed)
207  << "bx = " << setw(2) << id.bx() << " "
208  << "pt = " << setw(5) << setprecision(1) << id.ptValue() << " GeV "
209  << "charge = " << setw(2) << id.charge() << " "
210  << "eta = " << setw(5) << setprecision(2) << id.etaValue() << " "
211  << "phi = " << setw(5) << setprecision(3) << id.phiValue() << " rad "
212  << "quality = " << setw(1) << id.quality() << " "
213  << "isolated = " << setw(1) << id.isol() << " "
214  << "mip = " << setw(1) << id.mip() << " ";
215  }
216  return s;
217 
218 }