Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-21 01:09:13

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DTT0Correction")
0004 
0005 process.load("CalibMuon.DTCalibration.messageLoggerDebug_cff")
0006 process.MessageLogger.debugModules = cms.untracked.vstring('dtT0FillDefaultFromDBCorrection')
0007 
0008 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0009 from Configuration.AlCa.autoCond import autoCond
0010 process.GlobalTag.globaltag=autoCond['run3_data']
0011 
0012 process.load("Configuration.StandardSequences.GeometryDB_cff")
0013 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0014 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0015 process.DTGeometryESModule.applyAlignment = False
0016 process.DTGeometryESModule.fromDDD = False
0017 
0018 process.load("CondCore.CondDB.CondDB_cfi")
0019 
0020 process.source = cms.Source("EmptySource",
0021     numberEventsInRun = cms.untracked.uint32(1),
0022     firstRun = cms.untracked.uint32(1)
0023 )
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(1)
0027 )
0028 
0029 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0030     process.CondDB,
0031     timetype = cms.untracked.string('runnumber'),
0032     toPut = cms.VPSet(cms.PSet(
0033         record = cms.string('DTT0Rcd'),
0034         tag = cms.string('t0')
0035     ))
0036 )
0037 process.PoolDBOutputService.connect = cms.string('sqlite_file:t0.db')
0038 
0039 process.load("CalibMuon.DTCalibration.dtT0FillDefaultFromDBCorrection_cfi")
0040 process.dtT0FillDefaultFromDBCorrection.correctionAlgoConfig.dbLabelRef = 't0Ref'
0041 
0042 process.p = cms.Path(process.dtT0FillDefaultFromDBCorrection)