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"
#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(), 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 }
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