#include <iostream>
#include "DataFormats/HcalDigi/interface/HcalCalibrationEventTypes.h"
Go to the source code of this file.
Classes | |
class | HcalDCCHeader |
Functions | |
std::ostream & | operator<< (std::ostream &, const HcalDCCHeader &head) |
std::ostream& operator<< | ( | std::ostream & | , |
const HcalDCCHeader & | head | ||
) |
Definition at line 79 of file HcalDCCHeader.cc.
References HcalDCCHeader::getLRBErrorBits(), HcalDCCHeader::getSpigotDataLength(), HcalDCCHeader::getSpigotEnabled(), HcalDCCHeader::getSpigotErrorBits(), HcalDCCHeader::getSpigotPresent(), HcalDCCHeader::getSpigotValid(), i, asciidump::s, and HcalDCCHeader::SPIGOT_COUNT.
{ for (int i=0; i<HcalDCCHeader::SPIGOT_COUNT; i++) { s << "Spigot " << i << " : " << head.getSpigotDataLength(i) << " bytes, "; if (head.getSpigotEnabled(i)) s << "E"; if (head.getSpigotPresent(i)) s << "P"; if (head.getSpigotValid(i)) s << "V"; s << ". Error codes: " << std::hex << int(head.getSpigotErrorBits(i)) << "," << int(head.getLRBErrorBits(i)) << std::dec; s << std::endl; } return s; }