CMS 3D CMS Logo

Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/DataFormats/L1Trigger/src/L1MonitorDigi.cc File Reference

#include "DataFormats/L1Trigger/interface/L1MonitorDigi.h"
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const L1MonitorDigi &mon)

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const L1MonitorDigi mon 
)

Definition at line 37 of file L1MonitorDigi.cc.

References L1MonitorDigi::cid(), L1MonitorDigi::raw(), alignCSCRings::s, L1MonitorDigi::sid(), L1MonitorDigi::value(), L1MonitorDigi::x1(), L1MonitorDigi::x2(), and L1MonitorDigi::x3().

                                                                {
  s << "L1Mon "
    << " system: "  << std::setw(2) << mon.sid()
    << " (cid."        << std::setw(2) << mon.cid() << ")"
    << std::hex << std::setfill('0')
    << " location: " 
    << "(" << std::setw(5) << std::setprecision(2) << mon.x1() 
    << "," << std::setw(5) << std::setprecision(2) << mon.x2() 
    << "," << std::setw(5) << std::setprecision(2) << mon.x3() << ")"
    << " value: " << std::setw(5) << std::setprecision(2) << mon.value()
    << " word: " << std::setw(8) << mon.raw()   
    << std::dec << std::setfill(' ');
  return s;
}