00001 #ifndef HLTcore_TriggerSummaryProducerRAW_h 00002 #define HLTcore_TriggerSummaryProducerRAW_h 00003 00016 #include "FWCore/Framework/interface/Event.h" 00017 #include "FWCore/Framework/interface/EDProducer.h" 00018 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00019 00020 #include "FWCore/Framework/interface/Selector.h" 00021 #include "FWCore/ServiceRegistry/interface/Service.h" 00022 #include "FWCore/Framework/interface/TriggerNamesService.h" 00023 00024 #include "DataFormats/Common/interface/Handle.h" 00025 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h" 00026 00027 #include<string> 00028 #include<vector> 00029 00030 // 00031 // class declaration 00032 // 00033 class TriggerSummaryProducerRAW : public edm::EDProducer { 00034 00035 public: 00036 explicit TriggerSummaryProducerRAW(const edm::ParameterSet&); 00037 ~TriggerSummaryProducerRAW(); 00038 virtual void produce(edm::Event&, const edm::EventSetup&); 00039 00040 private: 00042 std::string pn_; 00044 edm::ProcessNameSelector selector_; 00046 edm::service::TriggerNamesService* tns_; 00048 std::vector<edm::Handle<trigger::TriggerFilterObjectWithRefs> > fobs_; 00049 00050 }; 00051 #endif