File indexing completed on 2023-10-25 09:37:42
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef __EcalChannelStatusXMLTranslator_h_
0010 #define __EcalChannelStatusXMLTranslator_h_
0011
0012 #include "CondFormats/EcalObjects/interface/EcalChannelStatus.h"
0013 #include "CondTools/Ecal/interface/EcalCondHeader.h"
0014 #include <string>
0015
0016 class EcalChannelStatusXMLTranslator {
0017 public:
0018 static int readXML(const std::string& filename, EcalCondHeader& header, EcalChannelStatus& record);
0019
0020 static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalChannelStatus& record);
0021
0022 private:
0023 static std::string dumpXML(const EcalCondHeader& header, const EcalChannelStatus& record);
0024 };
0025
0026 #endif