Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-19 10:28:05

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('dtT0AbsoluteReferenceCorrection')
0007 
0008 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0009 process.GlobalTag.globaltag = ''
0010 
0011 process.load("Configuration.StandardSequences.GeometryDB_cff")
0012 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0013 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0014 process.DTGeometryESModule.applyAlignment = False
0015 process.DTGeometryESModule.fromDDD = False
0016 
0017 process.load("CondCore.CondDB.CondDB_cfi")
0018 
0019 process.source = cms.Source("EmptySource",
0020     numberEventsInRun = cms.untracked.uint32(1),
0021     firstRun = cms.untracked.uint32(1)
0022 )
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(1)
0026 )
0027 
0028 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0029     process.CondDB,
0030     timetype = cms.untracked.string('runnumber'),
0031 
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.dtT0AbsoluteReferenceCorrection_cfi")
0040 process.dtT0AbsoluteReferenceCorrection.correctionAlgoConfig.calibChamber = 'All'
0041 process.dtT0AbsoluteReferenceCorrection.correctionAlgoConfig.reference = 640.
0042 
0043 process.p = cms.Path(process.dtT0AbsoluteReferenceCorrection)