1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"DTVDriftWriter")
5 process.load(
"CalibMuon.DTCalibration.messageLoggerDebug_cff")
6 process.MessageLogger.debugModules = cms.untracked.vstring(
'dtVDriftSegmentWriter')
8 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
9 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
10 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff")
11 process.GlobalTag.globaltag =
'' 13 process.load(
"CondCore.CondDB.CondDB_cfi")
15 process.source = cms.Source(
"EmptySource",
16 numberEventsInRun = cms.untracked.uint32(1),
17 firstRun = cms.untracked.uint32(1)
20 process.maxEvents = cms.untracked.PSet(
21 input = cms.untracked.int32(1)
24 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
26 timetype = cms.untracked.string(
'runnumber'),
27 toPut = cms.VPSet(cms.PSet(
28 record = cms.string(
'DTMtimeRcd'),
29 tag = cms.string(
'vDrift')
32 process.PoolDBOutputService.connect = cms.string(
'sqlite_file:vDrift.db')
34 process.load(
"CalibMuon.DTCalibration.dtVDriftSegmentWriter_cfi")
36 process.p = cms.Path(process.dtVDriftSegmentWriter)