CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoMuon/StandAloneMuonProducer/src/StandAloneMuonProducer.h

Go to the documentation of this file.
00001 #ifndef RecoMuon_StandAloneMuonProducer_StandAloneMuonProducer_H
00002 #define RecoMuon_StandAloneMuonProducer_StandAloneMuonProducer_H
00003 
00018 #include "FWCore/Framework/interface/EDProducer.h"
00019 #include "FWCore/Utilities/interface/InputTag.h"
00020 
00021 namespace edm {class ParameterSet; class Event; class EventSetup;}
00022 
00023 class MuonTrackFinder;
00024 class MuonServiceProxy;
00025 
00026 class StandAloneMuonProducer : public edm::EDProducer {
00027 
00028  public:
00029 
00031   StandAloneMuonProducer(const edm::ParameterSet&);
00032   
00034   virtual ~StandAloneMuonProducer(); 
00035   
00037   virtual void produce(edm::Event&, const edm::EventSetup&);
00038     
00039  private:
00040   
00042   edm::InputTag theSeedCollectionLabel;
00043  
00045   MuonTrackFinder* theTrackFinder; //It isn't the same as in ORCA
00046 
00048   MuonServiceProxy *theService;
00049 
00050   std::string theAlias;
00051 
00052   void setAlias( std::string alias ){
00053     alias.erase( alias.size() - 1, alias.size() );
00054     theAlias=alias;
00055   }
00056 };
00057 
00058 #endif