3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
6 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
7 process.CondDBCommon.connect =
'oracle://cms_orcoff_prep/CMS_COND_ECAL'
8 process.CondDBCommon.DBParameters.authenticationPath =
'/afs/cern.ch/cms/DB/conddb/'
11 process.MessageLogger = cms.Service(
"MessageLogger",
12 debugModules = cms.untracked.vstring(
'*'),
13 destinations = cms.untracked.vstring(
'cout')
16 process.source = cms.Source(
"EmptyIOVSource",
17 firstValue = cms.uint64(1),
18 lastValue = cms.uint64(1),
19 timetype = cms.string(
'runnumber'),
20 interval = cms.uint64(1)
23 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
27 record = cms.string(
'EcalSampleMaskRcd'),
28 tag = cms.string(
'EcalSampleMask_offline')
33 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
34 timetype = cms.string(
'runnumber'),
37 record = cms.string(
'EcalSampleMaskRcd'),
38 container = cms.string(
'EcalSampleMask')
43 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
45 process.p = cms.Path(process.prod*process.dbCopy)