Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:32:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 NanoAODEDMEventContent = cms.PSet(
0004     outputCommands = cms.untracked.vstring(
0005         'drop *',
0006         "keep nanoaodFlatTable_*Table_*_*",     # event data
0007         "keep edmTriggerResults_*_*_*",  # event data
0008         "keep String_*_genModel_*",  # generator model data
0009         "keep nanoaodMergeableCounterTable_*Table_*_*", # accumulated per/run or per/lumi data
0010         "keep nanoaodUniqueString_nanoMetadata_*_*",   # basic metadata
0011     )
0012 )
0013 
0014 NANOAODEventContent = NanoAODEDMEventContent.clone(
0015     compressionLevel = cms.untracked.int32(9),
0016     compressionAlgorithm = cms.untracked.string("LZMA"),
0017 )
0018 NANOAODSIMEventContent = NanoAODEDMEventContent.clone(
0019     compressionLevel = cms.untracked.int32(9),
0020     compressionAlgorithm = cms.untracked.string("LZMA"),
0021 )
0022 
0023 NanoGenOutput = NanoAODEDMEventContent.outputCommands[:]
0024 NanoGenOutput.remove("keep edmTriggerResults_*_*_*")
0025 
0026 NANOAODGENEventContent = cms.PSet(
0027     compressionLevel = cms.untracked.int32(9),
0028     compressionAlgorithm = cms.untracked.string("LZMA"),
0029     outputCommands = cms.untracked.vstring(NanoGenOutput)
0030 )