Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def NanoAODOutputModule(**kwargs):
0004   mod = cms.OutputModule('NanoAODOutputModule',
0005     fileName = cms.required.untracked.string,
0006     logicalFileName = cms.untracked.string(''),
0007     compressionLevel = cms.untracked.int32(9),
0008     compressionAlgorithm = cms.untracked.string('ZLIB'),
0009     saveProvenance = cms.untracked.bool(True),
0010     fakeNameForCrab = cms.untracked.bool(False),
0011     autoFlush = cms.untracked.int32(-10000000),
0012     outputCommands = cms.untracked.vstring(
0013       'drop *',
0014       'keep nanoaodFlatTable_*Table_*_*',
0015       'keep edmTriggerResults_*_*_*',
0016       'keep String_*_genModel_*',
0017       'keep nanoaodMergeableCounterTable_*Table_*_*',
0018       'keep nanoaodUniqueString_nanoMetadata_*_*'
0019     ),
0020     SelectEvents = cms.untracked.PSet(
0021       SelectEvents = cms.optional.vstring
0022     ),
0023     dataset = cms.untracked.PSet(),
0024     branches = cms.PSet()
0025   )
0026   for k,v in kwargs.items():
0027     setattr(mod, k, v)
0028   return mod