CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/CondTools/Ecal/interface/EcalTPGStripStatusXMLTranslator.h

Go to the documentation of this file.
00001 
00007 #ifndef __EcalTPGStripStatusXMLTranslator_h_
00008 #define __EcalTPGStripStatusXMLTranslator_h_
00009 
00010 #include "CondFormats/EcalObjects/interface/EcalTPGStripStatus.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__EcalTPGStripStatusXMLTranslator[] = 
00018 "$Id: EcalTPGStripStatusXMLTranslator.h,v 1.1 2011/06/22 12:52:05 fay Exp $";
00019 
00020 
00021 //class EcalTPGStripStatus;
00022 
00023 class EcalTPGStripStatusXMLTranslator {
00024 
00025 public:
00026 
00027   static int readXML (const std::string& filename, 
00028                       EcalCondHeader& header,
00029                       EcalTPGStripStatus& record);
00030 
00031   static  int writeXML(const std::string& filename, 
00032                        const EcalCondHeader& header,
00033                        const EcalTPGStripStatus& record);
00034 
00035   static std::string dumpXML(const EcalCondHeader& header,
00036                              const EcalTPGStripStatus& record);
00037 
00038 };
00039 
00040 #endif // __EcalTPGStripStatusXMLTranslator_h_