Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /**
0002    Translates a ESGain record to XML
0003 
0004    \version $Id: ESGainXMLTranslator.h,v 1. 2013/01/11 Exp $
0005    \date 11 Jan 2013
0006 */
0007 
0008 #ifndef __ESGainXMLTranslator_h_
0009 #define __ESGainXMLTranslator_h_
0010 
0011 #include "CondTools/Ecal/interface/EcalCondHeader.h"
0012 #include <string>
0013 
0014 class ESGain;
0015 
0016 class ESGainXMLTranslator {
0017 public:
0018   static int writeXML(const std::string& filename, const EcalCondHeader& header, const ESGain& record);
0019 
0020 private:
0021   static std::string dumpXML(const EcalCondHeader& header, const ESGain& record);
0022 };
0023 
0024 #endif  // __ESGainXMLTranslator_h_