Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:37

0001 #ifndef EcalSupervisorTBDataFormatter_H
0002 #define EcalSupervisorTBDataFormatter_H
0003 /** \class EcalSupervisorTBDataFormatter
0004  *
0005  */
0006 
0007 #include <TBDataFormats/EcalTBObjects/interface/EcalTBCollections.h>
0008 #include <DataFormats/FEDRawData/interface/FEDRawData.h>
0009 
0010 #include "FWCore/ServiceRegistry/interface/Service.h"
0011 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0012 
0013 class FEDRawData;
0014 class EcalSupervisorTBDataFormatter {
0015 public:
0016   EcalSupervisorTBDataFormatter();
0017   virtual ~EcalSupervisorTBDataFormatter() {
0018     LogDebug("EcalTBRawToDigi") << "@SUB=EcalSupervisorTBDataFormatter"
0019                                 << "\n";
0020   };
0021 
0022   //Method to be implemented
0023   void interpretRawData(const FEDRawData& data, EcalTBEventHeader& tbEventHeader);
0024 
0025 private:
0026   static const int nWordsPerEvent = 14;
0027 };
0028 #endif