CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/QCDAnalysis/ChargedHadronSpectra/interface/PlotRecHits.h

Go to the documentation of this file.
00001 #ifndef _ChargedHadronSpectra_PlotRecHits_h_
00002 #define _ChargedHadronSpectra_PlotRecHits_h_
00003 
00004 #include <fstream>
00005 
00006 namespace edm { class Event; class EventSetup; }
00007 class SiPixelRecHit;
00008 class SiStripRecHit2D;
00009 class TrackerGeometry;
00010 
00011 class PlotRecHits
00012 {
00013   public:
00014     explicit PlotRecHits(const edm::EventSetup& es, std::ofstream& file_);
00015     ~PlotRecHits();
00016     void printRecHits(const edm::Event& ev);
00017     void printPixelRecHit (const SiPixelRecHit   * recHit);
00018     void printStripRecHit (const SiStripRecHit2D * recHit);
00019 
00020   private:
00021     void printPixelRecHits(const edm::Event& ev);
00022     void printStripRecHits(const edm::Event& ev);
00023 
00024     std::ofstream& file;
00025     const TrackerGeometry* theTracker;
00026 };
00027 
00028 #endif