EcalADCToGeVXMLTranslator

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
/**
   Translates a EcalADCToGeVConstant record to XML
   and vice versa   

   \author Stefano ARGIRO
   \version $Id: EcalADCToGeVXMLTranslator.h,v 1.1 2008/11/14 15:46:05 argiro Exp $
   \date 20 Jun 2008
*/

#ifndef __EcalADCToGeVXMLTranslator_h_
#define __EcalADCToGeVXMLTranslator_h_

#include "CondTools/Ecal/interface/EcalCondHeader.h"
#include <string>

class EcalADCToGeVConstant;

class EcalADCToGeVXMLTranslator {
public:
  static int readXML(const std::string& filename, EcalCondHeader& header, EcalADCToGeVConstant& record);

  static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalADCToGeVConstant& record);

private:
  static std::string dumpXML(const EcalCondHeader& header, const EcalADCToGeVConstant& record);
};

#endif  // __EcalADCToGeVXMLTranslator_h_

// Configure (x)emacs for this file ...
// Local Variables:
// mode:c++
// compile-command: "cd ..; scram b"
// End: