CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CalibTracker/SiStripCommon/plugins/SiStripDetInfoFileWriter.h

Go to the documentation of this file.
00001 #ifndef CalibTracker_SiStripChannelGain_SiStripDetInfoFileWriter_h
00002 #define CalibTracker_SiStripChannelGain_SiStripDetInfoFileWriter_h
00003 // -*- C++ -*-
00004 //
00005 // Package:    SiStripDetInfoFileWriter
00006 // Class:      SiStripDetInfoFileWriter
00007 // 
00015 //
00016 // Original Author:  G. Bruno
00017 //         Created:  Mon Nov 20 10:04:31 CET 2006
00018 // $Id: SiStripDetInfoFileWriter.h,v 1.2 2010/01/19 11:49:24 bbetchar Exp $
00019 //
00020 //
00021 
00022 #include "FWCore/Framework/interface/EDAnalyzer.h"
00023 #include <string>
00024 #include <iostream>
00025 #include <fstream>
00026 
00027 class SiStripDetInfoFileWriter : public edm::EDAnalyzer {
00028 
00029 public:
00030 
00031   explicit SiStripDetInfoFileWriter(const edm::ParameterSet&);
00032   ~SiStripDetInfoFileWriter();
00033 
00034 private:
00035 
00036   void beginRun(const edm::EventSetup& iSetup);
00037 
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