Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /**
0002    Translates a EcalAlignmentConstant record to XML
0003    and vice versa   
0004 
0005    \author Jean Fay
0006    \version $Id: EcalAlignmentXMLTranslator.h,v 1.1 2010/10/15 17:13:36 fay Exp $
0007    \date 14 Sept 2010
0008 */
0009 
0010 #ifndef __EcalAlignmentXMLTranslator_h_
0011 #define __EcalAlignmentXMLTranslator_h_
0012 
0013 #include "CondTools/Ecal/interface/EcalCondHeader.h"
0014 #include <string>
0015 
0016 class Alignments;
0017 
0018 class EcalAlignmentXMLTranslator {
0019 public:
0020   static int writeXML(const std::string& filename, const EcalCondHeader& header, const Alignments& record);
0021 
0022 private:
0023   static std::string dumpXML(const EcalCondHeader& header, const Alignments& record);
0024 };
0025 
0026 #endif  // __EcalAlignmentXMLTranslator_h_