CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoMuon/MuonIdentification/plugins/GlobalMuonToMuonProducer.h

Go to the documentation of this file.
00001 #ifndef RecoMuon_MuonIdentification_GlobalMuonToMuonProducer_H
00002 #define RecoMuon_MuonIdentification_GlobalMuonToMuonProducer_H
00003 
00012 #include "FWCore/Framework/interface/EDProducer.h"
00013 //#include "FWCore/Framework/interface/Frameworkfwd.h"
00014 #include "FWCore/Utilities/interface/InputTag.h"
00015 
00016 
00017 namespace reco {class Track;}
00018 #include "FWCore/Framework/interface/ESHandle.h"
00019 #include "Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h"
00020 
00021 
00022 class GlobalMuonToMuonProducer : public edm::EDProducer {
00023 public:
00024 
00026   GlobalMuonToMuonProducer(const edm::ParameterSet&);
00027 
00029   virtual ~GlobalMuonToMuonProducer();
00030 
00032   virtual void produce(edm::Event&, const edm::EventSetup&);
00033 
00034 protected:
00035 
00036 private:
00037 
00038   std::string theAlias;
00039 
00040   void setAlias( std::string alias ){
00041     alias.erase( alias.size() - 1, alias.size() );
00042     theAlias=alias;
00043   }
00044 
00045   // tmp
00046   void printTrackRecHits(const reco::Track &track, 
00047                          edm::ESHandle<GlobalTrackingGeometry> trackingGeometry) const;
00048 
00049 
00050 private:
00051 
00052   edm::InputTag theLinksCollectionLabel;
00053 };
00054 #endif
00055