CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/Calibration/Tools/interface/calibXMLwriter.h

Go to the documentation of this file.
00001 #ifndef CALIB_XML_WRITER
00002 #define CALIB_XML_WRITER
00003 
00004 //
00005 // Writes out constants in xml file   
00006 // readable by EventSetup
00007 // Author:  Lorenzo AGOSTINO
00008 
00009 #include "DataFormats/EcalDetId/interface/EBDetId.h"
00010 #include "DataFormats/EcalDetId/interface/EEDetId.h"
00011 #include "DataFormats/DetId/interface/DetId.h"
00012 #include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
00013 #include <iostream>
00014 
00015 class calibXMLwriter {
00016 
00017 
00018 public:
00019 
00020 calibXMLwriter(EcalSubdetector=EcalBarrel);
00021 ~calibXMLwriter();
00022 
00023 void writeLine(EBDetId const &, float);
00024 void writeLine(EEDetId const &, float);
00025 
00026 
00027 private:
00028 EcalSubdetector subdet_;
00029 FILE* FILENAME;
00030 };
00031 
00032 #endif