CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/CalibMuon/DTCalibration/python/dtNoiseCalibration_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("Calibration")
00004 
00005 process.load("CalibMuon.DTCalibration.messageLoggerDebug_cff")
00006 process.MessageLogger.debugModules = ['dtNoiseCalibration']
00007 
00008 process.load("Configuration.StandardSequences.Geometry_cff")
00009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00010 process.GlobalTag.globaltag = ''
00011 
00012 process.load("CondCore.DBCommon.CondDBSetup_cfi")
00013 
00014 process.source = cms.Source("PoolSource",
00015     fileNames = cms.untracked.vstring()
00016 )
00017 
00018 process.maxEvents = cms.untracked.PSet(
00019     input = cms.untracked.int32(-1)
00020 )
00021 
00022 process.load("CalibMuon.DTCalibration.dt_offlineAnalysis_common_cff")
00023 
00024 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00025     DBParameters = cms.PSet(),
00026     timetype = cms.untracked.string('runnumber'),
00027     connect = cms.string('sqlite_file:noise.db'),
00028     authenticationMethod = cms.untracked.uint32(0),
00029     toPut = cms.VPSet(
00030         cms.PSet(
00031             record = cms.string('DTStatusFlagRcd'),
00032             tag = cms.string('noise')
00033         )
00034     )
00035 )
00036 
00037 process.load("CalibMuon.DTCalibration.dtNoiseCalibration_cfi")
00038 
00039 #process.p = cms.Path(process.muonDTDigis*dtNoiseCalibration)
00040 process.p = cms.Path(process.dtNoiseCalibration)