CMS 3D CMS Logo

Functions
HcalCalibDataFrame.cc File Reference
#include "DataFormats/HcalDigi/interface/HcalCalibDataFrame.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const HcalCalibDataFrame &digi)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const HcalCalibDataFrame digi 
)

Definition at line 61 of file HcalCalibDataFrame.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 HcalCalibDataFrame::fiberIdleOffset(), mps_fire::i, HcalCalibDataFrame::id(), HcalCalibDataFrame::presamples(), alignCSCRings::s, HcalCalibDataFrame::sample(), HcalCalibDataFrame::size(), HcalCalibDataFrame::zsMarkAndPass(), and HcalCalibDataFrame::zsUnsuppressed().

HcalCalibDataFrame::zsUnsuppressed
bool zsUnsuppressed() const
was ZS unsuppressed?
Definition: HcalCalibDataFrame.h:32
mps_fire.i
i
Definition: mps_fire.py:428
HcalCalibDataFrame::fiberIdleOffset
int fiberIdleOffset() const
offset of bunch number for this channel relative to nominal set in the unpacker (range is +7->-7....
Definition: HcalCalibDataFrame.cc:44
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HcalCalibDataFrame::presamples
int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware)
Definition: HcalCalibDataFrame.h:28
HcalCalibDataFrame::sample
const HcalQIESample & sample(int i) const
access a sample
Definition: HcalCalibDataFrame.h:39
HcalCalibDataFrame::size
int size() const
total number of samples in the digi
Definition: HcalCalibDataFrame.h:26
HcalCalibDataFrame::id
const HcalCalibDetId & id() const
Definition: HcalCalibDataFrame.h:22
HcalCalibDataFrame::zsMarkAndPass
bool zsMarkAndPass() const
was ZS MarkAndPass?
Definition: HcalCalibDataFrame.h:30