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