00001 #ifndef CSCTriggerPrimitives_CSCTriggerPrimitivesProducer_h 00002 #define CSCTriggerPrimitives_CSCTriggerPrimitivesProducer_h 00003 00025 #include <FWCore/Framework/interface/Frameworkfwd.h> 00026 #include <FWCore/Framework/interface/EDProducer.h> 00027 #include <FWCore/Framework/interface/Event.h> 00028 #include <FWCore/ParameterSet/interface/ParameterSet.h> 00029 #include <FWCore/Utilities/interface/InputTag.h> 00030 00031 class CSCTriggerPrimitivesBuilder; 00032 00033 class CSCTriggerPrimitivesProducer : public edm::EDProducer 00034 { 00035 public: 00036 explicit CSCTriggerPrimitivesProducer(const edm::ParameterSet&); 00037 ~CSCTriggerPrimitivesProducer(); 00038 00039 //virtual void beginRun(const edm::EventSetup& setup); 00040 virtual void produce(edm::Event&, const edm::EventSetup&); 00041 00042 private: 00043 int iev; // event number 00044 edm::InputTag compDigiProducer_; 00045 edm::InputTag wireDigiProducer_; 00046 CSCTriggerPrimitivesBuilder* lctBuilder_; 00047 }; 00048 00049 #endif