CMS 3D CMS Logo

HBHEDataFrame.cc
Go to the documentation of this file.
2 
3 std::ostream& operator<<(std::ostream& s, const HBHEDataFrame& digi) {
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 }
mps_fire.i
i
Definition: mps_fire.py:428
HBHEDataFrame::sample
constexpr HcalQIESample const & sample(int i) const
access a sample
Definition: HBHEDataFrame.h:40
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HBHEDataFrame::zsUnsuppressed
constexpr bool zsUnsuppressed() const
was ZS unsuppressed?
Definition: HBHEDataFrame.h:33
operator<<
std::ostream & operator<<(std::ostream &s, const HBHEDataFrame &digi)
Definition: HBHEDataFrame.cc:3
HBHEDataFrame
Definition: HBHEDataFrame.h:14
HBHEDataFrame::id
constexpr const HcalDetId & id() const
Definition: HBHEDataFrame.h:23
HBHEDataFrame::size
constexpr int size() const
total number of samples in the digi
Definition: HBHEDataFrame.h:27
HBHEDataFrame::zsMarkAndPass
constexpr bool zsMarkAndPass() const
was ZS MarkAndPass?
Definition: HBHEDataFrame.h:31
HBHEDataFrame::presamples
constexpr int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware)
Definition: HBHEDataFrame.h:29
HBHEDataFrame.h
HBHEDataFrame::fiberIdleOffset
constexpr int fiberIdleOffset() const
offset of bunch number for this channel relative to nominal set in the unpacker (range is +7->-7....
Definition: HBHEDataFrame.h:43