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

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

Definition at line 81 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().

81  {
82  s << "HcalUMNioDigi orbit/bunch " << digi.orbitNumber() << "/" << digi.bunchNumber() << std::endl;
83  s << " run/l1a " << digi.runNumber() << "/" << digi.eventNumber() << std::endl;
84  s << " eventType " << digi.eventType() << std::endl;
85  for (int i=0; i<digi.numberUserWords(); i++)
86  s << " id=" << digi.idUserWord(i) << " value="<< digi.valueUserWord(i) << std::endl;
87  return s;
88 }
uint32_t eventNumber() const
uint32_t valueUserWord(int iword) const
uint8_t eventType() const
uint16_t bunchNumber() const
uint16_t idUserWord(int iword) const
uint32_t orbitNumber() const
int numberUserWords() const
uint32_t runNumber() const