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 NanoAODRNTupleOutputModule(**kwargs):
0004   mod = cms.OutputModule('NanoAODRNTupleOutputModule',
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     outputCommands = cms.untracked.vstring(
0011       'drop *',
0012       'keep nanoaodFlatTable_*Table_*_*',
0013       'keep edmTriggerResults_*_*_*',
0014       'keep String_*_genModel_*',
0015       'keep nanoaodMergeableCounterTable_*Table_*_*',
0016       'keep nanoaodUniqueString_nanoMetadata_*_*'
0017     ),
0018     SelectEvents = cms.untracked.PSet(
0019       SelectEvents = cms.optional.vstring
0020     ),
0021     dataset = cms.untracked.PSet(),
0022     branches = cms.PSet()
0023   )
0024   for k,v in kwargs.items():
0025     setattr(mod, k, v)
0026   return mod