Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:31

0001 from CalibMuon.DTCalibration.Workflow.addPoolDBESSource import addPoolDBESSource
0002 
0003 class config: pass
0004 #config.runNumber = 186323
0005 config.runNumber = 186760
0006 #config.t0DB = 'Run186323-dtT0WireCalibration-AbsoluteT0-Run186323-v1/Results/t0_absolute_raw_186323.db'
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 #addPoolDBESSource(process = process,
0022 #                  moduleName = 't0RefDB',record = 'DTT0Rcd',tag = config.refTag,label = config.dbLabelRef,
0023 #                  connect = config.connect)