00001 #ifndef HLTcore_HLTEventAnalyzerRAW_h 00002 #define HLTcore_HLTEventAnalyzerRAW_h 00003 00016 #include "FWCore/Framework/interface/Event.h" 00017 #include "FWCore/Framework/interface/EDAnalyzer.h" 00018 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00019 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h" 00020 #include "DataFormats/Common/interface/TriggerResults.h" 00021 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h" 00022 00023 // 00024 // class declaration 00025 // 00026 class HLTEventAnalyzerRAW : public edm::EDAnalyzer { 00027 00028 public: 00029 explicit HLTEventAnalyzerRAW(const edm::ParameterSet&); 00030 ~HLTEventAnalyzerRAW(); 00031 00032 virtual void beginRun(edm::Run const &, edm::EventSetup const&); 00033 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00034 virtual void analyzeTrigger(const edm::Event&, const edm::EventSetup&, const std::string& triggerName); 00035 00036 private: 00037 00039 std::string processName_; 00040 std::string triggerName_; 00041 edm::InputTag triggerResultsTag_; 00042 edm::InputTag triggerEventWithRefsTag_; 00043 00045 edm::Handle<edm::TriggerResults> triggerResultsHandle_; 00046 edm::Handle<trigger::TriggerEventWithRefs> triggerEventWithRefsHandle_; 00047 HLTConfigProvider hltConfig_; 00048 00050 00051 trigger::Vids photonIds_; 00052 trigger::VRphoton photonRefs_; 00053 trigger::Vids electronIds_; 00054 trigger::VRelectron electronRefs_; 00055 trigger::Vids muonIds_; 00056 trigger::VRmuon muonRefs_; 00057 trigger::Vids jetIds_; 00058 trigger::VRjet jetRefs_; 00059 trigger::Vids compositeIds_; 00060 trigger::VRcomposite compositeRefs_; 00061 trigger::Vids basemetIds_; 00062 trigger::VRbasemet basemetRefs_; 00063 trigger::Vids calometIds_; 00064 trigger::VRcalomet calometRefs_; 00065 trigger::Vids pixtrackIds_; 00066 trigger::VRpixtrack pixtrackRefs_; 00067 00068 trigger::Vids l1emIds_; 00069 trigger::VRl1em l1emRefs_; 00070 trigger::Vids l1muonIds_; 00071 trigger::VRl1muon l1muonRefs_; 00072 trigger::Vids l1jetIds_; 00073 trigger::VRl1jet l1jetRefs_; 00074 trigger::Vids l1etmissIds_; 00075 trigger::VRl1etmiss l1etmissRefs_; 00076 trigger::Vids l1hfringsIds_; 00077 trigger::VRl1hfrings l1hfringsRefs_; 00078 00079 }; 00080 #endif