00001 import FWCore.ParameterSet.Config as cms 00002 00003 process = cms.Process("DTVDriftWriter") 00004 00005 process.load("CalibMuon.DTCalibration.messageLoggerDebug_cff") 00006 process.MessageLogger.debugModules = cms.untracked.vstring('dtVDriftMeanTimerWriter') 00007 00008 process.load("Configuration.StandardSequences.Geometry_cff") 00009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") 00010 process.GlobalTag.globaltag = '' 00011 00012 process.load("CondCore.DBCommon.CondDBSetup_cfi") 00013 00014 process.source = cms.Source("EmptySource", 00015 numberEventsInRun = cms.untracked.uint32(1), 00016 firstRun = cms.untracked.uint32(1) 00017 ) 00018 00019 process.maxEvents = cms.untracked.PSet( 00020 input = cms.untracked.int32(1) 00021 ) 00022 00023 process.PoolDBOutputService = cms.Service("PoolDBOutputService", 00024 process.CondDBSetup, 00025 timetype = cms.untracked.string('runnumber'), 00026 connect = cms.string('sqlite_file:vDrift.db'), 00027 authenticationMethod = cms.untracked.uint32(0), 00028 toPut = cms.VPSet(cms.PSet( 00029 record = cms.string('DTMtimeRcd'), 00030 tag = cms.string('vDrift') 00031 )) 00032 ) 00033 00034 process.load("CalibMuon.DTCalibration.dtVDriftMeanTimerWriter_cfi") 00035 00036 process.p = cms.Path(process.dtVDriftMeanTimerWriter)