00001 #ifndef EcalSupervisorTBDataFormatter_H 00002 #define EcalSupervisorTBDataFormatter_H 00003 00008 #include <TBDataFormats/EcalTBObjects/interface/EcalTBCollections.h> 00009 #include <DataFormats/FEDRawData/interface/FEDRawData.h> 00010 00011 #include "FWCore/ServiceRegistry/interface/Service.h" 00012 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00013 00014 00015 class FEDRawData; 00016 class EcalSupervisorTBDataFormatter { 00017 00018 public: 00019 00020 EcalSupervisorTBDataFormatter() ; 00021 virtual ~EcalSupervisorTBDataFormatter(){LogDebug("EcalTBRawToDigi") << "@SUB=EcalSupervisorTBDataFormatter" << "\n"; }; 00022 00023 //Method to be implemented 00024 void interpretRawData( const FEDRawData & data, EcalTBEventHeader& tbEventHeader ) ; 00025 00026 private: 00027 00028 static const int nWordsPerEvent = 14; 00029 00030 }; 00031 #endif