3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
5 process.EcalTrivialConditionRetriever.laserAPDPNTime1 = cms.untracked.string(
'0')
6 process.EcalTrivialConditionRetriever.laserAPDPNTime2 = cms.untracked.string(
'1')
7 process.EcalTrivialConditionRetriever.laserAPDPNTime3 = cms.untracked.string(
'2')
9 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
11 process.CondDBCommon.DBParameters.authenticationPath =
'/afs/cern.ch/cms/DB/conddb/'
12 process.CondDBCommon.connect =
'sqlite_file:DB.db'
14 process.MessageLogger = cms.Service(
"MessageLogger",
15 debugModules = cms.untracked.vstring(
'*'),
16 destinations = cms.untracked.vstring(
'cout')
19 process.source = cms.Source(
"EmptyIOVSource",
20 firstValue = cms.uint64(1),
21 lastValue = cms.uint64(1),
22 timetype = cms.string(
'runnumber'),
23 interval = cms.uint64(1)
29 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
31 timetype = cms.untracked.string(
'timestamp'),
34 record = cms.string(
'EcalLaserAlphasRcd'),
35 tag = cms.string(
'EcalLaserAlphas_mc')
38 record = cms.string(
'EcalLaserAPDPNRatiosRcd'),
39 tag = cms.string(
'EcalLaserAPDPNRatios_mc')
42 record = cms.string(
'EcalLaserAPDPNRatiosRefRcd'),
43 tag = cms.string(
'EcalLaserAPDPNRatiosRef_mc')
50 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
51 timetype = cms.string(
'timestamp'),
54 record = cms.string(
'EcalLaserAlphasRcd'),
55 container = cms.string(
'EcalLaserAlphas')
58 record = cms.string(
'EcalLaserAPDPNRatiosRcd'),
59 container = cms.string(
'EcalLaserAPDPNRatios')
62 record = cms.string(
'EcalLaserAPDPNRatiosRefRcd'),
63 container = cms.string(
'EcalLaserAPDPNRatiosRef')
67 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
69 process.p = cms.Path(process.prod*process.dbCopy)