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.

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 }

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

mps_fire.i
i
Definition: mps_fire.py:428
HcalUMNioDigi::eventType
uint8_t eventType() const
Definition: HcalUMNioDigi.cc:35
HcalUMNioDigi::idUserWord
uint16_t idUserWord(int iword) const
Definition: HcalUMNioDigi.cc:57
HcalUMNioDigi::bunchNumber
uint16_t bunchNumber() const
Definition: HcalUMNioDigi.cc:24
HcalUMNioDigi::orbitNumber
uint32_t orbitNumber() const
Definition: HcalUMNioDigi.cc:19
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HcalUMNioDigi::valueUserWord
uint32_t valueUserWord(int iword) const
Definition: HcalUMNioDigi.cc:62
HcalUMNioDigi::numberUserWords
int numberUserWords() const
Definition: HcalUMNioDigi.cc:51
HcalUMNioDigi::eventNumber
uint32_t eventNumber() const
Definition: HcalUMNioDigi.cc:29
HcalUMNioDigi::runNumber
uint32_t runNumber() const
Definition: HcalUMNioDigi.cc:13