1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"DumpDBToFile")
5 process.load(
"CondCore.CondDB.CondDB_cfi")
7 process.source = cms.Source(
"EmptySource",
8 numberEventsInRun = cms.untracked.uint32(1),
9 firstRun = cms.untracked.uint32(1)
12 process.maxEvents = cms.untracked.PSet(
13 input = cms.untracked.int32(1)
16 process.calibDB = cms.ESSource(
"PoolDBESSource",
18 toGet = cms.VPSet(cms.PSet(
19 record = cms.string(
'DTTtrigRcd'),
20 tag = cms.string(
'ttrig')
23 process.calibDB.connect = cms.string(
'sqlite_file:ttrig.db')
25 process.dumpToFile = cms.EDAnalyzer(
"DumpDBToFile",
26 dbToDump = cms.untracked.string(
'TTrigDB'),
27 dbLabel = cms.untracked.string(
''),
28 calibFileConfig = cms.untracked.PSet(
29 nFields = cms.untracked.int32(5),
31 calibConstGranularity = cms.untracked.string(
'bySL')
33 outputFileName = cms.untracked.string(
'ttrig.txt')
36 process.p = cms.Path(process.dumpToFile)