#include "EventFilter/CastorRawToDigi/interface/CastorCORData.h"
#include "EventFilter/CastorRawToDigi/interface/CastorMergerData.h"
#include "EventFilter/CastorRawToDigi/interface/CastorCTDCHeader.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 CastorCTDCHeader &head) |
std::ostream& operator<< | ( | std::ostream & | s, |
const CastorCTDCHeader & | head | ||
) |
Definition at line 97 of file CastorCTDCHeader.cc.
References CastorCTDCHeader::getSpigotDataLength(), CastorCTDCHeader::getSpigotEnabled(), CastorCTDCHeader::getSpigotErrorBits(), CastorCTDCHeader::getSpigotPresent(), CastorCTDCHeader::getSpigotValid(), i, alignCSCRings::s, and CastorCTDCHeader::SPIGOT_COUNT.
{ for (int i=0; i<CastorCTDCHeader::SPIGOT_COUNT+1; 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)) << std::dec; s << std::endl; } return s; }