5 calibDB = cms.ESSource(
"PoolDBESSource",
7 timetype = cms.string(
'runnumber'),
8 toGet = cms.VPSet(cms.PSet(
9 record = cms.string(record),
10 tag = cms.string(tag),
11 label = cms.untracked.string(label)
13 connect = cms.string(connect),
14 authenticationMethod = cms.untracked.uint32(0))
16 if connect.find(
'oracle:') != -1: calibDB.DBParameters.authenticationPath =
'/afs/cern.ch/cms/DB/conddb'
17 setattr(process,moduleName,calibDB)
18 setattr(process,
"es_prefer_" + moduleName,cms.ESPrefer(
'PoolDBESSource',moduleName))