1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef TableDataFormatter_H
#define TableDataFormatter_H
/** \class TableDataFormatter
*
*/
#include <TBDataFormats/EcalTBObjects/interface/EcalTBCollections.h>
#include <DataFormats/FEDRawData/interface/FEDRawData.h>
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
class FEDRawData;
class TableDataFormatter {
public:
TableDataFormatter();
virtual ~TableDataFormatter() {
LogDebug("EcalTBRawToDigi") << "@SUB=TableDataFormatter"
<< "\n";
};
//Method to be implemented
void interpretRawData(const FEDRawData& data, EcalTBEventHeader& tbEventHeader);
private:
static const int nWordsPerEvent = 10; // Number of fibers per hodoscope plane
};
#endif
|