3 process = cms.Process(
"DumpDBToFile")
5 process.load(
"CondCore.DBCommon.CondDBSetup_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 authenticationMethod = cms.untracked.uint32(0),
19 toGet = cms.VPSet(cms.PSet(
20 record = cms.string(
'DTMtimeRcd'),
21 tag = cms.string(
'vDrift')
23 connect = cms.string(
'sqlite_file:vDrift.db')
26 process.dumpToFile = cms.EDAnalyzer(
"DumpDBToFile",
28 dbToDump = cms.untracked.string(
'VDriftDB'),
29 calibFileConfig = cms.untracked.PSet(
30 nFields = cms.untracked.int32(5),
32 calibConstGranularity = cms.untracked.string(
'bySL')
34 outputFileName = cms.untracked.string(
'vDrift.txt')
37 process.p = cms.Path(process.dumpToFile)