1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
6 process.load(
"CondCore.CondDB.CondDB_cfi")
10 process.CondDB.connect =
'sqlite_file:EBAlign.db' 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(
'EBAlignmentRcd'),
30 tag = cms.string(
'EBAlignment_zero_offline')
35 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
36 timetype = cms.string(
'runnumber'),
39 record = cms.string(
'EBAlignmentRcd'),
40 container = cms.string(
'EBAlignment')
46 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
48 process.p = cms.Path(process.prod*process.dbCopy)