00001 // 00002 // F.Ratnikov (UMd), Dec. 14, 2005 00003 // 00004 #ifndef HcalDbHardcodeIn_h 00005 #define HcalDbHardcodeIn_h 00006 00007 #include "DataFormats/HcalDetId/interface/HcalGenericDetId.h" 00008 #include "DataFormats/HcalDetId/interface/HcalDetId.h" 00009 #include "DataFormats/HcalDetId/interface/HcalZDCDetId.h" 00010 #include "CondFormats/HcalObjects/interface/HcalPedestal.h" 00011 #include "CondFormats/HcalObjects/interface/HcalPedestalWidth.h" 00012 #include "CondFormats/HcalObjects/interface/HcalGain.h" 00013 #include "CondFormats/HcalObjects/interface/HcalGainWidth.h" 00014 #include "CondFormats/HcalObjects/interface/HcalQIECoder.h" 00015 #include "CondFormats/HcalObjects/interface/HcalQIEShape.h" 00016 #include "CondFormats/HcalObjects/interface/HcalCalibrationQIECoder.h" 00017 #include "CondFormats/HcalObjects/interface/HcalElectronicsMap.h" 00018 #include "DataFormats/HcalDetId/interface/HcalDcsDetId.h" 00019 #include "CondFormats/HcalObjects/interface/HcalDcsMap.h" 00020 #include "CondFormats/HcalObjects/interface/HcalRecoParam.h" 00021 00022 00030 namespace HcalDbHardcode { 00031 HcalPedestal makePedestal (HcalGenericDetId fId, bool fSmear = false); 00032 HcalPedestalWidth makePedestalWidth (HcalGenericDetId fId); 00033 HcalGain makeGain (HcalGenericDetId fId, bool fSmear = false); 00034 HcalGainWidth makeGainWidth (HcalGenericDetId fId); 00035 HcalQIECoder makeQIECoder (HcalGenericDetId fId); 00036 HcalCalibrationQIECoder makeCalibrationQIECoder (HcalGenericDetId fId); 00037 HcalQIEShape makeQIEShape (); 00038 HcalRecoParam makeRecoParam (HcalGenericDetId fId); 00039 void makeHardcodeMap(HcalElectronicsMap& emap); 00040 void makeHardcodeDcsMap(HcalDcsMap& dcs_map); 00041 } 00042 #endif