00001 #ifndef HLTSinglet_h 00002 #define HLTSinglet_h 00003 00018 #include "HLTrigger/HLTcore/interface/HLTFilter.h" 00019 #include<vector> 00020 00021 // 00022 // class declaration 00023 // 00024 00025 template<typename T, int Tid> 00026 class HLTSinglet : public HLTFilter { 00027 00028 public: 00029 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 saveTag_; // 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