Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DTTTrigCorrection")
0004 
0005 process.load("CalibMuon.DTCalibration.messageLoggerDebug_cff")
0006 process.MessageLogger.debugModules = cms.untracked.vstring('dtTTrigConstantShiftCorrection')
0007 
0008 process.load("Configuration.StandardSequences.GeometryDB_cff")
0009 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0010 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0011 process.GlobalTag.globaltag = ''
0012 
0013 process.load("CondCore.CondDB.CondDB_cfi")
0014 
0015 process.source = cms.Source("EmptySource",
0016     numberEventsInRun = cms.untracked.uint32(1),
0017     firstRun = cms.untracked.uint32(1)
0018 )
0019 
0020 process.maxEvents = cms.untracked.PSet(
0021     input = cms.untracked.int32(1)
0022 )
0023 
0024 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0025     process.CondDB,
0026     timetype = cms.untracked.string('runnumber'),
0027     toPut = cms.VPSet(cms.PSet(
0028         record = cms.string('DTTtrigRcd'),
0029         tag = cms.string('ttrig')
0030     ))
0031 )
0032 process.PoolDBOutputService.connect = cms.string('sqlite_file:ttrig.db')
0033 
0034 process.load("CalibMuon.DTCalibration.dtTTrigConstantShiftCorrection_cfi")
0035 process.dtTTrigConstantShiftCorrection.correctionAlgoConfig.dbLabel = ''
0036 process.dtTTrigConstantShiftCorrection.correctionAlgoConfig.value = 0.
0037 process.dtTTrigConstantShiftCorrection.correctionAlgoConfig.calibChamber = 'All'
0038 
0039 process.p = cms.Path(process.dtTTrigConstantShiftCorrection)