File indexing completed on 2024-04-06 12:18:28
0001 #ifndef HLTSinglet_h
0002 #define HLTSinglet_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include <vector>
0017 #include "DataFormats/HLTReco/interface/TriggerTypeDefs.h"
0018 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0019 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0020
0021
0022
0023
0024
0025 template <typename T>
0026 class HLTSinglet : public HLTFilter {
0027 public:
0028 explicit HLTSinglet(const edm::ParameterSet&);
0029 ~HLTSinglet() override;
0030 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0031 bool hltFilter(edm::Event&,
0032 const edm::EventSetup&,
0033 trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0034
0035 private:
0036 const edm::InputTag inputTag_;
0037 const edm::EDGetTokenT<std::vector<T>> inputToken_;
0038 const int triggerType_;
0039 const int min_N_;
0040 const double min_E_;
0041 const double min_Pt_;
0042 const double min_Mass_;
0043 const double max_Mass_;
0044 const double min_Eta_;
0045 const double max_Eta_;
0046 };
0047
0048 #endif