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