CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoPixelVertexing/PixelTrackFitting/plugins/PixelTrackProducer.h

Go to the documentation of this file.
00001 #ifndef PixelTrackProducer_H
00002 #define PixelTrackProducer_H
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "RecoPixelVertexing/PixelTrackFitting/interface/TracksWithHits.h"
00006 #include "RecoPixelVertexing/PixelTrackFitting/interface/PixelTrackReconstruction.h"
00007 
00008 namespace edm { class Event; class EventSetup; class ParameterSet; }
00009 
00010 class PixelTrackProducer :  public edm::EDProducer {
00011 
00012 public:
00013   explicit PixelTrackProducer(const edm::ParameterSet& conf);
00014 
00015   ~PixelTrackProducer();
00016 
00017   virtual void beginRun(edm::Run &run, const edm::EventSetup& es);
00018   virtual void endRun(edm::Run &run, const edm::EventSetup& es);
00019   virtual void produce(edm::Event& ev, const edm::EventSetup& es);
00020 
00021 private:
00022   void store(edm::Event& ev, const pixeltrackfitting::TracksWithTTRHs& selectedTracks);
00023   PixelTrackReconstruction theReconstruction;
00024 };
00025 #endif