Skip to content

Commit

Permalink
save collections in miniAOD only for bParking era
Browse files Browse the repository at this point in the history
  • Loading branch information
bainbrid committed Feb 7, 2019
1 parent e2fb224 commit 9e4e449
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions PhysicsTools/PatAlgos/python/slimming/MicroEventContent_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
'keep *_slimmedPhotons_*_*',
'keep *_slimmedOOTPhotons_*_*',
'keep *_slimmedElectrons_*_*',
'keep *_slimmedLowPtElectrons_*_*',
'keep *_slimmedMuons_*_*',
'keep *_slimmedTaus_*_*',
'keep *_slimmedTausBoosted_*_*',
Expand Down Expand Up @@ -34,12 +33,6 @@
'keep EcalRecHitsSorted_reducedEgamma_*_*',
'keep recoGsfTracks_reducedEgamma_*_*',
'keep HBHERecHitsSorted_reducedEgamma_*_*',
'keep recoGsfElectronCores_lowPtGsfElectronCores_*_*',
'keep recoSuperClusters_lowPtGsfElectronSuperClusters_*_*',
'keep recoCaloClusters_lowPtGsfElectronSuperClusters_*_*',
'keep recoGsfTracks_lowPtGsfEleGsfTracks_*_*',
'keep floatedmValueMap_lowPtGsfElectronSeedValueMaps_*_*',
'keep floatedmValueMap_lowPtGsfElectronID_*_*',
'drop *_*_caloTowers_*',
'drop *_*_pfCandidates_*',
'drop *_*_genJets_*',
Expand Down Expand Up @@ -113,6 +106,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)

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

0 comments on commit 9e4e449

Please sign in to comment.