CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.FrontierConditions_GlobalTag_condDBv2_cff")
10 process.GlobalTag.globaltag = ''
11 
12 process.load("CondCore.DBCommon.CondDBSetup_cfi")
13 
14 process.source = cms.Source("EmptySource",
15  numberEventsInRun = cms.untracked.uint32(1),
16  firstRun = cms.untracked.uint32(1)
17 )
18 
19 process.maxEvents = cms.untracked.PSet(
20  input = cms.untracked.int32(1)
21 )
22 
23 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
24  process.CondDBSetup,
25  timetype = cms.untracked.string('runnumber'),
26  connect = cms.string('sqlite_file:vDrift.db'),
27  authenticationMethod = cms.untracked.uint32(0),
28  toPut = cms.VPSet(cms.PSet(
29  record = cms.string('DTMtimeRcd'),
30  tag = cms.string('vDrift')
31  ))
32 )
33 
34 process.load("CalibMuon.DTCalibration.dtVDriftMeanTimerWriter_cfi")
35 
36 process.p = cms.Path(process.dtVDriftMeanTimerWriter)