File indexing completed on 2023-03-17 11:20:28
0001 #ifndef RecoMuon_L3MuonProducer_L3MuonCandidateProducer_H
0002 #define RecoMuon_L3MuonProducer_L3MuonCandidateProducer_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #include "FWCore/Framework/interface/global/EDProducer.h"
0022 #include "FWCore/Utilities/interface/InputTag.h"
0023 #include "DataFormats/TrackReco/interface/Track.h"
0024 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0025 #include "DataFormats/MuonReco/interface/MuonTrackLinks.h"
0026 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0027
0028 namespace edm {
0029 class ParameterSet;
0030 class Event;
0031 class EventSetup;
0032 }
0033
0034 class L3MuonCandidateProducer : public edm::global::EDProducer<> {
0035 public:
0036 enum MuonTrackType { InnerTrack, OuterTrack, CombinedTrack };
0037
0038
0039 L3MuonCandidateProducer(const edm::ParameterSet&);
0040
0041
0042 ~L3MuonCandidateProducer() override;
0043
0044
0045 void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0046
0047 private:
0048
0049 edm::InputTag theL3CollectionLabel;
0050 edm::InputTag theL3LinksLabel;
0051 edm::EDGetTokenT<reco::TrackCollection> trackToken_;
0052 edm::EDGetTokenT<reco::MuonTrackLinksCollection> linkToken_;
0053
0054 enum MuonTrackType theType;
0055 bool theUseLinks;
0056 };
0057
0058 #endif