Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-10-18 04:12:58

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.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10000) )
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 process.source = cms.Source('PoolSource',
0017     fileNames = cms.untracked.vstring(
0018     '/store/data/Run2022B/AlCaPPS/RAW/v1/000/355/207/00000/c23440f4-49c0-44aa-b8f6-f40598fb4705.root',
0019     
0020 
0021 ),
0022 )
0023 
0024 process.load('CondCore.CondDB.CondDB_cfi')
0025 process.CondDB.connect = 'sqlite_file:corrected_sampic.sqlite' # SQLite input
0026 process.PoolDBESSource = cms.ESSource('PoolDBESSource',
0027         process.CondDB,
0028         DumpStats = cms.untracked.bool(True),
0029         toGet = cms.VPSet(
0030             cms.PSet(
0031                 record = cms.string('PPSTimingCalibrationRcd'),
0032                 tag = cms.string('PPSDiamondSampicCalibration')
0033         )
0034     )
0035 )
0036 
0037 process.totemTimingRecHits.mergeTimePeaks= False
0038 process.totemTimingRecHits.timingCalibrationTag= ''
0039 
0040 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0041 process.totemTimingRawToDigi.rawDataTag = "hltPPSCalibrationRaw"
0042 ################
0043 #geometry
0044 ################
0045 process.load("Geometry.VeryForwardGeometry.geometryRPFromDB_cfi")
0046 
0047 process.load("CalibPPS.TimingCalibration.PPSDiamondSampicTimingCalibrationPCLWorker_cfi")
0048 process.DQMStore = cms.Service("DQMStore")
0049 
0050 process.dqmOutput = cms.OutputModule("DQMRootOutputModule",
0051     fileName = cms.untracked.string("worker_output.root")
0052 )
0053 
0054 
0055 process.path = cms.Path(
0056     process.totemTimingRawToDigi*
0057     process.diamondSampicLocalReconstruction*
0058     process.PPSDiamondSampicTimingCalibrationPCLWorker
0059 )
0060 
0061 process.end_path = cms.EndPath(
0062     process.dqmOutput
0063 )
0064 
0065 process.schedule = cms.Schedule(
0066     process.path,
0067     process.end_path
0068 )