CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CalibTracker/SiPixelESProducers/interface/SiPixelDetInfoFileWriter.h

Go to the documentation of this file.
00001 #ifndef CalibTracker_SiPixelESProducers_SiPixelDetInfoFileWriter_h
00002 #define CalibTracker_SiPixelESProducers_SiPixelDetInfoFileWriter_h
00003 // -*- C++ -*-
00004 //
00005 // Package:    SiPixelDetInfoFileWriter
00006 // Class:      SiPixelDetInfoFileWriter
00007 // 
00015 //
00016 // Original Author:  Vincenzo Chiochia
00017 //         Created:  Mon Nov 20 10:04:31 CET 2006
00018 // $Id: SiPixelDetInfoFileWriter.h,v 1.2 2010/01/13 16:25:38 ursl Exp $
00019 //
00020 //
00021 
00022 #include "FWCore/Framework/interface/EDAnalyzer.h"
00023 #include <string>
00024 #include <iostream>
00025 #include <fstream>
00026 
00027 class SiPixelDetInfoFileWriter : public edm::EDAnalyzer {
00028 
00029 public:
00030 
00031   explicit SiPixelDetInfoFileWriter(const edm::ParameterSet&);
00032   ~SiPixelDetInfoFileWriter();
00033 
00034 private:
00035 
00036   void beginJob();
00037   void beginRun(const edm::Run &, const edm::EventSetup &);
00038   void analyze(const edm::Event &, const edm::EventSetup &);
00039 
00040 private:
00041 
00042 
00043   std::ofstream outputFile_; 
00044   std::string filePath_;
00045 
00046 
00047 };
00048 #endif