File indexing completed on 2024-04-06 12:18:28
0001 #ifndef HLTSummaryFilter_h
0002 #define HLTSummaryFilter_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0018
0019 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0020 #include "CommonTools/Utils/interface/StringCutObjectSelector.h"
0021
0022 #include <string>
0023
0024 namespace edm {
0025 class ConfigurationDescriptions;
0026 }
0027
0028
0029
0030
0031
0032 class HLTSummaryFilter : public HLTFilter {
0033 public:
0034 explicit HLTSummaryFilter(const edm::ParameterSet&);
0035 ~HLTSummaryFilter() override;
0036 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0037 bool hltFilter(edm::Event&,
0038 const edm::EventSetup&,
0039 trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0040
0041 private:
0042 edm::InputTag summaryTag_;
0043 edm::EDGetTokenT<trigger::TriggerEvent> summaryToken_;
0044 edm::InputTag memberTag_;
0045 std::string cut_;
0046 int min_N_;
0047
0048 StringCutObjectSelector<trigger::TriggerObject> select_;
0049 };
0050
0051 #endif