CMS 3D CMS Logo

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

◆ operator<<()

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

Definition at line 173 of file L1MuGMTCand.cc.

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

173  {
174  if (!id.empty()) {
175  s << setiosflags(ios::showpoint | ios::fixed) << "bx = " << setw(2) << id.bx() << " "
176  << "pt = " << setw(5) << setprecision(1) << id.ptValue() << " GeV "
177  << "charge = " << setw(2) << id.charge() << " "
178  << "eta = " << setw(5) << setprecision(2) << id.etaValue() << " "
179  << "phi = " << setw(5) << setprecision(3) << id.phiValue() << " rad "
180  << "quality = " << setw(1) << id.quality() << " "
181  << "isolated = " << setw(1) << id.isol() << " "
182  << "mip = " << setw(1) << id.mip() << " ";
183  }
184  return s;
185 }