CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/CondTools/Ecal/interface/EcalTimeOffsetXMLTranslator.h

Go to the documentation of this file.
00001 
00010 #ifndef __EcalTimeOffsetXMLTranslator_h_
00011 #define __EcalTimeOffsetXMLTranslator_h_
00012 
00013 
00014 #include "CondTools/Ecal/interface/XercesString.h"
00015 #include "CondTools/Ecal/interface/EcalCondHeader.h"
00016 #include <string>
00017 
00018 
00019 static const char CVSId__EcalTimeOffsetXMLTranslator[] = 
00020 "$Id: EcalTimeOffsetXMLTranslator.h,v 1.1 2011/03/22 16:13:04 argiro Exp $";
00021 
00022 
00023 class EcalTimeOffsetConstant;
00024 
00025 class EcalTimeOffsetXMLTranslator {
00026 
00027 public:
00028 
00029   static int readXML  (const std::string& filename, 
00030                        EcalCondHeader& header,
00031                        EcalTimeOffsetConstant& record);
00032 
00033   static int writeXML (const std::string& filename,
00034                        const EcalCondHeader& header,
00035                        const EcalTimeOffsetConstant& record);
00036 
00037   static std::string dumpXML(const EcalCondHeader& header,
00038                              const EcalTimeOffsetConstant& record);
00039 };
00040 
00041 
00042 
00043 #endif // __EcalTimeOffsetXMLTranslator_h_
00044