CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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(), 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()
40  << " (cid." << std::setw(2) << mon.cid() << ")"
41  << std::hex << std::setfill('0')
42  << " location: "
43  << "(" << std::setw(5) << std::setprecision(2) << mon.x1()
44  << "," << std::setw(5) << std::setprecision(2) << mon.x2()
45  << "," << std::setw(5) << std::setprecision(2) << mon.x3() << ")"
46  << " value: " << std::setw(5) << std::setprecision(2) << mon.value()
47  << " word: " << std::setw(8) << mon.raw()
48  << std::dec << std::setfill(' ');
49  return s;
50 }
unsigned x2() const
Definition: L1MonitorDigi.h:33
unsigned sid() const
Definition: L1MonitorDigi.h:30
unsigned raw() const
Definition: L1MonitorDigi.h:35
unsigned x3() const
Definition: L1MonitorDigi.h:34
unsigned cid() const
Definition: L1MonitorDigi.h:31
unsigned value() const
Definition: L1MonitorDigi.h:36
unsigned x1() const
Definition: L1MonitorDigi.h:32