Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:50

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