CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBObjectUnpacker.h

Go to the documentation of this file.
00001 #ifndef HcalTBObjectUnpacker_h
00002 #define HcalTBObjectUnpacker_h
00003 
00017 #include "FWCore/Framework/interface/EDProducer.h"
00018 #include "FWCore/Framework/interface/Event.h"
00019 #include "DataFormats/Common/interface/Handle.h"
00020 
00021 #include "FWCore/Framework/interface/EventSetup.h"
00022 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00023 
00024 #include "RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBTriggerDataUnpacker.h"
00025 #include "RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBSlowDataUnpacker.h"
00026 #include "RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBTDCUnpacker.h"
00027 #include "RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBQADCUnpacker.h"
00028 #include "RecoTBCalo/HcalTBObjectUnpacker/interface/HcalTBSourcePositionDataUnpacker.h"
00029 
00030   class HcalTBObjectUnpacker : public edm::EDProducer
00031   {
00032   public:
00033     explicit HcalTBObjectUnpacker(const edm::ParameterSet& ps);
00034     virtual ~HcalTBObjectUnpacker();
00035     virtual void produce(edm::Event& e, const edm::EventSetup& c);
00036   private:
00037     int triggerFed_;
00038     int sdFed_;
00039     int spdFed_;
00040     int tdcFed_;
00041     int qadcFed_;
00042     std::string calibFile_;
00043     hcaltb::HcalTBTriggerDataUnpacker tdUnpacker_;
00044     hcaltb::HcalTBSlowDataUnpacker    sdUnpacker_;
00045     hcaltb::HcalTBTDCUnpacker         tdcUnpacker_;
00046     hcaltb::HcalTBQADCUnpacker        qadcUnpacker_;
00047     hcaltb::HcalTBSourcePositionDataUnpacker         spdUnpacker_;
00048     bool doRunData_, doTriggerData_, doEventPosition_, doTiming_, doSourcePos_,doBeamADC_;
00049 
00050     std::vector<std::vector<std::string> > calibLines_;
00051     void parseCalib();
00052 
00053   };
00054 
00055 
00056 #endif