Go to the documentation of this file.00001 #ifndef SRBLOCKFORMATTER_H
00002 #define SRBLOCKFORMATTER_H
00003
00004 #include <iostream>
00005 #include <vector>
00006 #include <map>
00007
00008 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
00009 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
00010 #include "DataFormats/FEDRawData/interface/FEDRawData.h"
00011 #include "EventFilter/EcalDigiToRaw/interface/BlockFormatter.h"
00012
00013
00014
00015
00016 class SRBlockFormatter : public BlockFormatter {
00017 public :
00018
00019 SRBlockFormatter();
00020 ~SRBlockFormatter();
00021 void DigiToRaw(int dccid, int dcc_channel, int flag, FEDRawData& rawdata);
00022
00023 void StartEvent();
00024
00025 private :
00026 std::map<int, int> header_;
00027 };
00028
00029
00030
00031 #endif
00032
00033