File indexing completed on 2024-04-06 12:27:41
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 from Configuration.Eras.Era_Run2_25ns_cff import Run2_25ns
0005 process = cms.Process('CTPPS2',Run2_25ns)
0006
0007
0008 process.load('Configuration.StandardSequences.Services_cff')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Configuration.EventContent.EventContent_cff')
0011 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0012
0013 process.maxEvents = cms.untracked.PSet(
0014 input = cms.untracked.int32(1000)
0015 )
0016
0017 process.MessageLogger = cms.Service("MessageLogger",
0018 cerr = cms.untracked.PSet(
0019 enable = cms.untracked.bool(False)
0020 ),
0021 files = cms.untracked.PSet(
0022 cclu_info = cms.untracked.PSet(
0023 threshold = cms.untracked.string('INFO')
0024 )
0025 )
0026 )
0027 process.source = cms.Source("EmptyIOVSource",
0028 timetype = cms.string('runnumber'),
0029 firstValue = cms.uint64(1),
0030 lastValue = cms.uint64(1),
0031 interval = cms.uint64(1)
0032 )
0033
0034
0035 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",ignoreTotal = cms.untracked.int32(1) )
0036
0037
0038 process.source = cms.Source("PoolSource",
0039 fileNames = cms.untracked.vstring(
0040 'root://cms-xrd-global.cern.ch//store/data/Run2017A/ZeroBias2/AOD/PromptReco-v1/000/294/736/00000/44589413-F73F-E711-9E8D-02163E014337.root'
0041
0042 ),
0043 duplicateCheckMode = cms.untracked.string("checkEachFile")
0044 )
0045
0046 from Configuration.AlCa.GlobalTag import GlobalTag
0047 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_hlt_relval', '')
0048
0049
0050
0051 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0052
0053
0054 process.o1 = cms.OutputModule("PoolOutputModule",
0055 outputCommands = cms.untracked.vstring('drop *',
0056 'keep CTPPSPixelClusteredmDetSetVector_ctppsPixelClusters_*_*'
0057
0058 ),
0059 fileName = cms.untracked.string('simevent_CTPPS_CLU_DB_real_mem.root')
0060 )
0061
0062 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0063
0064
0065 process.ALL = cms.Path(process.recoCTPPS)
0066
0067
0068 process.outpath = cms.EndPath(process.o1)
0069
0070 process.schedule = cms.Schedule(process.ALL,process.outpath)
0071
0072
0073 for path in process.paths:
0074
0075 getattr(process,path)._seq = getattr(process,path)._seq
0076
0077