Skip to content

Commit

Permalink
triv
Browse files Browse the repository at this point in the history
  • Loading branch information
bainbrid committed Feb 7, 2019
1 parent 9e4e449 commit 88ed101
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions PhysicsTools/PatAlgos/python/slimming/MicroEventContent_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@
)
)

# Only add low pT electrons for bParking era
from Configuration.Eras.Modifier_bParking_cff import bParking
_bParking_extraCommands = ['keep *_slimmedLowPtElectrons_*_*',
'keep recoGsfElectronCores_lowPtGsfElectronCores_*_*',
'keep recoSuperClusters_lowPtGsfElectronSuperClusters_*_*',
'keep recoCaloClusters_lowPtGsfElectronSuperClusters_*_*',
'keep recoGsfTracks_lowPtGsfEleGsfTracks_*_*',
'keep floatedmValueMap_lowPtGsfElectronSeedValueMaps_*_*',
'keep floatedmValueMap_lowPtGsfElectronID_*_*',
]
bParking.toModify(MicroEventContent, outputCommands = MicroEventContent.outputCommands + _bParking_extraCommands)

MicroEventContentGEN = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep patPackedGenParticles_packedGenParticles_*_*',
Expand All @@ -106,18 +118,6 @@
)
)

# Only add low pT electrons for bParking era
from Configuration.Eras.Modifier_bParking_cff import bParking
_bParking_extraCommands = ['keep *_slimmedLowPtElectrons_*_*',
'keep recoGsfElectronCores_lowPtGsfElectronCores_*_*',
'keep recoSuperClusters_lowPtGsfElectronSuperClusters_*_*',
'keep recoCaloClusters_lowPtGsfElectronSuperClusters_*_*',
'keep recoGsfTracks_lowPtGsfEleGsfTracks_*_*',
'keep floatedmValueMap_lowPtGsfElectronSeedValueMaps_*_*',
'keep floatedmValueMap_lowPtGsfElectronID_*_*',
]
bParking.toModify(MicroEventContent, outputCommands = MicroEventContent.outputCommands + _bParking_extraCommands)

MicroEventContentMC = cms.PSet(
outputCommands = cms.untracked.vstring(MicroEventContent.outputCommands)
)
Expand Down

0 comments on commit 88ed101

Please sign in to comment.