1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"DTVDriftWriter")
9 process.load(
"CalibMuon.DTCalibration.messageLoggerDebug_cff")
10 process.MessageLogger.debugModules = cms.untracked.vstring(
'dtVDriftSegmentWriter')
12 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
13 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
14 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
15 process.GlobalTag.globaltag =
''
17 process.load(
"CondCore.CondDB.CondDB_cfi")
19 process.load(
"CalibMuon.DTCalibration.dtVDriftSegmentWriter_cfi")
21 process.source = cms.Source(
"EmptySource",
22 numberEventsInRun = cms.untracked.uint32(1),
23 firstRun = cms.untracked.uint32(1)
26 process.maxEvents = cms.untracked.PSet(
27 input = cms.untracked.int32(1)
32 RECORD =
'DTRecoConditionsVdriftRcd'
33 process.dtVDriftSegmentWriter.writeLegacyVDriftDB =
False
38 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
40 timetype = cms.untracked.string(
'runnumber'),
41 toPut = cms.VPSet(cms.PSet(
42 record = cms.string(RECORD),
43 tag = cms.string(
'vDrift')
46 process.PoolDBOutputService.connect = cms.string(
'sqlite_file:vDrift.db')
48 process.p = cms.Path(process.dtVDriftSegmentWriter)