Go to the documentation of this file.00001
00009 #ifndef __EcalGainRatiosXMLTranslator_h_
00010 #define __EcalGainRatiosXMLTranslator_h_
00011
00012 #include "CondFormats/EcalObjects/interface/EcalGainRatios.h"
00013
00014 #include "CondTools/Ecal/interface/XercesString.h"
00015 #include "CondTools/Ecal/interface/EcalCondHeader.h"
00016 #include <string>
00017 #include <xercesc/dom/DOMNode.hpp>
00018
00019 static const char CVSId__EcalGainRatiosXMLTranslator[] =
00020 "$Id: EcalGainRatiosXMLTranslator.h,v 1.2 2009/06/30 14:40:11 argiro Exp $";
00021
00022
00023
00024
00025 class EcalGainRatiosXMLTranslator {
00026
00027 public:
00028
00029
00030 static int readXML (const std::string& filename,
00031 EcalCondHeader& header,
00032 EcalGainRatios& record);
00033
00034 static int writeXML(const std::string& filename,
00035 const EcalCondHeader& header,
00036 const EcalGainRatios& record);
00037
00038 static std::string dumpXML(const EcalCondHeader& header,
00039 const EcalGainRatios& record);
00040
00041
00042 };
00043
00044
00045
00046 #endif // __EcalGainRatiosXMLTranslator_h_
00047
00048
00049
00050
00051
00052