CMS 3D CMS Logo

Functions
TotemFramePosition.cc File Reference
#include "CondFormats/CTPPSReadoutObjects/interface/TotemFramePosition.h"
#include <iomanip>
#include <cstdlib>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const TotemFramePosition &fp)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const TotemFramePosition fp 
)

Condensed representation of the DAQ channel. prints 5-digit hex number, the digits correspond to SubSystem, TOTFED ID, OptoRx ID, GOH ID, index within fiber in this order

Definition at line 18 of file TotemFramePosition.cc.

References TotemFramePosition::getFEDId(), TotemFramePosition::getGOHId(), and TotemFramePosition::getIdxInFiber().

19 {
20  return s
21  << fp.getFEDId() << ":"
22  << fp.getGOHId() << ":"
23  << fp.getIdxInFiber();
24 }
unsigned short getFEDId() const
recomended getters and setters
unsigned short getIdxInFiber() const
unsigned short getGOHId() const