File indexing completed on 2024-04-06 11:58:05
0001
0002
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
0014
0015
0016
0017 namespace HcalDbXml {
0018 bool dumpObject(std::ostream& fOutput,
0019 unsigned fRun,
0020 unsigned long fGMTIOVBegin,
0021 unsigned long fGMTIOVEnd,
0022 const std::string& fTag,
0023 unsigned fVersion,
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 unsigned fVersion,
0032 const HcalPedestals& fObject);
0033 inline bool dumpObject(std::ostream& fOutput,
0034 unsigned fRun,
0035 unsigned long fGMTIOVBegin,
0036 unsigned long fGMTIOVEnd,
0037 const std::string& fTag,
0038 unsigned fVersion,
0039 const HcalPedestalWidths& fObject) {
0040 return false;
0041 }
0042 bool dumpObject(std::ostream& fOutput,
0043 unsigned fRun,
0044 unsigned long fGMTIOVBegin,
0045 unsigned long fGMTIOVEnd,
0046 const std::string& fTag,
0047 unsigned fVersion,
0048 const HcalGains& fObject,
0049 const HcalGainWidths& fError);
0050 bool dumpObject(std::ostream& fOutput,
0051 unsigned fRun,
0052 unsigned long fGMTIOVBegin,
0053 unsigned long fGMTIOVEnd,
0054 const std::string& fTag,
0055 unsigned fVersion,
0056 const HcalGains& fObject);
0057 inline bool dumpObject(std::ostream& fOutput,
0058 unsigned fRun,
0059 unsigned long fGMTIOVBegin,
0060 unsigned long fGMTIOVEnd,
0061 const std::string& fTag,
0062 unsigned fVersion,
0063 const HcalGainWidths& fObject) {
0064 return false;
0065 }
0066 inline bool dumpObject(std::ostream& fOutput,
0067 unsigned fRun,
0068 unsigned long fGMTIOVBegin,
0069 unsigned long fGMTIOVEnd,
0070 const std::string& fTag,
0071 unsigned fVersion,
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 unsigned fVersion,
0081 const HcalQIEData& fObject) {
0082 return false;
0083 }
0084 inline bool dumpObject(std::ostream& fOutput,
0085 unsigned fRun,
0086 unsigned long fGMTIOVBegin,
0087 unsigned long fGMTIOVEnd,
0088 const std::string& fTag,
0089 unsigned fVersion,
0090 const HcalCalibrationQIEData& fObject) {
0091 return false;
0092 }
0093 inline bool dumpObject(std::ostream& fOutput,
0094 unsigned fRun,
0095 unsigned long fGMTIOVBegin,
0096 unsigned long fGMTIOVEnd,
0097 const std::string& fTag,
0098 unsigned fVersion,
0099 const HcalQIETypes& fObject) {
0100 return false;
0101 }
0102 inline bool dumpObject(std::ostream& fOutput,
0103 unsigned fRun,
0104 unsigned long fGMTIOVBegin,
0105 unsigned long fGMTIOVEnd,
0106 const std::string& fTag,
0107 unsigned fVersion,
0108 const HcalFrontEndMap& fObject) {
0109 return false;
0110 }
0111 bool dumpObject(std::ostream& fOutput,
0112 unsigned fRun,
0113 unsigned long fGMTIOVBegin,
0114 unsigned long fGMTIOVEnd,
0115 const std::string& fTag,
0116 unsigned fVersion,
0117 const HcalSiPMParameters& fObject);
0118 bool dumpObject(std::ostream& fOutput,
0119 unsigned fRun,
0120 unsigned long fGMTIOVBegin,
0121 unsigned long fGMTIOVEnd,
0122 const std::string& fTag,
0123 unsigned fVersion,
0124 const HcalSiPMCharacteristics& fObject);
0125 bool dumpObject(std::ostream& fOutput,
0126 unsigned fRun,
0127 unsigned long fGMTIOVBegin,
0128 unsigned long fGMTIOVEnd,
0129 const std::string& fTag,
0130 unsigned fVersion,
0131 const HcalTPParameters& fObject);
0132 bool dumpObject(std::ostream& fOutput,
0133 unsigned fRun,
0134 unsigned long fGMTIOVBegin,
0135 unsigned long fGMTIOVEnd,
0136 const std::string& fTag,
0137 unsigned fVersion,
0138 const HcalTPChannelParameters& fObject);
0139 }
0140 #endif