CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoMuon/MuonIdentification/plugins/MuonTimingProducer.h

Go to the documentation of this file.
00001 #ifndef MuonTiming_MuonTimingProducer_h
00002 #define MuonTiming_MuonTimingProducer_h 1
00003 
00004 // -*- C++ -*-
00005 //
00006 // Package:    MuonTimingProducer
00007 // Class:      MuonTimingProducer
00008 // 
00016 //
00017 // Original Author:  Piotr Traczyk, CERN
00018 //         Created:  Mon Mar 16 12:27:22 CET 2009
00019 // $Id: MuonTimingProducer.h,v 1.2 2009/03/27 02:23:58 ptraczyk Exp $
00020 //
00021 //
00022 
00023 
00024 // system include files
00025 #include <memory>
00026 
00027 // user include files
00028 #include "FWCore/Framework/interface/Frameworkfwd.h"
00029 #include "FWCore/Framework/interface/EDProducer.h"
00030 
00031 #include "FWCore/Framework/interface/Event.h"
00032 #include "FWCore/Framework/interface/MakerMacros.h"
00033 
00034 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00035 
00036 #include "DataFormats/MuonReco/interface/MuonTimeExtra.h"
00037 #include "RecoMuon/MuonIdentification/interface/MuonTimingFiller.h"
00038 
00039 
00040 //
00041 // class decleration
00042 //
00043 
00044 class MuonTimingProducer : public edm::EDProducer {
00045    public:
00046       explicit MuonTimingProducer(const edm::ParameterSet&);
00047       ~MuonTimingProducer();
00048 
00049    private:
00050       virtual void beginJob() ;
00051       virtual void produce(edm::Event&, const edm::EventSetup&);
00052       virtual void endJob() ;
00053       
00054       // ----------member data ---------------------------
00055       edm::InputTag m_muonCollection;
00056 
00057       MuonTimingFiller* theTimingFiller_;
00058 
00059 };
00060 
00061 #endif