00001 #ifndef FastSimulation_EventProducer_FamosProducer_H 00002 #define FastSimulation_EventProducer_FamosProducer_H 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 00006 class FamosManager; 00007 class ParameterSet; 00008 class Event; 00009 class EventSetup; 00010 00011 namespace HepMC { 00012 class GenEvent; 00013 } 00014 00015 class FamosProducer : public edm::EDProducer 00016 { 00017 00018 public: 00019 00020 explicit FamosProducer(edm::ParameterSet const & p); 00021 virtual ~FamosProducer(); 00022 virtual void beginRun(edm::Run & run, const edm::EventSetup & es); 00023 virtual void endJob(); 00024 virtual void produce(edm::Event & e, const edm::EventSetup & c); 00025 00026 private: 00027 00028 FamosManager * famosManager_; 00029 HepMC::GenEvent * evt_; 00030 bool simulateMuons; 00031 edm::InputTag theSourceLabel; 00032 edm::InputTag theGenParticleLabel; 00033 edm::InputTag theBeamSpotLabel; 00034 00035 }; 00036 00037 #endif