-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
Copy pathNanoAODEDMEventContent_cff.py
30 lines (26 loc) · 1.09 KB
/
NanoAODEDMEventContent_cff.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import FWCore.ParameterSet.Config as cms
NanoAODEDMEventContent = cms.PSet(
outputCommands = cms.untracked.vstring(
'drop *',
"keep nanoaodFlatTable_*Table_*_*", # event data
"keep edmTriggerResults_*_*_*", # event data
"keep String_*_genModel_*", # generator model data
"keep nanoaodMergeableCounterTable_*Table_*_*", # accumulated per/run or per/lumi data
"keep nanoaodUniqueString_nanoMetadata_*_*", # basic metadata
)
)
NANOAODEventContent = NanoAODEDMEventContent.clone(
compressionLevel = cms.untracked.int32(9),
compressionAlgorithm = cms.untracked.string("LZMA"),
)
NANOAODSIMEventContent = NanoAODEDMEventContent.clone(
compressionLevel = cms.untracked.int32(9),
compressionAlgorithm = cms.untracked.string("LZMA"),
)
NanoGenOutput = NanoAODEDMEventContent.outputCommands[:]
NanoGenOutput.remove("keep edmTriggerResults_*_*_*")
NANOAODGENEventContent = cms.PSet(
compressionLevel = cms.untracked.int32(9),
compressionAlgorithm = cms.untracked.string("LZMA"),
outputCommands = cms.untracked.vstring(NanoGenOutput)
)