CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/RecoMuon/GlobalMuonProducer/src/GlobalMuonProducer.h

Go to the documentation of this file.
00001 #ifndef RecoMuon_GlobalMuonProducer_GlobalMuonProducer_H
00002 #define RecoMuon_GlobalMuonProducer_GlobalMuonProducer_H
00003 
00018 #include "FWCore/Framework/interface/EDProducer.h"
00019 
00020 namespace edm {class ParameterSet; class Event; class EventSetup;}
00021 
00022 class MuonTrackFinder;
00023 class MuonServiceProxy;
00024 
00025 class GlobalMuonProducer : public edm::EDProducer {
00026 
00027  public:
00028 
00030   GlobalMuonProducer(const edm::ParameterSet&);
00031   
00033   virtual ~GlobalMuonProducer(); 
00034   
00036   virtual void produce(edm::Event&, const edm::EventSetup&);
00037   
00038  private:
00039     
00041   edm::InputTag theSTACollectionLabel;
00042 
00043   MuonTrackFinder* theTrackFinder;
00044     
00046   MuonServiceProxy* theService;
00047     
00048   std::string theAlias;
00049 
00050   void setAlias( std::string alias ){
00051     alias.erase( alias.size() - 1, alias.size() );
00052     theAlias=alias;
00053   }
00054 
00055 };
00056 
00057 #endif