Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:18

0001 #include "DataFormats/HcalDigi/interface/HBHEDataFrame.h"
0002 
0003 std::ostream& operator<<(std::ostream& s, const HBHEDataFrame& digi) {
0004   s << digi.id() << " " << digi.size() << " samples  " << digi.presamples() << " presamples ";
0005   if (digi.zsUnsuppressed())
0006     s << " zsUS";
0007   if (digi.zsMarkAndPass())
0008     s << " zsM&P";
0009   if (digi.fiberIdleOffset() != 0) {
0010     if (digi.fiberIdleOffset() == -1000)
0011       s << " nofiberOffset";
0012     else
0013       s << " fiberOffset=" << digi.fiberIdleOffset();
0014   }
0015   s << std::endl;
0016   for (int i = 0; i < digi.size(); i++)
0017     s << "  " << digi.sample(i) << std::endl;
0018   return s;
0019 }