Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /**
0002    Translates an EcalTimeOffsetConstant record to XML
0003    and vice versa   
0004 
0005    \author Seth Cooper, University of Minnesota
0006    \version $Id: $
0007    \date 21 Mar 2011
0008 */
0009 
0010 #ifndef __EcalTimeOffsetXMLTranslator_h_
0011 #define __EcalTimeOffsetXMLTranslator_h_
0012 
0013 #include "CondTools/Ecal/interface/EcalCondHeader.h"
0014 #include <string>
0015 
0016 class EcalTimeOffsetConstant;
0017 
0018 class EcalTimeOffsetXMLTranslator {
0019 public:
0020   static int readXML(const std::string& filename, EcalCondHeader& header, EcalTimeOffsetConstant& record);
0021 
0022   static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalTimeOffsetConstant& record);
0023 
0024 private:
0025   static std::string dumpXML(const EcalCondHeader& header, const EcalTimeOffsetConstant& record);
0026 };
0027 
0028 #endif  // __EcalTimeOffsetXMLTranslator_h_