Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-18 23:26:45

0001 //
0002 // F.Ratnikov (UMd), Nov 1, 2005
0003 //
0004 #ifndef HcalDbXml_h
0005 #define HcalDbXml_h
0006 
0007 #include <iostream>
0008 
0009 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
0010 #include "CondFormats/HcalObjects/interface/AllObjects.h"
0011 
0012 /**
0013    \brief IO for XML instances of Hcal Calibrations
0014    \author Fedor Ratnikov Oct. 28, 2005
0015    $Id: HcalDbXml.h,v 1.4 2007/10/22 19:09:59 fedor Exp $
0016    
0017 */
0018 namespace HcalDbXml {
0019   bool dumpObject(std::ostream& fOutput,
0020                   unsigned fRun,
0021                   unsigned long fGMTIOVBegin,
0022                   unsigned long fGMTIOVEnd,
0023                   const std::string& fTag,
0024                   const HcalPedestals& fObject,
0025                   const HcalPedestalWidths& fError);
0026   bool dumpObject(std::ostream& fOutput,
0027                   unsigned fRun,
0028                   unsigned long fGMTIOVBegin,
0029                   unsigned long fGMTIOVEnd,
0030                   const std::string& fTag,
0031                   const HcalPedestals& fObject);
0032   inline bool dumpObject(std::ostream& fOutput,
0033                          unsigned fRun,
0034                          unsigned long fGMTIOVBegin,
0035                          unsigned long fGMTIOVEnd,
0036                          const std::string& fTag,
0037                          const HcalPedestalWidths& fObject) {
0038     return false;
0039   }
0040   bool dumpObject(std::ostream& fOutput,
0041                   unsigned fRun,
0042                   unsigned long fGMTIOVBegin,
0043                   unsigned long fGMTIOVEnd,
0044                   const std::string& fTag,
0045                   const HcalGains& fObject,
0046                   const HcalGainWidths& fError);
0047   bool dumpObject(std::ostream& fOutput,
0048                   unsigned fRun,
0049                   unsigned long fGMTIOVBegin,
0050                   unsigned long fGMTIOVEnd,
0051                   const std::string& fTag,
0052                   const HcalGains& fObject);
0053   bool dumpObject(std::ostream& fOutput,
0054                   unsigned fRun,
0055                   unsigned long fGMTIOVBegin,
0056                   unsigned long fGMTIOVEnd,
0057                   const std::string& fTag,
0058                   const HcalRawGains& fObject);
0059   inline bool dumpObject(std::ostream& fOutput,
0060                          unsigned fRun,
0061                          unsigned long fGMTIOVBegin,
0062                          unsigned long fGMTIOVEnd,
0063                          const std::string& fTag,
0064                          const HcalGainWidths& fObject) {
0065     return false;
0066   }
0067   inline bool dumpObject(std::ostream& fOutput,
0068                          unsigned fRun,
0069                          unsigned long fGMTIOVBegin,
0070                          unsigned long fGMTIOVEnd,
0071                          const std::string& fTag,
0072                          const HcalElectronicsMap& fObject) {
0073     return false;
0074   }
0075   inline bool dumpObject(std::ostream& fOutput,
0076                          unsigned fRun,
0077                          unsigned long fGMTIOVBegin,
0078                          unsigned long fGMTIOVEnd,
0079                          const std::string& fTag,
0080                          const HcalQIEData& fObject) {
0081     return false;
0082   }
0083   inline bool dumpObject(std::ostream& fOutput,
0084                          unsigned fRun,
0085                          unsigned long fGMTIOVBegin,
0086                          unsigned long fGMTIOVEnd,
0087                          const std::string& fTag,
0088                          const HcalCalibrationQIEData& fObject) {
0089     return false;
0090   }
0091 }  // namespace HcalDbXml
0092 #endif