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 from Configuration.AlCa.autoCond
import autoCond
16 process.GlobalTag.globaltag=autoCond[
'run3_data']
18 process.load(
"CondCore.CondDB.CondDB_cfi")
20 process.load(
"CalibMuon.DTCalibration.dtVDriftSegmentWriter_cfi")
22 process.source = cms.Source(
"EmptySource",
23 numberEventsInRun = cms.untracked.uint32(1),
24 firstRun = cms.untracked.uint32(1)
27 process.maxEvents = cms.untracked.PSet(
28 input = cms.untracked.int32(1)
33 RECORD =
'DTRecoConditionsVdriftRcd' 34 process.dtVDriftSegmentWriter.writeLegacyVDriftDB =
False 39 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
41 timetype = cms.untracked.string(
'runnumber'),
42 toPut = cms.VPSet(cms.PSet(
43 record = cms.string(RECORD),
44 tag = cms.string(
'vDrift')
47 process.PoolDBOutputService.connect = cms.string(
'sqlite_file:vDrift.db')
49 process.p = cms.Path(process.dtVDriftSegmentWriter)