00001 #ifndef HcalTrigPrimDigiProducer_h 00002 #define HcalTrigPrimDigiProducer_h 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/Framework/interface/EventSetup.h" 00006 #include "SimCalorimetry/HcalTrigPrimAlgos/interface/HcalTriggerPrimitiveAlgo.h" 00007 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00008 #include <vector> 00009 00010 class HcalTrigPrimDigiProducer : public edm::EDProducer 00011 { 00012 public: 00013 00014 explicit HcalTrigPrimDigiProducer(const edm::ParameterSet& ps); 00015 virtual ~HcalTrigPrimDigiProducer() {} 00016 00018 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00019 00020 private: 00021 HcalTriggerPrimitiveAlgo theAlgo; 00022 std::vector<edm::InputTag> inputLabel_; 00023 bool runFrontEndFormatError; 00024 bool runZS; 00025 }; 00026 00027 #endif 00028