Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /**
0002    Translates a EcalChannelStatus record to XML
0003    and vice versa   
0004    \author Francesco RUBBO
0005    \version $Id: EcalChannelStatusXMLTranslator.h,v 1.1 2008/11/14 15:46:05 argiro Exp $
0006    \date 29 Jul 2008
0007 */
0008 
0009 #ifndef __EcalChannelStatusXMLTranslator_h_
0010 #define __EcalChannelStatusXMLTranslator_h_
0011 
0012 #include "CondFormats/EcalObjects/interface/EcalChannelStatus.h"
0013 #include "CondTools/Ecal/interface/EcalCondHeader.h"
0014 #include <string>
0015 
0016 class EcalChannelStatusXMLTranslator {
0017 public:
0018   static int readXML(const std::string& filename, EcalCondHeader& header, EcalChannelStatus& record);
0019 
0020   static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalChannelStatus& record);
0021 
0022 private:
0023   static std::string dumpXML(const EcalCondHeader& header, const EcalChannelStatus& record);
0024 };
0025 
0026 #endif  // __EcalChannelStatusXMLTranslator_h_