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 cerr = cms.untracked.PSet(
14 enable = cms.untracked.bool(
False)
16 cout = cms.untracked.PSet(
17 enable = cms.untracked.bool(
True)
19 debugModules = cms.untracked.vstring(
'*')
22 process.source = cms.Source(
"EmptyIOVSource",
23 firstValue = cms.uint64(1),
24 lastValue = cms.uint64(1),
25 timetype = cms.string(
'runnumber'),
26 interval = cms.uint64(1)
29 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
31 timetype = cms.untracked.string(
'runnumber'),
34 record = cms.string(
'EBAlignmentRcd'),
35 tag = cms.string(
'EBAlignment_zero_offline')
40 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
41 timetype = cms.string(
'runnumber'),
44 record = cms.string(
'EBAlignmentRcd'),
45 container = cms.string(
'EBAlignment')
51 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
53 process.p = cms.Path(process.prod*process.dbCopy)