4 #include "Artus/Core/interface/FilterBase.h"
6 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
30 void Init(setting_type
const& settings, metadata_type& metadata)
override;
35 typename std::basic_string<T>::size_type
n = 1;
36 for (
typename std::basic_string<T>::size_type i = s.find(p); i !=
typename std::basic_string<T>().npos; i = s.find(p))
42 bool EvaluateSubExpression(std::string& expression, event_type
const& event, product_type
const& product, setting_type
const& settings)
const;
44 virtual bool DoesEventPass(event_type
const& event, product_type
const& product, setting_type
const& settings, metadata_type
const& metadata)
const override;
47 std::vector<float_extractor_lambda> m_ExpressionQuantities;
48 std::vector<std::string> m_ExpressionNames;
49 mutable std::vector<std::string> m_SubExpressions;
virtual bool DoesEventPass(event_type const &event, product_type const &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: MinimalPlotlevelFilter.cc:134
list n
Definition: reduce_mergedFiles.py:148
Definition: MinimalPlotlevelFilter.h:23
void Init(setting_type const &settings, metadata_type &metadata) override
Definition: MinimalPlotlevelFilter.cc:16
std::function< float(event_type const &, product_type const &)> float_extractor_lambda
Definition: MinimalPlotlevelFilter.h:26
bool EvaluateSubExpression(std::string &expression, event_type const &event, product_type const &product, setting_type const &settings) const
Definition: MinimalPlotlevelFilter.cc:57
void RemoveSubstrs(typename std::basic_string< T > &s, char p) const
Definition: MinimalPlotlevelFilter.h:33
virtual std::string GetFilterId() const override
Definition: MinimalPlotlevelFilter.cc:12