CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/CondTools/Ecal/interface/EcalDCSTowerStatusXMLTranslator.h

Go to the documentation of this file.
00001 
00008 #ifndef __EcalDCSTowerStatusXMLTranslator_h_
00009 #define __EcalDCSTowerStatusXMLTranslator_h_
00010 
00011 #include "CondFormats/EcalObjects/interface/EcalDCSTowerStatus.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__EcalDCSTowerStatusXMLTranslator[] = 
00019 "$Id: EcalDCSTowerStatusXMLTranslator.h,v 1.1 2010/07/29 16:44:59 fay Exp $";
00020 
00021 
00022 //class EcalDCSTowerStatus;
00023 
00024 class EcalDCSTowerStatusXMLTranslator {
00025 
00026 public:
00027 
00028   static int readXML (const std::string& filename, 
00029                       EcalCondHeader& header,
00030                       EcalDCSTowerStatus& record);
00031 
00032   static  int writeXML(const std::string& filename, 
00033                        const EcalCondHeader& header,
00034                        const EcalDCSTowerStatus& record);
00035 
00036   static std::string dumpXML(const EcalCondHeader& header,
00037                              const EcalDCSTowerStatus& record);
00038 
00039   static void plot(std::string, const EcalDCSTowerStatus& record);
00040 };
00041 
00042 #endif // __EcalDCSTowerStatusXMLTranslator_h_