HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
MaxLooseObjectsCountFilters.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Artus/Filter/interface/CutFilterBase.h"
5 
6 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
7 
8 
12 class MaxLooseElectronsCountFilter: public CutRangeFilterBase<HttTypes> {
13 public:
14 
15  typedef typename std::function<double(event_type const&, product_type const&)> double_extractor_lambda;
16 
17  virtual std::string GetFilterId() const override {
18  return "MaxLooseElectronsCountFilter";
19  }
20 
21  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
22 };
23 
24 
28 class MaxLooseMuonsCountFilter: public CutRangeFilterBase<HttTypes> {
29 public:
30 
31  typedef typename std::function<double(event_type const&, product_type const&)> double_extractor_lambda;
32 
33  virtual std::string GetFilterId() const override {
34  return "MaxLooseMuonsCountFilter";
35  }
36 
37  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
38 };
39 
virtual std::string GetFilterId() const override
Definition: MaxLooseObjectsCountFilters.h:33
std::function< double(event_type const &, product_type const &)> double_extractor_lambda
Definition: MaxLooseObjectsCountFilters.h:31
Definition: MaxLooseObjectsCountFilters.h:28
virtual std::string GetFilterId() const override
Definition: MaxLooseObjectsCountFilters.h:17
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: MaxLooseObjectsCountFilters.cc:18
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: MaxLooseObjectsCountFilters.cc:7
Definition: MaxLooseObjectsCountFilters.h:12
std::function< double(event_type const &, product_type const &)> double_extractor_lambda
Definition: MaxLooseObjectsCountFilters.h:15