File indexing completed on 2024-04-06 11:58:37
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("harvester")
0004
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006
0007 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0008
0009 process.load('Configuration.StandardSequences.Services_cff')
0010 process.load('Configuration.EventContent.EventContent_cff')
0011 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0012 from Configuration.AlCa.GlobalTag import GlobalTag
0013 from Configuration.AlCa.autoCond import autoCond
0014 process.GlobalTag = GlobalTag(process.GlobalTag, autoCond['run3_data_prompt'], '')
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0025 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0026
0027
0028 process.source = cms.Source("DQMRootSource",
0029 fileNames = cms.untracked.vstring("file:worker_output.root"),
0030 )
0031
0032
0033 process.load('CondCore.CondDB.CondDB_cfi')
0034 process.CondDB.connect = 'sqlite_file:ppsDiamondSampicTiming_calibration.sqlite'
0035
0036 process.PoolDBOutputService = cms.Service('PoolDBOutputService',
0037 process.CondDB,
0038 timetype = cms.untracked.string('runnumber'),
0039 toPut = cms.VPSet(
0040 cms.PSet(
0041 record = cms.string('PPSTimingCalibrationRcd_SAMPIC'),
0042 tag = cms.string('PPSDiamondSampicCalibration_pcl'),
0043 )
0044 )
0045 )
0046
0047
0048 process.CondDB.connect = 'sqlite_file:corrected_sampic.sqlite'
0049 process.PoolDBESSource = cms.ESSource('PoolDBESSource',
0050 process.CondDB,
0051 DumpStats = cms.untracked.bool(True),
0052 toGet = cms.VPSet(
0053 cms.PSet(
0054 record = cms.string('PPSTimingCalibrationRcd'),
0055 tag = cms.string('PPSDiamondSampicCalibration')
0056 )
0057 )
0058 )
0059
0060 process.load("CalibPPS.TimingCalibration.PPSDiamondSampicTimingCalibrationPCLHarvester_cfi")
0061
0062 process.PPSDiamondSampicTimingCalibrationPCLHarvester.timingCalibrationTag= ''
0063
0064
0065 process.load("DQMServices.Core.DQMStore_cfi")
0066 process.load("DQMServices.Components.DQMEnvironment_cfi")
0067 process.dqmEnv.subSystemFolder = "CalibPPS"
0068 process.dqmSaver.convention = 'Offline'
0069 process.dqmSaver.workflow = "/CalibPPS/TimingCalibration/CMSSW_12_6_0_pre2"
0070 process.dqmSaver.saveByRun = -1
0071 process.dqmSaver.saveAtJobEnd = True
0072 process.dqmSaver.forceRunNumber = 999999
0073
0074 process.p = cms.Path(
0075 process.PPSDiamondSampicTimingCalibrationPCLHarvester
0076 )
0077
0078 process.end_path = cms.EndPath(
0079 process.dqmEnv +
0080 process.dqmSaver
0081 )
0082
0083 process.schedule = cms.Schedule(
0084 process.p,
0085 process.end_path
0086 )
0087
0088
0089