CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PlotRecHits.h
Go to the documentation of this file.
1 #ifndef _ChargedHadronSpectra_PlotRecHits_h_
2 #define _ChargedHadronSpectra_PlotRecHits_h_
3 
4 #include <fstream>
5 
6 namespace edm { class Event; class EventSetup; }
7 class SiPixelRecHit;
8 class SiStripRecHit2D;
9 class TrackerGeometry;
10 
12 {
13  public:
14  explicit PlotRecHits(const edm::EventSetup& es, std::ofstream& file_);
15  ~PlotRecHits();
16  void printRecHits(const edm::Event& ev);
17  void printPixelRecHit (const SiPixelRecHit * recHit);
18  void printStripRecHit (const SiStripRecHit2D * recHit);
19 
20  private:
21  void printPixelRecHits(const edm::Event& ev);
22  void printStripRecHits(const edm::Event& ev);
23 
24  std::ofstream& file;
26 };
27 
28 #endif
std::ofstream & file
Definition: PlotRecHits.h:24
const TrackerGeometry * theTracker
Definition: PlotRecHits.h:25
PlotRecHits(const edm::EventSetup &es, std::ofstream &file_)
Definition: PlotRecHits.cc:21
void printPixelRecHit(const SiPixelRecHit *recHit)
Definition: PlotRecHits.cc:35
void printPixelRecHits(const edm::Event &ev)
Definition: PlotRecHits.cc:123
void printStripRecHit(const SiStripRecHit2D *recHit)
Definition: PlotRecHits.cc:86
void printStripRecHits(const edm::Event &ev)
Definition: PlotRecHits.cc:161
void printRecHits(const edm::Event &ev)
Definition: PlotRecHits.cc:215
Pixel Reconstructed Hit.