HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
MetFilter.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "Artus/Core/interface/FilterBase.h"
5 
6 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
7 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttEnumTypes.h"
8 
9 
14 class MetFilter: public FilterBase<HttTypes> {
15 public:
16 
17  virtual std::string GetFilterId() const override {
18  return "MetFilter";
19  }
20 
21  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
22 
23  virtual bool DoesEventPass(event_type const& event, product_type const& product,
24  setting_type const& settings, metadata_type const& metadata) const override;
25 
26 
27 private:
28  std::vector<std::string> m_metFilters;
29  std::vector<std::string> m_invertedFilters;
30 
31 };
32 
33 
virtual std::string GetFilterId() const override
Definition: MetFilter.h:17
virtual bool DoesEventPass(event_type const &event, product_type const &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: MetFilter.cc:30
Definition: MetFilter.h:14
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: MetFilter.cc:9