CMS 3D CMS Logo

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