CMS 3D CMS Logo

dtNoiseCalibration_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("Calibration")
4 
5 process.load("CalibMuon.DTCalibration.messageLoggerDebug_cff")
6 process.MessageLogger.debugModules = ['dtNoiseCalibration']
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("PoolSource",
15  fileNames = cms.untracked.vstring()
16 )
17 
18 process.maxEvents = cms.untracked.PSet(
19  input = cms.untracked.int32(-1)
20 )
21 
22 process.load("CalibMuon.DTCalibration.dt_offlineAnalysis_common_cff")
23 
24 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
25  DBParameters = cms.PSet(),
26  timetype = cms.untracked.string('runnumber'),
27  connect = cms.string('sqlite_file:noise.db'),
28  authenticationMethod = cms.untracked.uint32(0),
29  toPut = cms.VPSet(
30  cms.PSet(
31  record = cms.string('DTStatusFlagRcd'),
32  tag = cms.string('noise')
33  )
34  )
35 )
36 
37 process.load("CalibMuon.DTCalibration.dtNoiseCalibration_cfi")
38 
39 #process.p = cms.Path(process.muonDTDigis*dtNoiseCalibration)
40 process.p = cms.Path(process.dtNoiseCalibration)