CMS 3D CMS Logo

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(), L1MonitorDigi::sid(), L1MonitorDigi::value(), L1MonitorDigi::x1(), L1MonitorDigi::x2(), and L1MonitorDigi::x3().

00037                                                                 {
00038   s << "L1Mon "
00039     << " system: "  << std::setw(2) << mon.sid()
00040     << " (cid."        << std::setw(2) << mon.cid() << ")"
00041     << std::hex << std::setfill('0')
00042     << " location: " 
00043     << "(" << std::setw(5) << std::setprecision(2) << mon.x1() 
00044     << "," << std::setw(5) << std::setprecision(2) << mon.x2() 
00045     << "," << std::setw(5) << std::setprecision(2) << mon.x3() << ")"
00046     << " value: " << std::setw(5) << std::setprecision(2) << mon.value()
00047     << " word: " << std::setw(8) << mon.raw()   
00048     << std::dec << std::setfill(' ');
00049   return s;
00050 }


Generated on Tue Jun 9 17:52:13 2009 for CMSSW by  doxygen 1.5.4