CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/EventFilter/CastorRawToDigi/plugins/CastorDigiToRaw.h

Go to the documentation of this file.
00001 #ifndef CastorDigiToRaw_h
00002 #define CastorDigiToRaw_h
00003 
00015 #include "FWCore/Framework/interface/EDProducer.h"
00016 #include "FWCore/Framework/interface/Event.h"
00017 #include "DataFormats/Common/interface/Handle.h"
00018 
00019 #include "FWCore/Framework/interface/EventSetup.h"
00020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00021 
00022 #include "EventFilter/CastorRawToDigi/interface/CastorPacker.h"
00023 #include "EventFilter/CastorRawToDigi/interface/CastorCtdcPacker.h"
00024 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h"
00025 
00026 class CastorDigiToRaw : public edm::EDProducer
00027 {
00028 public:
00029   explicit CastorDigiToRaw(const edm::ParameterSet& ps);
00030   virtual ~CastorDigiToRaw();
00031   virtual void produce(edm::Event& e, const edm::EventSetup& c);
00032 
00033 private:
00034   CastorPacker packer_;
00035   CastorCtdcPacker ctdcpacker_;
00036   edm::InputTag castorTag_, calibTag_, trigTag_;
00037   bool usingctdc_;
00038 
00039 };
00040 
00041 #endif