Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:21

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("COPY")
0004 
0005 import FWCore.Framework.test.cmsExceptionsFatal_cff
0006 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0007 
0008 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0009 
0010 process.maxEvents = cms.untracked.PSet(
0011     input = cms.untracked.int32(-1)
0012 )
0013 
0014 process.source = cms.Source("PoolSource",
0015     fileNames = cms.untracked.vstring('file:myout.root')
0016 )
0017 
0018 process.a1 = cms.EDAnalyzer("StreamThingAnalyzer",
0019     product_to_get = cms.string('m1')
0020 )
0021 
0022 process.test = cms.EDAnalyzer('RunLumiEventAnalyzer',
0023     verbose = cms.untracked.bool(False),
0024     expectedRunLumiEvents = cms.untracked.vuint64(
0025       1, 0, 0,
0026       1, 1, 0,
0027       1, 1, 10123456789,
0028       1, 1, 10123456790,
0029       1, 1, 10123456791,
0030       1, 1, 10123456792,
0031       1, 1, 10123456793,
0032       1, 1, 10123456794,
0033       1, 1, 10123456795,
0034       1, 1, 10123456796,
0035       1, 1, 10123456797,
0036       1, 1, 10123456798,
0037       1, 1, 10123456799,
0038       1, 1, 10123456800,
0039       1, 1, 10123456801,
0040       1, 1, 10123456802,
0041       1, 1, 10123456803,
0042       1, 1, 10123456804,
0043       1, 1, 10123456805,
0044       1, 1, 10123456806,
0045       1, 1, 10123456807,
0046       1, 1, 10123456808,
0047       1, 1, 10123456809,
0048       1, 1, 10123456810,
0049       1, 1, 10123456811,
0050       1, 1, 10123456812,
0051       1, 1, 10123456813,
0052       1, 1, 10123456814,
0053       1, 1, 10123456815,
0054       1, 1, 10123456816,
0055       1, 1, 10123456817,
0056       1, 1, 10123456818,
0057       1, 1, 10123456819,
0058       1, 1, 10123456820,
0059       1, 1, 10123456821,
0060       1, 1, 10123456822,
0061       1, 1, 10123456823,
0062       1, 1, 10123456824,
0063       1, 1, 10123456825,
0064       1, 1, 10123456826,
0065       1, 1, 10123456827,
0066       1, 1, 10123456828,
0067       1, 1, 10123456829,
0068       1, 1, 10123456830,
0069       1, 1, 10123456831,
0070       1, 1, 10123456832,
0071       1, 1, 10123456833,
0072       1, 1, 10123456834,
0073       1, 1, 10123456835,
0074       1, 1, 10123456836,
0075       1, 1, 10123456837,
0076       1, 1, 10123456838,
0077       1, 1, 0,
0078       1, 0, 0
0079     ),
0080     expectedEndingIndex = cms.untracked.int32(162)
0081 )
0082 
0083 process.out = cms.OutputModule("EventStreamFileWriter",
0084     fileName = cms.untracked.string('teststreamfile_copy.dat'),
0085     compression_level = cms.untracked.int32(1),
0086     use_compression = cms.untracked.bool(True),
0087     max_event_size = cms.untracked.int32(7000000)
0088 )
0089 
0090 process.outp = cms.OutputModule("PoolOutputModule",
0091     fileName = cms.untracked.string('myout2.root')
0092 )
0093 
0094 process.e = cms.EndPath(process.test*process.a1*process.out*process.outp)