File indexing completed on 2025-01-08 03:36:30
0001 #ifndef MuonIdentification_MuonLinksProducerForHLT_h
0002 #define MuonIdentification_MuonLinksProducerForHLT_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0015 #include "DataFormats/MuonReco/interface/MuonTrackLinks.h"
0016 #include "DataFormats/TrackReco/interface/Track.h"
0017 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0018 #include "FWCore/Framework/interface/Event.h"
0019 #include "FWCore/Framework/interface/Frameworkfwd.h"
0020 #include "FWCore/Framework/interface/global/EDProducer.h"
0021 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0022 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0023 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0024
0025 class MuonLinksProducerForHLT : public edm::global::EDProducer<> {
0026 public:
0027 explicit MuonLinksProducerForHLT(const edm::ParameterSet&);
0028 ~MuonLinksProducerForHLT() override = default;
0029
0030 void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0031
0032 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0033
0034 private:
0035 const edm::InputTag theLinkCollectionInInput_;
0036 const edm::InputTag theInclusiveTrackCollectionInInput_;
0037 const edm::EDGetTokenT<reco::MuonTrackLinksCollection> linkToken_;
0038 const edm::EDGetTokenT<reco::TrackCollection> trackToken_;
0039 const double ptMin_;
0040 const double pMin_;
0041 const double shareHitFraction_;
0042 };
0043 #endif