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()) s << " zsUS ";
6  if (digi.zsMarkAndPass()) s << " zsM&P ";
7  if (digi.fiberIdleOffset()!=0) {
8  if (digi.fiberIdleOffset()==-1000) s << " nofiberOffset";
9  else s << " fiberOffset=" << digi.fiberIdleOffset();
10  }
11  s << std::endl;
12  for (int i=0; i<digi.size(); i++)
13  s << " " << digi.sample(i) << std::endl;
14  return s;
15 }
16 
17 
std::ostream & operator<<(std::ostream &s, const HFDataFrame &digi)
Definition: HFDataFrame.cc:3
bool zsUnsuppressed() const
was ZS unsuppressed?
Definition: HFDataFrame.h:36
bool zsMarkAndPass() const
was ZS MarkAndPass?
Definition: HFDataFrame.h:34
int fiberIdleOffset() const
offset of bunch number for this channel relative to nominal set in the unpacker (range is +7->-7...
Definition: HFDataFrame.h:46
HcalQIESample const & sample(int i) const
access a sample
Definition: HFDataFrame.h:43
HcalDetId const & id() const
Definition: HFDataFrame.h:26
int size() const
total number of samples in the digi
Definition: HFDataFrame.h:30
int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
Definition: HFDataFrame.h:32