File indexing completed on 2023-03-17 11:09:39
0001 #ifndef HLTMuonL1toL3TkPreFilter_h
0002 #define HLTMuonL1toL3TkPreFilter_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0015 #include "DataFormats/L1Trigger/interface/L1MuonParticleFwd.h"
0016 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h"
0017 #include "DataFormats/TrackReco/interface/Track.h"
0018 #include "DataFormats/MuonReco/interface/MuonTrackLinks.h"
0019 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0020 #include "DataFormats/MuonSeed/interface/L3MuonTrajectorySeedCollection.h"
0021 namespace edm {
0022 class ConfigurationDescriptions;
0023 }
0024
0025 class HLTMuonL1toL3TkPreFilter : public HLTFilter {
0026 public:
0027 explicit HLTMuonL1toL3TkPreFilter(const edm::ParameterSet&);
0028 ~HLTMuonL1toL3TkPreFilter() override;
0029 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0030 bool hltFilter(edm::Event&,
0031 const edm::EventSetup&,
0032 trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0033
0034 private:
0035 bool triggeredAtL1(const l1extra::L1MuonParticleRef& l1mu, std::vector<l1extra::L1MuonParticleRef>& vcands) const;
0036
0037 edm::InputTag beamspotTag_;
0038 edm::EDGetTokenT<reco::BeamSpot> beamspotToken_;
0039 edm::InputTag candTag_;
0040 edm::EDGetTokenT<reco::RecoChargedCandidateCollection> candToken_;
0041 edm::InputTag previousCandTag_;
0042 edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs>
0043 previousCandToken_;
0044 int min_N_;
0045 double max_Eta_;
0046 int min_Nhits_;
0047 double max_Dr_;
0048 double max_Dz_;
0049 double min_Pt_;
0050 double nsigma_Pt_;
0051 };
0052
0053 #endif