![]() |
![]() |
00001 #ifndef HLTHighLevel_h 00002 #define HLTHighLevel_h 00003 00017 #include "HLTrigger/HLTcore/interface/HLTFilter.h" 00018 #include "FWCore/Framework/interface/TriggerNames.h" 00019 #include <vector> 00020 #include <string> 00021 00022 // forward declarations 00023 namespace edm { 00024 class TriggerResults; 00025 } 00026 00027 // 00028 // class declaration 00029 // 00030 00031 class HLTHighLevel : public HLTFilter { 00032 00033 public: 00034 00035 explicit HLTHighLevel(const edm::ParameterSet&); 00036 ~HLTHighLevel(); 00037 virtual bool filter(edm::Event&, const edm::EventSetup&); 00038 00039 private: 00041 void init(const edm::TriggerResults & results); 00042 00044 edm::InputTag inputTag_; 00045 00047 edm::TriggerNames triggerNames_; 00048 00050 bool andOr_; 00051 00053 bool throw_; 00054 00056 std::vector<std::string> HLTPatterns_; 00057 00059 std::vector<std::string> HLTPathsByName_; 00060 00062 std::vector<unsigned int> HLTPathsByIndex_; 00063 }; 00064 00065 #endif //HLTHighLevel_h