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