test
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 201 of file L1MuGMTCand.cc.

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

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