CMS 3D CMS Logo

HLTSmartSinglet.h
Go to the documentation of this file.
1 #ifndef HLTSmartSinglet_h
2 #define HLTSmartSinglet_h
3 
20 #include<vector>
21 
23 #include<string>
24 
25 //
26 // class declaration
27 //
28 
29 template<typename T>
30 class HLTSmartSinglet : public HLTFilter {
31 
32  public:
33 
34  explicit HLTSmartSinglet(const edm::ParameterSet&);
36  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
37  virtual bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct) const override;
38 
39  private:
40  edm::InputTag inputTag_; // input tag identifying product
41  edm::EDGetTokenT<std::vector<T> > inputToken_; // token identifying product
42  int triggerType_; // triggerType
43  std::string cut_; // smart cut
44  int min_N_; // number of objects passing cuts required
45 
47 };
48 
49 #endif //HLTSmartSinglet_h
HLTSmartSinglet(const edm::ParameterSet &)
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
edm::InputTag inputTag_
std::string cut_
StringCutObjectSelector< T, true > select_
edm::EDGetTokenT< std::vector< T > > inputToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)