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().

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