Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("worker")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.load('RecoPPS.Local.totemTimingLocalReconstruction_cff')
0007 process.source = cms.Source("EmptySource")
0008 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10000) )
0009 
0010 process.a1 = cms.EDAnalyzer("StreamThingAnalyzer",
0011     product_to_get = cms.string('m1')
0012 )
0013 
0014 process.load('Configuration.StandardSequences.Services_cff')
0015 process.load('Configuration.EventContent.EventContent_cff')
0016 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0017 from Configuration.AlCa.GlobalTag import GlobalTag
0018 from Configuration.AlCa.autoCond import autoCond
0019 process.GlobalTag = GlobalTag(process.GlobalTag, autoCond['run3_data_prompt'], '')
0020 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0021 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0022 
0023 #process.load('CondCore.CondDB.CondDB_cfi')
0024 #process.CondDB.connect = 'sqlite_file:ppsDiamondTiming_calibration.sqlite' # SQLite input
0025 #process.PoolDBESSource = cms.ESSource('PoolDBESSource',
0026 #        process.CondDB,
0027 #        DumpStats = cms.untracked.bool(True),
0028 #        toGet = cms.VPSet(
0029 #            cms.PSet(
0030 #                record = cms.string('PPSTimingCalibrationRcd'),
0031 #                tag = cms.string('DiamondTimingCalibration')
0032 #        )
0033 #    )
0034 #)
0035 
0036 process.source = cms.Source("PoolSource",
0037     fileNames = cms.untracked.vstring(
0038     '/store/data/Run2022B/AlCaPPS/RAW/v1/000/355/207/00000/c23440f4-49c0-44aa-b8f6-f40598fb4705.root',
0039     
0040 
0041 ),
0042 )
0043 
0044 process.load("CalibPPS.TimingCalibration.ppsTimingCalibrationPCLWorker_cfi")
0045 process.DQMStore = cms.Service("DQMStore")
0046 
0047 process.dqmOutput = cms.OutputModule("DQMRootOutputModule",
0048     fileName = cms.untracked.string("worker_output.root")
0049 )
0050 
0051 process.load("CalibPPS.TimingCalibration.ALCARECOPromptCalibProdPPSTimingCalib_cff")
0052 
0053 process.ctppsPixelDigis.inputLabel = "hltPPSCalibrationRaw"
0054 process.ctppsDiamondRawToDigi.rawDataTag = "hltPPSCalibrationRaw"
0055 process.totemRPRawToDigi.rawDataTag = "hltPPSCalibrationRaw"
0056 process.totemTimingRawToDigi.rawDataTag = "hltPPSCalibrationRaw"
0057 
0058 process.path = cms.Path(
0059     #process.a1* 
0060     process.ctppsRawToDigi *
0061     process.recoCTPPS *
0062     process.ppsTimingCalibrationPCLWorker
0063 )
0064 
0065 process.end_path = cms.EndPath(
0066     process.dqmOutput
0067 )
0068 
0069 process.schedule = cms.Schedule(
0070     process.path,
0071     process.end_path
0072 )