File indexing completed on 2024-04-06 12:18:29
0001 #ifndef L1TPFTauFilter_h
0002 #define L1TPFTauFilter_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0016 #include "DataFormats/L1TParticleFlow/interface/PFTau.h"
0017
0018
0019
0020
0021
0022 class L1TPFTauFilter : public HLTFilter {
0023 public:
0024 explicit L1TPFTauFilter(const edm::ParameterSet&);
0025 ~L1TPFTauFilter() override;
0026 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0027 bool hltFilter(edm::Event&,
0028 const edm::EventSetup&,
0029 trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0030
0031 private:
0032 edm::InputTag l1PFTauTag_;
0033 edm::EDGetTokenT<l1t::PFTauCollection> pfTauToken_;
0034 double min_Pt_;
0035 int min_N_;
0036 double min_Eta_;
0037 double max_Eta_;
0038 double maxChargedIso_;
0039 double maxFullIso_;
0040 int passLooseNN_;
0041 int passTightNN_;
0042 edm::ParameterSet scalings_;
0043 std::vector<double> barrelScalings_;
0044 std::vector<double> endcapScalings_;
0045
0046 double PFTauOfflineEt(double Et, double Eta) const;
0047 };
0048
0049 #endif