Go to the documentation of this file.00001
00008 #ifndef __EcalPedestalsXMLTranslator_h_
00009 #define __EcalPedestalsXMLTranslator_h_
00010
00011 #include "CondFormats/EcalObjects/interface/EcalPedestals.h"
00012
00013 #include "CondTools/Ecal/interface/XercesString.h"
00014 #include "CondTools/Ecal/interface/EcalCondHeader.h"
00015 #include <string>
00016 #include <xercesc/dom/DOMNode.hpp>
00017
00018 static const char CVSId__EcalPedestalsXMLTranslator[] =
00019 "$Id: EcalPedestalsXMLTranslator.h,v 1.1 2010/05/20 09:42:39 fay Exp $";
00020
00021
00022
00023
00024 class EcalPedestalsXMLTranslator {
00025
00026 public:
00027
00028 static int readXML (const std::string& filename,
00029 EcalCondHeader& header,
00030 EcalPedestals& record);
00031
00032 static int writeXML(const std::string& filename,
00033 const EcalCondHeader& header,
00034 const EcalPedestals& record);
00035
00036 static std::string dumpXML(const EcalCondHeader& header,
00037 const EcalPedestals& record);
00038
00039 };
00040
00041 #endif // __EcalPedestalsXMLTranslator_h_