CMS 3D CMS Logo

Functions
HcalUMNioDigi.cc File Reference
#include "DataFormats/HcalDigi/interface/HcalUMNioDigi.h"
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const HcalUMNioDigi &digi)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const HcalUMNioDigi digi 
)

Definition at line 90 of file HcalUMNioDigi.cc.

References HcalUMNioDigi::bunchNumber(), HcalUMNioDigi::eventNumber(), HcalUMNioDigi::eventType(), mps_fire::i, HcalUMNioDigi::idUserWord(), HcalUMNioDigi::numberUserWords(), HcalUMNioDigi::orbitNumber(), HcalUMNioDigi::runNumber(), alignCSCRings::s, and HcalUMNioDigi::valueUserWord().

90  {
91  s << "HcalUMNioDigi orbit/bunch " << digi.orbitNumber() << "/" << digi.bunchNumber() << std::endl;
92  s << " run/l1a " << digi.runNumber() << "/" << digi.eventNumber() << std::endl;
93  s << " eventType " << digi.eventType() << std::endl;
94  for (int i = 0; i < digi.numberUserWords(); i++)
95  s << " id=" << digi.idUserWord(i) << " value=" << digi.valueUserWord(i) << std::endl;
96  return s;
97 }
uint16_t idUserWord(int iword) const
uint16_t bunchNumber() const
int numberUserWords() const
uint32_t eventNumber() const
uint32_t valueUserWord(int iword) const
uint8_t eventType() const
uint32_t orbitNumber() const
uint32_t runNumber() const