CMS 3D CMS Logo

Classes | Functions
HODataFrame.h File Reference
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/HcalDetId/interface/HcalElectronicsId.h"
#include "DataFormats/HcalDigi/interface/HcalQIESample.h"
#include <ostream>

Go to the source code of this file.

Classes

class  HODataFrame
 

Functions

std::ostream & operator<< (std::ostream &, const HODataFrame &)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ,
const HODataFrame  
)

Definition at line 3 of file HODataFrame.cc.

3  {
4  s << digi.id() << " " << digi.size() << " samples " << digi.presamples() << " presamples ";
5  if (digi.zsUnsuppressed())
6  s << " zsUS ";
7  if (digi.zsMarkAndPass())
8  s << " zsM&P ";
9  if (digi.fiberIdleOffset() != 0) {
10  if (digi.fiberIdleOffset() == -1000)
11  s << " nofiberOffset";
12  else
13  s << " fiberOffset=" << digi.fiberIdleOffset();
14  }
15  s << std::endl;
16  for (int i = 0; i < digi.size(); i++)
17  s << " " << digi.sample(i) << std::endl;
18  return s;
19 }

References HODataFrame::fiberIdleOffset(), mps_fire::i, HODataFrame::id(), HODataFrame::presamples(), alignCSCRings::s, HODataFrame::sample(), HODataFrame::size(), HODataFrame::zsMarkAndPass(), and HODataFrame::zsUnsuppressed().

mps_fire.i
i
Definition: mps_fire.py:428
alignCSCRings.s
s
Definition: alignCSCRings.py:92