CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CondTools/Ecal/interface/EcalDAQTowerStatusXMLTranslator.h

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