1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
5 process.load(
"EcalTrivialAlpha_cfi")
7 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
8 process.CondDBCommon.connect =
'oracle://cms_orcon_prod/CMS_COND_43X_ECAL'
9 process.CondDBCommon.DBParameters.authenticationPath =
'/nfshome0/popcondev/conddb'
12 process.MessageLogger = cms.Service(
"MessageLogger",
13 debugModules = cms.untracked.vstring(
'*'),
14 destinations = cms.untracked.vstring(
'cout')
17 process.source = cms.Source(
"EmptyIOVSource",
18 firstValue = cms.uint64(1),
19 lastValue = cms.uint64(1),
20 timetype = cms.string(
'runnumber'),
21 interval = cms.uint64(1)
24 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
26 timetype = cms.untracked.string(
'runnumber'),
29 record = cms.string(
'EcalLaserAlphasRcd'),
30 tag = cms.string(
'EcalLaserAlphas_v2_hlt')
33 record = cms.string(
'EcalLaserAPDPNRatiosRcd'),
34 tag = cms.string(
'EcalLaserAPDPNRatios_v2_hlt')
37 record = cms.string(
'EcalLaserAPDPNRatiosRefRcd'),
38 tag = cms.string(
'EcalLaserAPDPNRatiosRef_v2_hlt')
43 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
44 timetype = cms.string(
'runnumber'),
47 record = cms.string(
'EcalLaserAlphasRcd'),
48 container = cms.string(
'EcalLaserAlphas')
51 record = cms.string(
'EcalLaserAPDPNRatiosRcd'),
52 container = cms.string(
'EcalLaserAPDPNRatios')
55 record = cms.string(
'EcalLaserAPDPNRatiosRefRcd'),
56 container = cms.string(
'EcalLaserAPDPNRatiosRef')
61 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
63 process.p = cms.Path(process.prod*process.dbCopy)