1 import FWCore.ParameterSet.Config
as cms
2 from Configuration.StandardSequences.Eras
import eras
4 process = cms.Process(
"DTVDriftWriter",eras.Run3)
6 process.load(
"CalibMuon.DTCalibration.messageLoggerDebug_cff")
7 process.MessageLogger.debugModules = cms.untracked.vstring(
'dtVDriftMeanTimerWriter')
9 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
10 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
11 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
12 from Configuration.AlCa.autoCond
import autoCond
13 process.GlobalTag.globaltag=autoCond[
'run3_data']
15 process.load(
"CondCore.CondDB.CondDB_cfi")
17 process.source = cms.Source(
"EmptySource",
18 numberEventsInRun = cms.untracked.uint32(1),
19 firstRun = cms.untracked.uint32(1)
22 process.maxEvents = cms.untracked.PSet(
23 input = cms.untracked.int32(1)
26 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
28 timetype = cms.untracked.string(
'runnumber'),
29 toPut = cms.VPSet(cms.PSet(
30 record = cms.string(
'DTMtimeRcd'),
31 tag = cms.string(
'vDrift')
34 process.PoolDBOutputService.connect = cms.string(
'sqlite_file:vDrift.db')
36 process.load(
"CalibMuon.DTCalibration.dtVDriftMeanTimerWriter_cfi")
38 process.p = cms.Path(process.dtVDriftMeanTimerWriter)