Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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('dtT0WireInChamberReferenceCorrection')
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.FrontierConditions_GlobalTag_cff")
0013 #process.GlobalTag.globaltag = ''
0014 process.load("Configuration.StandardSequences.GeometryDB_cff")
0015 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0016 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0017 process.DTGeometryESModule.applyAlignment = False
0018 process.DTGeometryESModule.fromDDD = False
0019 
0020 process.load("CondCore.CondDB.CondDB_cfi")
0021 
0022 process.source = cms.Source("EmptySource",
0023     numberEventsInRun = cms.untracked.uint32(1),
0024     firstRun = cms.untracked.uint32(1)
0025 )
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(1)
0029 )
0030 
0031 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0032     process.CondDB,
0033     timetype = cms.untracked.string('runnumber'),
0034     toPut = cms.VPSet(cms.PSet(
0035         record = cms.string('DTT0Rcd'),
0036         tag = cms.string('t0')
0037     ))
0038 )
0039 process.PoolDBOutputService.connect = cms.string('sqlite_file:t0.db')
0040 
0041 process.load("CalibMuon.DTCalibration.dtT0WireInChamberReferenceCorrection_cfi")
0042 process.dtT0WireInChamberReferenceCorrection.correctionAlgoConfig.calibChamber = 'All'
0043 
0044 process.p = cms.Path(process.dtT0WireInChamberReferenceCorrection)