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 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h" 00022 00023 // 00024 // class declaration 00025 // 00026 00027 template<typename T> 00028 class HLTSinglet : public HLTFilter { 00029 00030 public: 00031 explicit HLTSinglet(const edm::ParameterSet&); 00032 ~HLTSinglet(); 00033 static void fillDescriptions(edm::ConfigurationDescriptions & descriptions); 00034 virtual bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct); 00035 00036 private: 00037 edm::InputTag inputTag_; // input tag identifying product 00038 int triggerType_ ; // triggerType configured 00039 double min_E_; // energy threshold in GeV 00040 double min_Pt_; // pt threshold in GeV 00041 double min_Mass_; // mass threshold in GeV 00042 double max_Eta_; // eta range (symmetric) 00043 int min_N_; // number of objects passing cuts required 00044 int tid_; // actual triggerType 00045 }; 00046 00047 #endif // HLTSinglet_h