CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/SimMuon/MCTruth/plugins/MuonAssociatorEDProducer.h

Go to the documentation of this file.
00001 #ifndef MCTruth_MuonAssociatorEDProducer_h
00002 #define MCTruth_MuonAssociatorEDProducer_h
00003 
00004 #include <memory>
00005 #include "FWCore/Framework/interface/EDProducer.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "FWCore/Framework/interface/EventSetup.h"
00008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00009 #include "FWCore/Utilities/interface/InputTag.h"
00010 #include "SimMuon/MCTruth/interface/MuonAssociatorByHits.h"
00011 
00012 class MuonAssociatorEDProducer : public edm::EDProducer {
00013 public:
00014   explicit MuonAssociatorEDProducer(const edm::ParameterSet&);
00015   ~MuonAssociatorEDProducer();
00016   
00017 private:
00018   virtual void beginJob() ;
00019   virtual void produce(edm::Event&, const edm::EventSetup&);
00020   virtual void endJob();
00021 
00022   edm::InputTag tracksTag;
00023   edm::InputTag tpTag;
00024   bool ignoreMissingTrackCollection;
00025   edm::ParameterSet parset_;
00026   MuonAssociatorByHits * associatorByHits;
00027 };
00028 
00029 #endif