From e46218026fd2e613f4b7b64659cbe44b26dc79e6 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 8 Jun 2021 19:01:28 -0500 Subject: [PATCH 1/3] Add CSC/DT rechits to AOD --- .../Configuration/python/RecoLocalMuon_EventContent_cff.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py b/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py index 01f7fa36d042b..70f2700719a06 100644 --- a/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py +++ b/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py @@ -22,10 +22,11 @@ ) # AOD content RecoLocalMuonAOD = cms.PSet( - outputCommands = cms.untracked.vstring( + outputCommands = cms.untracked.vstring('keep *_dt1DRecHits_*_*', 'keep *_dt4DSegments_*_*', 'keep *_dt4DCosmicSegments_*_*', 'keep *_cscSegments_*_*', + 'keep *_csc2DRecHits_*_*', 'keep *_rpcRecHits_*_*') ) def _updateOutput( era, outputPSets, commands): From 7632eaff176b865807c4974439692cd5e757ca19 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 9 Jun 2021 16:05:37 -0500 Subject: [PATCH 2/3] update output for bparking era only --- .../Configuration/python/RecoLocalMuon_EventContent_cff.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py b/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py index 01f7fa36d042b..84ecde2e26499 100644 --- a/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py +++ b/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py @@ -22,7 +22,7 @@ ) # AOD content RecoLocalMuonAOD = cms.PSet( - outputCommands = cms.untracked.vstring( + outputCommands = cms.untracked.vstring( 'keep *_dt4DSegments_*_*', 'keep *_dt4DCosmicSegments_*_*', 'keep *_cscSegments_*_*', @@ -35,7 +35,9 @@ def _updateOutput( era, outputPSets, commands): from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon +from Configuration.Eras.Modifier_bParking_cff import bParking _outputs = [RecoLocalMuonFEVT, RecoLocalMuonRECO, RecoLocalMuonAOD] +_updateOutput(bParking, RecoLocalMuonAOD, ['keep *_dt1DRecHits_*_*', 'keep *_csc2DRecHits_*_*']) _updateOutput( run2_GEM_2017, _outputs, ['keep *_gemRecHits_*_*', 'keep *_gemSegments_*_*'] ) _updateOutput( run3_GEM, _outputs, ['keep *_gemRecHits_*_*', 'keep *_gemSegments_*_*'] ) _updateOutput(phase2_muon, _outputs, ['keep *_me0RecHits_*_*', 'keep *_me0Segments_*_*']) From 571953ea9f64189c72c76fd80202ecac2b13bf07 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 10 Jun 2021 01:12:26 -0500 Subject: [PATCH 3/3] fix syntax --- .../Configuration/python/RecoLocalMuon_EventContent_cff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py b/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py index 84ecde2e26499..9ecc138764e90 100644 --- a/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py +++ b/RecoLocalMuon/Configuration/python/RecoLocalMuon_EventContent_cff.py @@ -37,7 +37,7 @@ def _updateOutput( era, outputPSets, commands): from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon from Configuration.Eras.Modifier_bParking_cff import bParking _outputs = [RecoLocalMuonFEVT, RecoLocalMuonRECO, RecoLocalMuonAOD] -_updateOutput(bParking, RecoLocalMuonAOD, ['keep *_dt1DRecHits_*_*', 'keep *_csc2DRecHits_*_*']) +_updateOutput(bParking, [RecoLocalMuonAOD], ['keep *_dt1DRecHits_*_*', 'keep *_csc2DRecHits_*_*']) _updateOutput( run2_GEM_2017, _outputs, ['keep *_gemRecHits_*_*', 'keep *_gemSegments_*_*'] ) _updateOutput( run3_GEM, _outputs, ['keep *_gemRecHits_*_*', 'keep *_gemSegments_*_*'] ) _updateOutput(phase2_muon, _outputs, ['keep *_me0RecHits_*_*', 'keep *_me0Segments_*_*'])