Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:33

0001 #ifndef CastorDbXml_h
0002 #define CastorDbXml_h
0003 
0004 #include <iostream>
0005 
0006 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
0007 //#include "CondFormats/CastorObjects/interface/AllClasses.h"
0008 #include "CondFormats/CastorObjects/interface/AllObjects.h"
0009 
0010 /**
0011    \brief IO for XML instances of Hcal/Castor Calibrations
0012 */
0013 namespace CastorDbXml {
0014   bool dumpObject(std::ostream& fOutput,
0015                   unsigned fRun,
0016                   unsigned long fGMTIOVBegin,
0017                   unsigned long fGMTIOVEnd,
0018                   const std::string& fTag,
0019                   unsigned fVersion,
0020                   const CastorPedestals& fObject,
0021                   const CastorPedestalWidths& fError);
0022   bool dumpObject(std::ostream& fOutput,
0023                   unsigned fRun,
0024                   unsigned long fGMTIOVBegin,
0025                   unsigned long fGMTIOVEnd,
0026                   const std::string& fTag,
0027                   unsigned fVersion,
0028                   const CastorPedestals& fObject);
0029   inline bool dumpObject(std::ostream& fOutput,
0030                          unsigned fRun,
0031                          unsigned long fGMTIOVBegin,
0032                          unsigned long fGMTIOVEnd,
0033                          const std::string& fTag,
0034                          unsigned fVersion,
0035                          const CastorPedestalWidths& fObject) {
0036     return false;
0037   }
0038   bool dumpObject(std::ostream& fOutput,
0039                   unsigned fRun,
0040                   unsigned long fGMTIOVBegin,
0041                   unsigned long fGMTIOVEnd,
0042                   const std::string& fTag,
0043                   unsigned fVersion,
0044                   const CastorGains& fObject,
0045                   const CastorGainWidths& fError);
0046   bool dumpObject(std::ostream& fOutput,
0047                   unsigned fRun,
0048                   unsigned long fGMTIOVBegin,
0049                   unsigned long fGMTIOVEnd,
0050                   const std::string& fTag,
0051                   unsigned fVersion,
0052                   const CastorGains& fObject);
0053   inline bool dumpObject(std::ostream& fOutput,
0054                          unsigned fRun,
0055                          unsigned long fGMTIOVBegin,
0056                          unsigned long fGMTIOVEnd,
0057                          const std::string& fTag,
0058                          unsigned fVersion,
0059                          const CastorGainWidths& fObject) {
0060     return false;
0061   }
0062   inline bool dumpObject(std::ostream& fOutput,
0063                          unsigned fRun,
0064                          unsigned long fGMTIOVBegin,
0065                          unsigned long fGMTIOVEnd,
0066                          const std::string& fTag,
0067                          unsigned fVersion,
0068                          const CastorElectronicsMap& fObject) {
0069     return false;
0070   }
0071   inline bool dumpObject(std::ostream& fOutput,
0072                          unsigned fRun,
0073                          unsigned long fGMTIOVBegin,
0074                          unsigned long fGMTIOVEnd,
0075                          const std::string& fTag,
0076                          unsigned fVersion,
0077                          const CastorQIEData& fObject) {
0078     return false;
0079   }
0080   inline bool dumpObject(std::ostream& fOutput,
0081                          unsigned fRun,
0082                          unsigned long fGMTIOVBegin,
0083                          unsigned long fGMTIOVEnd,
0084                          const std::string& fTag,
0085                          unsigned fVersion,
0086                          const CastorCalibrationQIEData& fObject) {
0087     return false;
0088   }
0089 }  // namespace CastorDbXml
0090 #endif