File indexing completed on 2023-03-17 11:20:32
0001 #ifndef MuonIdentification_MuonLinksProducerForHLT_h
0002 #define MuonIdentification_MuonLinksProducerForHLT_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include "FWCore/Framework/interface/Frameworkfwd.h"
0015 #include "FWCore/Framework/interface/global/EDProducer.h"
0016 #include "FWCore/Framework/interface/Event.h"
0017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0018 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0019 #include "DataFormats/TrackReco/interface/Track.h"
0020 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0021
0022 #include "DataFormats/MuonReco/interface/MuonTrackLinks.h"
0023
0024 class MuonLinksProducerForHLT : public edm::global::EDProducer<> {
0025 public:
0026 explicit MuonLinksProducerForHLT(const edm::ParameterSet&);
0027
0028 ~MuonLinksProducerForHLT() override;
0029
0030 void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0031
0032 private:
0033 edm::InputTag theLinkCollectionInInput;
0034 edm::InputTag theInclusiveTrackCollectionInInput;
0035 edm::EDGetTokenT<reco::MuonTrackLinksCollection> linkToken_;
0036 edm::EDGetTokenT<reco::TrackCollection> trackToken_;
0037 double ptMin;
0038 double pMin;
0039 double shareHitFraction;
0040 };
0041 #endif