CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
NanoAODEDMEventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 NanoAODEDMEventContent = cms.PSet(
4  outputCommands = cms.untracked.vstring(
5  'drop *',
6  "keep nanoaodFlatTable_*Table_*_*", # event data
7  "keep edmTriggerResults_*_*_*", # event data
8  "keep String_*_genModel_*", # generator model data
9  "keep nanoaodMergeableCounterTable_*Table_*_*", # accumulated per/run or per/lumi data
10  "keep nanoaodUniqueString_nanoMetadata_*_*", # basic metadata
11  )
12 )
13 
14 NANOAODEventContent = NanoAODEDMEventContent.clone(
15  compressionLevel = cms.untracked.int32(9),
16  compressionAlgorithm = cms.untracked.string("LZMA"),
17 )
18 NANOAODSIMEventContent = NanoAODEDMEventContent.clone(
19  compressionLevel = cms.untracked.int32(9),
20  compressionAlgorithm = cms.untracked.string("LZMA"),
21 )
22 
23 NanoGenOutput = NanoAODEDMEventContent.outputCommands[:]
24 NanoGenOutput.remove("keep edmTriggerResults_*_*_*")
25 
26 NANOAODGENEventContent = cms.PSet(
27  compressionLevel = cms.untracked.int32(9),
28  compressionAlgorithm = cms.untracked.string("LZMA"),
29  outputCommands = cms.untracked.vstring(NanoGenOutput)
30 )