00001 #ifndef HLTSinglet_h 00002 #define HLTSinglet_h 00003 00018 #include<vector> 00019 #include "DataFormats/HLTReco/interface/TriggerTypeDefs.h" 00020 #include "HLTrigger/HLTcore/interface/HLTFilter.h" 00021 00022 // 00023 // class declaration 00024 // 00025 00026 template<typename T, int Tid> 00027 class HLTSinglet : public HLTFilter { 00028 00029 public: 00030 explicit HLTSinglet(const edm::ParameterSet&); 00031 ~HLTSinglet(); 00032 virtual bool filter(edm::Event&, const edm::EventSetup&); 00033 00034 private: 00035 edm::InputTag inputTag_; // input tag identifying product 00036 bool saveTags_; // whether to save this tag 00037 double min_Pt_; // pt threshold in GeV 00038 double max_Eta_; // eta range (symmetric) 00039 int min_N_; // number of objects passing cuts required 00040 }; 00041 00042 #endif // HLTSinglet_h