File indexing completed on 2024-04-06 12:27:41
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004
0005 from Configuration.Eras.Era_Run2_25ns_cff import Run2_25ns
0006 process = cms.Process('CTPPS2',Run2_25ns)
0007
0008
0009 process.load('Configuration.StandardSequences.Services_cff')
0010 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0011 process.load('FWCore.MessageService.MessageLogger_cfi')
0012 process.load('Configuration.EventContent.EventContent_cff')
0013 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0014
0015
0016 process.maxEvents = cms.untracked.PSet(
0017 input = cms.untracked.int32(1000)
0018 )
0019
0020 process.MessageLogger = cms.Service("MessageLogger",
0021 cerr = cms.untracked.PSet(
0022 enable = cms.untracked.bool(False)
0023 ),
0024 cout = cms.untracked.PSet(
0025 enable = cms.untracked.bool(True),
0026 threshold = cms.untracked.string('ERROR')
0027 )
0028 )
0029 process.source = cms.Source("EmptyIOVSource",
0030 timetype = cms.string('runnumber'),
0031 firstValue = cms.uint64(1),
0032 lastValue = cms.uint64(1),
0033 interval = cms.uint64(1)
0034 )
0035 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",ignoreTotal = cms.untracked.int32(1) )
0036
0037 process.source = cms.Source("NewEventStreamFileReader",
0038 fileNames = cms.untracked.vstring(
0039
0040
0041
0042 'root://eoscms.cern.ch//eos/cms/store/t0streamer/Data/HLTMonitor/000/300/811/run300811_ls0024_streamHLTMonitor_StorageManager.dat'
0043 ),
0044
0045 firstEvent = cms.untracked.uint64(1)
0046
0047 )
0048
0049
0050
0051 from Configuration.AlCa.GlobalTag import GlobalTag
0052 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_hlt_relval', '')
0053
0054
0055 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0056
0057 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0058
0059
0060
0061 process.o1 = cms.OutputModule("PoolOutputModule",
0062 outputCommands = cms.untracked.vstring('drop *',
0063 'keep *_totemRP*_*_*',
0064 'keep *_ctpps*_*_*'
0065
0066 ),
0067 fileName = cms.untracked.string('simevent_CTPPS_CLU_REC_real_mem_testDB_300811.root')
0068 )
0069
0070
0071 process.mixedigi_step = cms.Path(
0072 process.ctppsRawToDigi
0073 *process.recoCTPPS
0074
0075 )
0076
0077 process.outpath = cms.EndPath(process.o1)
0078
0079 process.schedule = cms.Schedule(process.mixedigi_step,process.outpath)
0080
0081
0082 for path in process.paths:
0083
0084 getattr(process,path)._seq = getattr(process,path)._seq
0085
0086