CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
L1MonitorDigi.h File Reference
#include <ostream>
#include <string>
#include <utility>

Go to the source code of this file.

Classes

class  L1MonitorDigi
 

Functions

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

Function Documentation

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

Definition at line 37 of file L1MonitorDigi.cc.

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

37  {
38  s << "L1Mon "
39  << " system: " << std::setw(2) << mon.sid() << " (cid." << std::setw(2) << mon.cid() << ")" << std::hex
40  << std::setfill('0') << " location: "
41  << "(" << std::setw(5) << std::setprecision(2) << mon.x1() << "," << std::setw(5) << std::setprecision(2)
42  << mon.x2() << "," << std::setw(5) << std::setprecision(2) << mon.x3() << ")"
43  << " value: " << std::setw(5) << std::setprecision(2) << mon.value() << " word: " << std::setw(8) << mon.raw()
44  << std::dec << std::setfill(' ');
45  return s;
46 }