/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
IOPool/Streamer/test/NewStreamInExt_cfg.py
23 строки
775 B
Srecko Morovic
* fix unsafe usage of a pointer after potential resize of the vector,
17 авг 2022, 19:28
17 авг 2022, 19:28
cdb7bb3
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("TRANSFER") import FWCore.Framework.test.cmsExceptionsFatal_cff process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options process.load("FWCore.MessageLogger.MessageLogger_cfi") process.source = cms.Source("NewEventStreamFileReader", fileNames = cms.untracked.vstring('file:teststreamfile.dat', 'file:teststreamfile_ext.dat', 'file:teststreamfile_ext2.dat', 'file:teststreamfile_ext2.dat'), #firstEvent = cms.untracked.uint64(10123456835) ) process.a1 = cms.EDAnalyzer("StreamThingAnalyzer", product_to_get = cms.string('m1') ) process.out = cms.OutputModule("PoolOutputModule", fileName = cms.untracked.string('myout.root') ) process.end = cms.EndPath(process.a1*process.out)