00001 #ifndef MaskedRctInputDigiProducer_h 00002 #define MaskedRctInputDigiProducer_h 00003 00004 // -*- C++ -*- 00005 // 00006 // Package: MaskedRctInputDigiProducer 00007 // Class: MaskedRctInputDigiProducer 00008 // 00018 // 00019 // Original Author: pts/65 00020 // Created: Fri Nov 23 12:08:31 CET 2007 00021 // $Id: MaskedRctInputDigiProducer.h,v 1.2 2010/01/07 11:10:03 bachtis Exp $ 00022 // 00023 // 00024 00025 00026 // system include files 00027 #include <memory> 00028 00029 // user include files 00030 #include "FWCore/Framework/interface/Frameworkfwd.h" 00031 #include "FWCore/Framework/interface/EDProducer.h" 00032 #include "FWCore/Framework/interface/EventSetup.h" 00033 #include "FWCore/Framework/interface/ESHandle.h" 00034 #include "FWCore/Framework/interface/Event.h" 00035 #include "FWCore/Framework/interface/MakerMacros.h" 00036 00037 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00038 00039 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h" 00040 #include "DataFormats/HcalDigi/interface/HcalDigiCollections.h" 00041 00042 // 00043 // class declaration 00044 // 00045 00046 class MaskedRctInputDigiProducer : public edm::EDProducer { 00047 public: 00048 explicit MaskedRctInputDigiProducer(const edm::ParameterSet&); 00049 ~MaskedRctInputDigiProducer(); 00050 00051 private: 00052 virtual void produce(edm::Event&, const edm::EventSetup&); 00053 virtual void endJob() ; 00054 00055 // ----------member data --------------------------- 00056 00057 bool useEcal_; 00058 bool useHcal_; 00059 edm::InputTag ecalDigisLabel_; 00060 edm::InputTag hcalDigisLabel_; 00061 edm::FileInPath maskFile_; 00062 }; 00063 #endif