Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /**
0002    Translates a EcalADCToGeVConstant record to XML
0003    and vice versa   
0004 
0005    \author Stefano ARGIRO
0006    \version $Id: EcalADCToGeVXMLTranslator.h,v 1.1 2008/11/14 15:46:05 argiro Exp $
0007    \date 20 Jun 2008
0008 */
0009 
0010 #ifndef __EcalADCToGeVXMLTranslator_h_
0011 #define __EcalADCToGeVXMLTranslator_h_
0012 
0013 #include "CondTools/Ecal/interface/EcalCondHeader.h"
0014 #include <string>
0015 
0016 class EcalADCToGeVConstant;
0017 
0018 class EcalADCToGeVXMLTranslator {
0019 public:
0020   static int readXML(const std::string& filename, EcalCondHeader& header, EcalADCToGeVConstant& record);
0021 
0022   static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalADCToGeVConstant& record);
0023 
0024 private:
0025   static std::string dumpXML(const EcalCondHeader& header, const EcalADCToGeVConstant& record);
0026 };
0027 
0028 #endif  // __EcalADCToGeVXMLTranslator_h_
0029 
0030 // Configure (x)emacs for this file ...
0031 // Local Variables:
0032 // mode:c++
0033 // compile-command: "cd ..; scram b"
0034 // End: