File indexing completed on 2024-04-06 12:18:42
0001 #ifndef HLTrigger_special_HLTPixelIsolTrackL1TFilter_h
0002 #define HLTrigger_special_HLTPixelIsolTrackL1TFilter_h
0003
0004 #include "DataFormats/HcalIsolatedTrack/interface/IsolatedPixelTrackCandidate.h"
0005 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0006
0007 namespace edm {
0008 class ConfigurationDescriptions;
0009 class ParameterSet;
0010 }
0011
0012 class HLTPixelIsolTrackL1TFilter : public HLTFilter {
0013 public:
0014 explicit HLTPixelIsolTrackL1TFilter(const edm::ParameterSet&);
0015 ~HLTPixelIsolTrackL1TFilter() override = default;
0016
0017 bool hltFilter(edm::Event&,
0018 const edm::EventSetup&,
0019 trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0020
0021 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0022
0023 private:
0024 edm::InputTag const candTag_;
0025 edm::EDGetTokenT<reco::IsolatedPixelTrackCandidateCollection> const candToken_;
0026 double const maxptnearby_;
0027 double const minEnergy_;
0028 double const minpttrack_;
0029 double const maxetatrack_;
0030 double const minetatrack_;
0031 bool const filterE_;
0032 int const nMaxTrackCandidates_;
0033 bool const dropMultiL2Event_;
0034 };
0035
0036 #endif