File indexing completed on 2024-04-06 12:27:57
0001
0002 #ifndef HcalTBSlowDataUnpacker_h_included
0003 #define HcalTBSlowDataUnpacker_h_included 1
0004
0005 #include "TBDataFormats/HcalTBObjects/interface/HcalTBRunData.h"
0006 #include "TBDataFormats/HcalTBObjects/interface/HcalTBEventPosition.h"
0007 #include "DataFormats/FEDRawData/interface/FEDRawData.h"
0008
0009 #include <map>
0010 #include <string>
0011
0012 namespace hcaltb {
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 class HcalTBSlowDataUnpacker {
0032 public:
0033 HcalTBSlowDataUnpacker(void) {}
0034
0035 void unpack(const FEDRawData& raw, HcalTBRunData& htbrd, HcalTBEventPosition& htbep) const;
0036
0037 void unpackMaps(const FEDRawData& raw,
0038 std::map<std::string, std::string>& strings,
0039 std::map<std::string, double>& numerics) const;
0040
0041 static const int STANDARD_FED_ID = 3;
0042 static const int SIPM_CAL_FED_ID = 11;
0043 };
0044 }
0045
0046 #endif