CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  ZDCDataFrame
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 61 of file ZDCDataFrame.cc.

61  {
62  s << digi.id() << " " << digi.size() << " samples " << digi.presamples() << " presamples ";
63  if (digi.zsUnsuppressed())
64  s << " zsUS ";
65  if (digi.zsMarkAndPass())
66  s << " zsM&P ";
67  if (digi.fiberIdleOffset() != 0) {
68  if (digi.fiberIdleOffset() == -1000)
69  s << " nofiberOffset";
70  else
71  s << " fiberOffset=" << digi.fiberIdleOffset();
72  }
73  s << std::endl;
74  for (int i = 0; i < digi.size(); i++)
75  s << " " << digi.sample(i) << std::endl;
76  return s;
77 }

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

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