File indexing completed on 2024-04-06 12:10:38
0001 #ifndef TableDataFormatter_H
0002 #define TableDataFormatter_H
0003
0004
0005
0006
0007 #include <TBDataFormats/EcalTBObjects/interface/EcalTBCollections.h>
0008 #include <DataFormats/FEDRawData/interface/FEDRawData.h>
0009 #include "FWCore/ServiceRegistry/interface/Service.h"
0010 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0011
0012 class FEDRawData;
0013 class TableDataFormatter {
0014 public:
0015 TableDataFormatter();
0016 virtual ~TableDataFormatter() {
0017 LogDebug("EcalTBRawToDigi") << "@SUB=TableDataFormatter"
0018 << "\n";
0019 };
0020
0021
0022 void interpretRawData(const FEDRawData& data, EcalTBEventHeader& tbEventHeader);
0023
0024 private:
0025 static const int nWordsPerEvent = 10;
0026 };
0027 #endif