File indexing completed on 2024-04-06 12:02:50
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __EcalTimeOffsetXMLTranslator_h_
0011 #define __EcalTimeOffsetXMLTranslator_h_
0012
0013 #include "CondTools/Ecal/interface/EcalCondHeader.h"
0014 #include <string>
0015
0016 class EcalTimeOffsetConstant;
0017
0018 class EcalTimeOffsetXMLTranslator {
0019 public:
0020 static int readXML(const std::string& filename, EcalCondHeader& header, EcalTimeOffsetConstant& record);
0021
0022 static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalTimeOffsetConstant& record);
0023
0024 private:
0025 static std::string dumpXML(const EcalCondHeader& header, const EcalTimeOffsetConstant& record);
0026 };
0027
0028 #endif