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