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.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("PoolSource",
16  fileNames = cms.untracked.vstring()
17 )
18 
19 process.maxEvents = cms.untracked.PSet(
20  input = cms.untracked.int32(-1)
21 )
22 
23 process.load("CalibMuon.DTCalibration.dt_offlineAnalysis_common_cff")
24 
25 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
26  DBParameters = cms.PSet(),
27  timetype = cms.untracked.string('runnumber'),
28  connect = cms.string('sqlite_file:noise.db'),
29  authenticationMethod = cms.untracked.uint32(0),
30  toPut = cms.VPSet(
31  cms.PSet(
32  record = cms.string('DTStatusFlagRcd'),
33  tag = cms.string('noise')
34  )
35  )
36 )
37 
38 process.load("CalibMuon.DTCalibration.dtNoiseCalibration_cfi")
39 
40 #process.p = cms.Path(process.muonDTDigis*dtNoiseCalibration)
41 process.p = cms.Path(process.dtNoiseCalibration)