CMS 3D CMS Logo

dtVDriftMeanTimerWriter_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("DTVDriftWriter")
4 
5 process.load("CalibMuon.DTCalibration.messageLoggerDebug_cff")
6 process.MessageLogger.debugModules = cms.untracked.vstring('dtVDriftMeanTimerWriter')
7 
8 process.load("Configuration.StandardSequences.GeometryDB_cff")
9 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
10 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff")
11 process.GlobalTag.globaltag = ''
12 
13 process.load("CondCore.CondDB.CondDB_cfi")
14 
15 process.source = cms.Source("EmptySource",
16  numberEventsInRun = cms.untracked.uint32(1),
17  firstRun = cms.untracked.uint32(1)
18 )
19 
20 process.maxEvents = cms.untracked.PSet(
21  input = cms.untracked.int32(1)
22 )
23 
24 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
25  process.CondDB,
26  timetype = cms.untracked.string('runnumber'),
27  toPut = cms.VPSet(cms.PSet(
28  record = cms.string('DTMtimeRcd'),
29  tag = cms.string('vDrift')
30  ))
31 )
32 process.PoolDBOutputService.connect = cms.string('sqlite_file:vDrift.db')
33 
34 process.load("CalibMuon.DTCalibration.dtVDriftMeanTimerWriter_cfi")
35 
36 process.p = cms.Path(process.dtVDriftMeanTimerWriter)