File indexing completed on 2025-01-09 23:33:51
0001 #ifndef RecoMuon_CosmicMuonProducer_CosmicMuonProducer_H
0002 #define RecoMuon_CosmicMuonProducer_CosmicMuonProducer_H
0003
0004
0005
0006
0007
0008
0009 #include "FWCore/Framework/interface/stream/EDProducer.h"
0010 #include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h"
0011 #include <memory>
0012
0013 class MuonTrackFinder;
0014 class MuonServiceProxy;
0015
0016 class CosmicMuonProducer : public edm::stream::EDProducer<> {
0017 public:
0018 explicit CosmicMuonProducer(const edm::ParameterSet&);
0019
0020 ~CosmicMuonProducer() override;
0021
0022 void produce(edm::Event&, const edm::EventSetup&) override;
0023
0024 private:
0025 std::unique_ptr<MuonTrackFinder> theTrackFinder;
0026
0027
0028 std::unique_ptr<MuonServiceProxy> theService;
0029 edm::EDGetTokenT<edm::View<TrajectorySeed> > theSeedCollectionToken;
0030 };
0031
0032 #endif