00001 #ifndef HLTGlobalSums_h 00002 #define HLTGlobalSums_h 00003 00018 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h" 00019 #include "HLTrigger/HLTcore/interface/HLTFilter.h" 00020 #include<string> 00021 00022 // 00023 // class declaration 00024 // 00025 00026 template<typename T> 00027 class HLTGlobalSums : public HLTFilter { 00028 00029 public: 00030 00031 explicit HLTGlobalSums(const edm::ParameterSet&); 00032 ~HLTGlobalSums(); 00033 static void fillDescriptions(edm::ConfigurationDescriptions & descriptions); 00034 virtual bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct); 00035 00036 private: 00037 // configuration 00038 edm::InputTag inputTag_; // input tag identifying MET product 00039 int triggerType_; // triggerType configured 00040 std::string observable_; // which observable to cut on 00041 double min_,max_; // cut: Min<=observable<=Max 00042 int min_N_; // how many needed to pass 00043 int tid_; // actual triggerType 00044 }; 00045 00046 #endif //HLTGlobalSums_h