00001 00010 #ifndef __EcalADCToGeVXMLTranslator_h_ 00011 #define __EcalADCToGeVXMLTranslator_h_ 00012 00013 00014 #include "CondTools/Ecal/interface/XercesString.h" 00015 #include "CondTools/Ecal/interface/EcalCondHeader.h" 00016 #include <string> 00017 00018 00019 static const char CVSId__EcalADCToGeVXMLTranslator[] = 00020 "$Id: EcalADCToGeVXMLTranslator.h,v 1.2 2009/06/30 14:40:11 argiro Exp $"; 00021 00022 00023 class EcalADCToGeVConstant; 00024 00025 class EcalADCToGeVXMLTranslator { 00026 00027 public: 00028 00029 static int readXML (const std::string& filename, 00030 EcalCondHeader& header, 00031 EcalADCToGeVConstant& record); 00032 00033 static int writeXML (const std::string& filename, 00034 const EcalCondHeader& header, 00035 const EcalADCToGeVConstant& record); 00036 00037 static std::string dumpXML(const EcalCondHeader& header, 00038 const EcalADCToGeVConstant& record); 00039 }; 00040 00041 00042 00043 #endif // __EcalADCToGeVXMLTranslator_h_ 00044 00045 // Configure (x)emacs for this file ... 00046 // Local Variables: 00047 // mode:c++ 00048 // compile-command: "cd ..; scram b" 00049 // End: