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(
'dtVDriftMeanTimerWriter')
8 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
9 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
10 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
11 from Configuration.AlCa.autoCond
import autoCond
12 process.GlobalTag.globaltag=autoCond[
'run3_data']
14 process.load(
"CondCore.CondDB.CondDB_cfi")
16 process.source = cms.Source(
"EmptySource",
17 numberEventsInRun = cms.untracked.uint32(1),
18 firstRun = cms.untracked.uint32(1)
21 process.maxEvents = cms.untracked.PSet(
22 input = cms.untracked.int32(1)
25 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
27 timetype = cms.untracked.string(
'runnumber'),
28 toPut = cms.VPSet(cms.PSet(
29 record = cms.string(
'DTMtimeRcd'),
30 tag = cms.string(
'vDrift')
33 process.PoolDBOutputService.connect = cms.string(
'sqlite_file:vDrift.db')
35 process.load(
"CalibMuon.DTCalibration.dtVDriftMeanTimerWriter_cfi")
37 process.p = cms.Path(process.dtVDriftMeanTimerWriter)