Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:28:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def EventStreamFileWriter(*args, **kwargs):
0004   mod = cms.OutputModule('EventStreamFileWriter',
0005     max_event_size = cms.untracked.int32(7000000),
0006     use_compression = cms.untracked.bool(True),
0007     compression_algorithm = cms.untracked.string('ZLIB'),
0008     compression_level = cms.untracked.int32(1),
0009     lumiSection_interval = cms.untracked.int32(0),
0010     outputCommands = cms.untracked.vstring('keep *'),
0011     SelectEvents = cms.untracked.PSet(
0012       SelectEvents = cms.optional.vstring
0013     ),
0014     psetMap = cms.untracked.InputTag('hltPSetMap'),
0015     fileName = cms.untracked.string('teststreamfile.dat'),
0016     padding = cms.untracked.uint32(0)
0017   )
0018   for a in args:
0019     mod.update_(a)
0020   mod.update_(kwargs)
0021   return mod