Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:49

0001 /**
0002    Translates a EcalClusterLocalContCorr record to XML
0003    and vice versa   
0004 */
0005 
0006 #ifndef __EcalClusterLocalContCorrXMLTranslator_h_
0007 #define __EcalClusterLocalContCorrXMLTranslator_h_
0008 
0009 #include "CondTools/Ecal/interface/EcalCondHeader.h"
0010 #include "CondFormats/EcalObjects/interface/EcalFunctionParameters.h"
0011 #include <string>
0012 
0013 class EcalClusterLocalContCorrXMLTranslator {
0014 public:
0015   static int readXML(const std::string& filename, EcalCondHeader& header, EcalFunParams& record);
0016 
0017   static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalFunParams& record);
0018 
0019 private:
0020   // dump the CMSSW object container to XML
0021   static std::string dumpXML(const EcalCondHeader& header, const EcalFunParams& record);
0022 };
0023 
0024 #endif  // __EcalClusterLocalContCorrXMLTranslator_h_