00001 #ifndef RPCDigiProducer_h 00002 #define RPCDigiProducer_h 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/Framework/interface/Event.h" 00006 #include "FWCore/Framework/interface/EventSetup.h" 00007 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00008 #include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h" 00009 #include "SimMuon/RPCDigitizer/src/RPCDigitizer.h" 00010 #include "CondFormats/RPCObjects/interface/RPCStripNoises.h" 00011 #include "CondFormats/DataRecord/interface/RPCStripNoisesRcd.h" 00012 00013 class RPCGeometry; 00014 class RPCSimSetUp; 00015 class RPCSynchronizer; 00016 00017 class RPCDigiProducer : public edm::EDProducer 00018 { 00019 public: 00020 00021 typedef RPCDigitizer::RPCDigiSimLinks RPCDigitizerSimLinks; 00022 00023 explicit RPCDigiProducer(const edm::ParameterSet& ps); 00024 virtual ~RPCDigiProducer(); 00025 00026 virtual void beginRun( edm::Run&, const edm::EventSetup& ); 00027 virtual void endRun( edm::Run&, const edm::EventSetup& ) {;} 00028 00030 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00031 00032 void setRPCSetUp(std::vector<RPCStripNoises::NoiseItem>, std::vector<double>); 00033 00034 private: 00035 00036 RPCDigitizer* theDigitizer; 00037 RPCSimSetUp* theRPCSimSetUp; 00038 00039 //Name of Collection used for create the XF 00040 std::string collection_for_XF; 00041 }; 00042 00043 #endif 00044