1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"TEST")
5 process.load(
"EcalTrivialAlignment_cfi")
7 process.load(
"CondCore.CondDB.CondDB_cfi")
11 process.CondDB.connect =
'sqlite_file:ESAlign_2016.db' 13 process.MessageLogger = cms.Service(
"MessageLogger",
14 debugModules = cms.untracked.vstring(
'*'),
15 destinations = cms.untracked.vstring(
'cout')
18 process.source = cms.Source(
"EmptyIOVSource",
19 firstValue = cms.uint64(1),
20 lastValue = cms.uint64(1),
21 timetype = cms.string(
'runnumber'),
22 interval = cms.uint64(1)
25 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
27 timetype = cms.untracked.string(
'runnumber'),
30 record = cms.string(
'ESAlignmentRcd'),
31 tag = cms.string(
'ESAlignment_2016')
36 process.dbCopy = cms.EDAnalyzer(
"EcalDBCopy",
37 timetype = cms.string(
'runnumber'),
40 record = cms.string(
'ESAlignmentRcd'),
41 container = cms.string(
'ESAlignment')
47 process.prod = cms.EDAnalyzer(
"EcalTrivialObjectAnalyzer")
49 process.p = cms.Path(process.prod*process.dbCopy)