#include "EventFilter/HcalRawToDigi/interface/HcalHTRData.h"
#include "EventFilter/HcalRawToDigi/interface/HcalDCCHeader.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <string.h>
#include <stdint.h>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const HcalDCCHeader &head) |
std::ostream& operator<< | ( | std::ostream & | s, |
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; }