CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 
00010 #ifndef _EcalWeightGroupXMLTranslator_h_
00011 #define _EcalWeightGroupXMLTranslator_h_
00012 
00013 #include "CondTools/Ecal/interface/XMLTags.h"
00014 #include "CondTools/Ecal/interface/XercesString.h"
00015 #include "CondTools/Ecal/interface/EcalCondHeader.h"
00016 #include "CondFormats/EcalObjects/interface/EcalWeightXtalGroups.h"
00017 #include <xercesc/dom/DOMNode.hpp>
00018 #include <string>
00019 
00020 
00021 static const char CVSId__EcalWeightGroupXMLTranslator[] = 
00022 "$Id: EcalWeightGroupXMLTranslator.h,v 1.3 2009/06/30 16:15:16 argiro Exp $";
00023 
00024 
00025 
00026 class EcalWeightGroupXMLTranslator {
00027 
00028 public:
00029   
00030 
00031   static int readXML  (const std::string& filename, 
00032                        EcalCondHeader& header,
00033                        EcalWeightXtalGroups& record);
00034 
00035   static int writeXML (const std::string& filename,
00036                        const EcalCondHeader& header,
00037                        const EcalWeightXtalGroups& record);
00038 
00039   static std::string dumpXML (const EcalCondHeader& header,
00040                               const EcalWeightXtalGroups& record);
00041 
00042 };
00043 
00044 
00045 
00046 #endif // __EcalWeightGroupXMLTranslator_h_
00047 
00048 // Configure (x)emacs for this file ...
00049 // Local Variables:
00050 // mode:c++
00051 // compile-command: "cd ..; scram b"
00052 // End: