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