Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-02-24 03:08:06

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.StandardSequences.Eras import eras
0003 
0004 process = cms.Process("DTVDriftWriter",eras.Run3)
0005 
0006 process.load("CalibMuon.DTCalibration.messageLoggerDebug_cff")
0007 process.MessageLogger.debugModules = cms.untracked.vstring('dtVDriftMeanTimerWriter')
0008 
0009 process.load("Configuration.StandardSequences.GeometryDB_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0011 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0012 from Configuration.AlCa.autoCond import autoCond
0013 process.GlobalTag.globaltag=autoCond['run3_data']
0014 
0015 process.load("CondCore.CondDB.CondDB_cfi")
0016 
0017 process.source = cms.Source("EmptySource",
0018     numberEventsInRun = cms.untracked.uint32(1),
0019     firstRun = cms.untracked.uint32(1)
0020 )
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(1)
0024 )
0025 
0026 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0027     process.CondDB,
0028     timetype = cms.untracked.string('runnumber'),
0029     toPut = cms.VPSet(cms.PSet(
0030         record = cms.string('DTMtimeRcd'),
0031         tag = cms.string('vDrift')
0032     ))
0033 )
0034 process.PoolDBOutputService.connect = cms.string('sqlite_file:vDrift.db')
0035 
0036 process.load("CalibMuon.DTCalibration.dtVDriftMeanTimerWriter_cfi")
0037 
0038 process.p = cms.Path(process.dtVDriftMeanTimerWriter)