1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"TEST")
4 process.load(
"CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi")
6 process.load(
"CondCore.DBCommon.CondDBCommon_cfi")
9 process.CondDBCommon.connect =
'sqlite_file:EBAlign.db' 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",
25 timetype = cms.untracked.string(
'runnumber'),
28 record = cms.string(
'EBAlignmentRcd'),
29 tag = cms.string(
'EBAlignment_zero_offline')
34 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
35 timetype = cms.string(
'runnumber'),
38 record = cms.string(
'EBAlignmentRcd'),
39 container = cms.string(
'EBAlignment')
45 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
47 process.p = cms.Path(process.prod*process.dbCopy)