CMS 3D CMS Logo

Functions
L1MuBMTrack.cc File Reference
#include "DataFormats/L1TMuon/interface/L1MuBMTrack.h"
#include <iostream>
#include <iomanip>
#include "DataFormats/L1TMuon/interface/BMTF/L1MuBMSecProcId.h"
#include "DataFormats/L1TMuon/interface/L1MuBMTrackSegPhi.h"
#include "DataFormats/L1TMuon/interface/L1MuBMTrackSegEta.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 308 of file L1MuBMTrack.cc.

References L1MuBMTrack::empty(), alignBH_cfg::fixed, and alignCSCRings::s.

308  {
309 
310  if ( !id.empty() ) {
311  s << setiosflags(ios::showpoint | ios::fixed)
312  << "pt = " << setw(3) << id.hwPt() << " "
313  << "charge = " << setw(2) << id.hwSign() << " "
314  << "eta = " << setw(2) << id.hwEta()
315  //<< " (" << setw(1) << id.finehalo_packed() << ") "
316  << "phi = " << setw(3) << id.hwPhi() << " "
317  << "quality = " << setw(1) << id.hwQual() << '\t'
318  << "bx = " << setw(2) << id.bx();
319  }
320  return s;
321 
322 }