00001 import FWCore.ParameterSet.Config as cms
00002
00003 from CondCore.DBCommon.CondDBCommon_cfi import *
00004 from CondCore.DBCommon.CondDBSetup_cfi import *
00005 hcal_db_producer = cms.ESProducer("HcalDbProducer",
00006 dump = cms.untracked.vstring(''),
00007 file = cms.untracked.string('')
00008 )
00009
00010 es_pool = cms.ESSource("PoolDBESSource",
00011 condDBSetup,
00012 timetype = cms.string('runnumber'),
00013 toGet = cms.VPSet(cms.PSet(
00014 record = cms.string('HcalPedestalsRcd'),
00015 tag = cms.string('hcal_pedestals_fC_v5_mc')
00016 ),
00017 cms.PSet(
00018 record = cms.string('HcalPedestalWidthsRcd'),
00019 tag = cms.string('hcal_widths_fC_v5_mc')
00020 ),
00021 cms.PSet(
00022 record = cms.string('HcalGainsRcd'),
00023 tag = cms.string('hcal_gains_v2_physics_50_mc')
00024 ),
00025 cms.PSet(
00026 record = cms.string('HcalQIEDataRcd'),
00027 tag = cms.string('qie_normalmode_v5_mc')
00028 ),
00029 cms.PSet(
00030 record = cms.string('HcalElectronicsMapRcd'),
00031 tag = cms.string('official_emap_v5_080208_mc')
00032 )),
00033 connect = cms.string('frontier://FrontierDev/CMS_COND_HCAL'),
00034
00035 authenticationMethod = cms.untracked.uint32(0)
00036 )
00037
00038 es_hardcode = cms.ESSource("HcalHardcodeCalibrations",
00039 toGet = cms.untracked.vstring('GainWidths',
00040 'ChannelQuality',
00041 'ZSThresholds',
00042 'RespCorrs')
00043 )
00044
00045 condDBCommon.connect = 'oracle://cms_orcoff_int2r/CMS_COND_HCAL'
00046
00047 condDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb'
00048 condDBCommon.timetype = 'runnumber'
00049