File indexing completed on 2024-04-06 11:58:31
0001 from CalibMuon.DTCalibration.Workflow.addPoolDBESSource import addPoolDBESSource
0002
0003 class config: pass
0004
0005 config.runNumber = 186760
0006
0007 config.t0DB = 'Run186760-dtT0WireCalibration-AbsoluteT0-Run186760-v1/Results/t0_absolute_raw_186760.db'
0008 config.chamberLabel = 'All'
0009
0010 from CalibMuon.DTCalibration.dtT0AbsoluteReferenceCorrection_cfg import process
0011 process.source.firstRun = config.runNumber
0012 process.dtT0AbsoluteReferenceCorrection.correctionAlgoConfig.calibChamber = config.chamberLabel
0013 process.dtT0AbsoluteReferenceCorrection.correctionAlgoConfig.reference = 640.
0014
0015 process.PoolDBOutputService.connect = 'sqlite_file:t0_correction_absolute_reference_%s_%d.db' % (config.chamberLabel,config.runNumber)
0016
0017 addPoolDBESSource(process = process,
0018 moduleName = 'calibDB',record = 'DTT0Rcd',tag = 't0',label = '',
0019 connect = 'sqlite_file:%s' % config.t0DB)
0020
0021
0022
0023