CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/Calibration/Tools/interface/Pi0CalibXMLwriter.h

Go to the documentation of this file.
00001 #ifndef PI0CALIB_XML_WRITER
00002 #define PI0CALIB_XML_WRITER
00003 
00004 #include "DataFormats/EcalDetId/interface/EBDetId.h"
00005 #include "DataFormats/EcalDetId/interface/EEDetId.h"
00006 #include "DataFormats/DetId/interface/DetId.h"
00007 #include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
00008 #include <iostream>
00009 
00010 class Pi0CalibXMLwriter {
00011 
00012 
00013 public:
00014 
00015 Pi0CalibXMLwriter(EcalSubdetector=EcalBarrel);
00016 Pi0CalibXMLwriter(EcalSubdetector=EcalBarrel, int=0);
00017 ~Pi0CalibXMLwriter();
00018 
00019 void writeLine(EBDetId const &, float);
00020 void writeLine(EEDetId const &, float);
00021 
00022 
00023 private:
00024  EcalSubdetector subdet_;
00025  int loop_;
00026  FILE* FILENAME;
00027 };
00028 
00029 #endif