CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/EventFilter/CastorRawToDigi/interface/CastorCtdcUnpacker.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 #ifndef CastorCtdcUnpacker_h_included
00003 #define CastorCtdcUnpacker_h_included 1
00004 
00005 #include "DataFormats/HcalDigi/interface/CastorDataFrame.h"
00006 #include "DataFormats/HcalDigi/interface/HcalCalibDataFrame.h"
00007 #include "DataFormats/HcalDigi/interface/HcalTriggerPrimitiveDigi.h"
00008 #include "DataFormats/HcalDigi/interface/HcalUnpackerReport.h"
00009 #include "DataFormats/FEDRawData/interface/FEDRawData.h"
00010 #include "CondFormats/CastorObjects/interface/CastorElectronicsMap.h"
00011 #include <set>
00012 #include "EventFilter/CastorRawToDigi/interface/CastorRawCollections.h"
00013 
00014 class CastorCtdcUnpacker {
00015 public:
00016 
00018   CastorCtdcUnpacker(int sourceIdOffset, int beg, int end) ;
00019   void unpack(const FEDRawData& raw, const CastorElectronicsMap& emap, CastorRawCollections& conts, HcalUnpackerReport& report);
00020 private:
00021   int sourceIdOffset_; 
00022   int startSample_; 
00023   int endSample_; 
00024   std::set<CastorElectronicsId> unknownIds_,unknownIdsTrig_; 
00025 };
00026 
00027 #endif // CastorCtdcUnpacker_h_included