1 import FWCore.ParameterSet.Config
as cms
3 NanoAODEDMEventContent = cms.PSet(
4 outputCommands = cms.untracked.vstring(
6 "keep nanoaodFlatTable_*Table_*_*",
7 "keep edmTriggerResults_*_*_*",
8 "keep String_*_genModel_*",
9 "keep nanoaodMergeableCounterTable_*Table_*_*",
10 "keep nanoaodUniqueString_nanoMetadata_*_*",
14 NANOAODEventContent = NanoAODEDMEventContent.clone(
15 compressionLevel = cms.untracked.int32(9),
16 compressionAlgorithm = cms.untracked.string(
"LZMA"),
18 NANOAODSIMEventContent = NanoAODEDMEventContent.clone(
19 compressionLevel = cms.untracked.int32(9),
20 compressionAlgorithm = cms.untracked.string(
"LZMA"),
23 NanoGenOutput = NanoAODEDMEventContent.outputCommands[:]
24 NanoGenOutput.remove(
"keep edmTriggerResults_*_*_*")
26 NANOAODGENEventContent = cms.PSet(
27 compressionLevel = cms.untracked.int32(9),
28 compressionAlgorithm = cms.untracked.string(
"LZMA"),
29 outputCommands = cms.untracked.vstring(NanoGenOutput)