00001 #ifndef MatacqTBDataFormatter_H 00002 #define MatacqTBDataFormatter_H 00003 00008 #include <ostream> 00009 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00010 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h" 00011 00012 class MatacqTBRawEvent; 00013 class FEDRawData; 00014 00015 class MatacqTBDataFormatter{ 00016 public: 00017 MatacqTBDataFormatter() {}; 00018 virtual ~MatacqTBDataFormatter(){LogDebug("EcalTBRawToDigi") << "@SUB=MatacqTBDataFormatter" << "\n"; }; 00019 00025 void interpretRawData(const FEDRawData & data, 00026 EcalMatacqDigiCollection& matacqDigiCollection); 00027 00028 private: 00029 void printData(std::ostream& out, const MatacqTBRawEvent& event) const; 00030 }; 00031 #endif 00032