File indexing completed on 2025-01-09 23:33:53
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 "DataFormats/MuonReco/interface/MuonFwd.h"
0022 #include "DataFormats/MuonReco/interface/MuonTrackLinks.h"
0023 #include "DataFormats/TrackReco/interface/Track.h"
0024 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0025 #include "FWCore/Framework/interface/global/EDProducer.h"
0026 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0027 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0028 #include "FWCore/Utilities/interface/InputTag.h"
0029
0030 namespace edm {
0031 class ParameterSet;
0032 class Event;
0033 class EventSetup;
0034 }
0035
0036 class L3MuonCandidateProducer : public edm::global::EDProducer<> {
0037 public:
0038 enum MuonTrackType { InnerTrack, OuterTrack, CombinedTrack };
0039
0040
0041 L3MuonCandidateProducer(const edm::ParameterSet&);
0042
0043
0044 ~L3MuonCandidateProducer() override;
0045
0046
0047 void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0048
0049 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0050
0051 private:
0052
0053 edm::InputTag theL3CollectionLabel;
0054 edm::InputTag theL3LinksLabel;
0055 edm::EDGetTokenT<reco::TrackCollection> trackToken_;
0056 edm::EDGetTokenT<reco::MuonTrackLinksCollection> linkToken_;
0057
0058 enum MuonTrackType theType;
0059 bool theUseLinks;
0060 };
0061
0062 #endif