CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
HcalUMNioDigi.cc File Reference
#include "DataFormats/HcalDigi/interface/HcalUMNioDigi.h"

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 78 of file HcalUMNioDigi.cc.

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

78  {
79  s << "HcalUMNioDigi orbit/bunch " << digi.orbitNumber() << "/" << digi.bunchNumber() << std::endl;
80  s << " run/l1a " << digi.runNumber() << "/" << digi.eventNumber() << std::endl;
81  s << " eventType " << digi.eventType() << std::endl;
82  for (int i=0; i<digi.numberUserWords(); i++)
83  s << " id=" << digi.idUserWord(i) << " value="<< digi.valueUserWord(i) << std::endl;
84  return s;
85 }
int i
Definition: DBlmapReader.cc:9
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