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