Go to the documentation of this file.00001
00002 #ifndef HcalTBSlowDataUnpacker_h_included
00003 #define HcalTBSlowDataUnpacker_h_included 1
00004
00005 #include "TBDataFormats/HcalTBObjects/interface/HcalTBRunData.h"
00006 #include "TBDataFormats/HcalTBObjects/interface/HcalTBEventPosition.h"
00007 #include "DataFormats/FEDRawData/interface/FEDRawData.h"
00008
00009 #include <map>
00010 #include <string>
00011
00012 namespace hcaltb {
00031 class HcalTBSlowDataUnpacker {
00032 public:
00033 HcalTBSlowDataUnpacker(void) { }
00034
00035 void unpack(const FEDRawData& raw,
00036 HcalTBRunData& htbrd,
00037 HcalTBEventPosition& htbep) const;
00038
00039 void unpackMaps(const FEDRawData& raw, std::map<std::string,std::string>& strings, std::map<std::string,double>& numerics) const;
00040
00041 static const int STANDARD_FED_ID=3;
00042 static const int SIPM_CAL_FED_ID=11;
00043 };
00044 }
00045
00046 #endif // HcalTBSlowDataUnpacker_h_included