00001 00007 #ifndef __EcalTPGCrystalStatusXMLTranslator_h_ 00008 #define __EcalTPGCrystalStatusXMLTranslator_h_ 00009 00010 #include "CondFormats/EcalObjects/interface/EcalTPGCrystalStatus.h" 00011 00012 #include "CondTools/Ecal/interface/XercesString.h" 00013 #include "CondTools/Ecal/interface/EcalCondHeader.h" 00014 #include <string> 00015 #include <xercesc/dom/DOMNode.hpp> 00016 00017 static const char CVSId__EcalTPGCrystalStatusXMLTranslator[] = 00018 "$Id: EcalTPGCrystalStatusXMLTranslator.h,v 1.1 2011/06/22 12:49:18 fay Exp $"; 00019 00020 00021 //class EcalTPGCrystalStatus; 00022 00023 class EcalTPGCrystalStatusXMLTranslator { 00024 00025 public: 00026 00027 static int writeXML(const std::string& filename, 00028 const EcalCondHeader& header, 00029 const EcalTPGCrystalStatus& record); 00030 00031 static std::string dumpXML(const EcalCondHeader& header, 00032 const EcalTPGCrystalStatus& record); 00033 00034 static void plot(std::string, const EcalTPGCrystalStatus& record); 00035 }; 00036 00037 #endif // __EcalTPGCrystalStatusXMLTranslator_h_