Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 /**
0002    Translates a EcalTimeBiasCorrections record to XML and vice versa
0003 */
0004 
0005 #ifndef __EcalTimeBiasCorrections_h_
0006 #define __EcalTimeBiasCorrections_h_
0007 
0008 #include "CondTools/Ecal/interface/EcalCondHeader.h"
0009 #include <string>
0010 
0011 class EcalTimeBiasCorrections;
0012 
0013 class EcalTimeBiasCorrectionsXMLTranslator {
0014 public:
0015   static int readXML(const std::string& filename, EcalCondHeader& header, EcalTimeBiasCorrections& record);
0016 
0017   static int writeXML(const std::string& filename, const EcalCondHeader& header, const EcalTimeBiasCorrections& record);
0018 
0019 private:
0020   static std::string dumpXML(const EcalCondHeader& header, const EcalTimeBiasCorrections& record);
0021 };
0022 
0023 #endif  // __EcalTimeBiasCorrectionsr_h_