CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoMuon/TrackerSeedGenerator/plugins/TSGFromL2Muon.h

Go to the documentation of this file.
00001 #ifndef RecoMuon_TrackerSeedGenerator_TSGFromL2Muon_H
00002 #define RecoMuon_TrackerSeedGenerator_TSGFromL2Muon_H
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 
00007 
00008 
00009 namespace edm { class ParameterSet; class Event; class EventSetup; }
00010 
00011 class MuonServiceProxy;
00012 class TrackerSeedGenerator;
00013 class MuonTrackingRegionBuilder;
00014 class TrackerSeedCleaner;
00015 
00016 //
00017 // generate seeds corresponding to L2 muons
00018 //
00019 
00020 class TSGFromL2Muon : public edm::EDProducer {
00021 public:
00022   TSGFromL2Muon(const edm::ParameterSet& cfg);
00023   virtual ~TSGFromL2Muon();
00024   virtual void beginRun(edm::Run & run, const edm::EventSetup&es);
00025   virtual void produce(edm::Event& ev, const edm::EventSetup& es);
00026  
00027 private:
00028   edm::ParameterSet theConfig;
00029   edm::InputTag theL2CollectionLabel;
00030 
00031   MuonServiceProxy* theService;
00032   double thePtCut,thePCut;
00033   MuonTrackingRegionBuilder* theRegionBuilder;
00034   TrackerSeedGenerator* theTkSeedGenerator;
00035   TrackerSeedCleaner* theSeedCleaner;
00036 
00037 };
00038 #endif