From 19e04f4afa53b6eac5a96a270b49747ef12fb283 Mon Sep 17 00:00:00 2001 From: mmusich Date: Wed, 14 Dec 2022 16:47:58 +0100 Subject: [PATCH] change output commands of Tracker ALCARECOs to take care of phase-2 OT clusters --- .../python/ALCARECOTkAlBeamHalo_Output_cff.py | 25 ++++++++++++++++- .../ALCARECOTkAlDiMuonAndVertex_Output_cff.py | 24 ++++++++++++++-- .../python/ALCARECOTkAlJetHT_Output_cff.py | 16 ++++++++++- .../ALCARECOTkAlJpsiMuMuHI_Output_cff.py | 15 +++++++++- .../python/ALCARECOTkAlJpsiMuMu_Output_cff.py | 15 +++++++++- .../ALCARECOTkAlMinBiasHI_Output_cff.py | 15 +++++++++- .../python/ALCARECOTkAlMinBias_Output_cff.py | 15 +++++++++- .../ALCARECOTkAlMuonIsolatedHI_Output_cff.py | 15 +++++++++- .../ALCARECOTkAlMuonIsolatedPA_Output_cff.py | 24 +++++++++++++++- .../ALCARECOTkAlMuonIsolated_Output_cff.py | 15 +++++++++- .../ALCARECOTkAlUpsilonMuMuHI_Output_cff.py | 15 +++++++++- .../ALCARECOTkAlUpsilonMuMuPA_Output_cff.py | 25 ++++++++++++++++- .../ALCARECOTkAlUpsilonMuMu_Output_cff.py | 15 +++++++++- .../python/ALCARECOTkAlWMuNu_Output_cff.py | 28 +++++++++++++++++-- .../python/ALCARECOTkAlZMuMuHI_Output_cff.py | 15 +++++++++- .../python/ALCARECOTkAlZMuMuPA_Output_cff.py | 25 ++++++++++++++++- .../python/ALCARECOTkAlZMuMu_Output_cff.py | 15 +++++++++- 17 files changed, 298 insertions(+), 19 deletions(-) diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlBeamHalo_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlBeamHalo_Output_cff.py index c6af9a94d0495..5adb4aa39d078 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlBeamHalo_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlBeamHalo_Output_cff.py @@ -6,13 +6,36 @@ SelectEvents = cms.vstring('pathALCARECOTkAlBeamHalo') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlBeamHalo_*_*', + 'keep recoTracks_ALCARECOTkAlBeamHalo_*_*', + 'keep recoTrackExtras_ALCARECOTkAlBeamHalo_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlBeamHalo_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlBeamHalo_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlBeamHalo_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', 'keep DcsStatuss_scalersRawToDigi_*_*') ) +# in Run3, SCAL digis replaced by onlineMetaDataDigis import copy +_run3_common_removedCommands = OutALCARECOTkAlBeamHalo_noDrop.outputCommands.copy() +_run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*') + +_run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*', + 'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*'] + +from Configuration.Eras.Modifier_run3_common_cff import run3_common +run3_common.toModify(OutALCARECOTkAlBeamHalo_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) + +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlBeamHalo_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlBeamHalo_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlBeamHalo_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlBeamHalo_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlBeamHalo = copy.deepcopy(OutALCARECOTkAlBeamHalo_noDrop) OutALCARECOTkAlBeamHalo.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlDiMuonAndVertex_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlDiMuonAndVertex_Output_cff.py index db49091c2667f..95f6611592d29 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlDiMuonAndVertex_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlDiMuonAndVertex_Output_cff.py @@ -6,13 +6,33 @@ SelectEvents = cms.vstring('pathALCARECOTkAlDiMuonAndVertex') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlDiMuon_*_*', - 'keep *_ALCARECOTkAlDiMuonVertexTracks_*_*', + 'keep recoTracks_ALCARECOTkAlDiMuon_*_*', + 'keep recoTrackExtras_ALCARECOTkAlDiMuon_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlDiMuon_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlDiMuon_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuon_*_*', + 'keep recoTracks_ALCARECOTkAlDiMuonVertexTracks_*_*', + 'keep recoTrackExtras_ALCARECOTkAlDiMuonVertexTracks_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlDiMuonVertexTracks_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', 'keep DcsStatuss_scalersRawToDigi_*_*', 'keep *_offlinePrimaryVertices_*_*') ) + +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlDiMuonAndVertex_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuon_*_*') +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlDiMuon_*_*', + 'keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlDiMuonVertexTracks_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlDiMuonAndVertex_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlDiMuonAndVertex = OutALCARECOTkAlDiMuonAndVertex_noDrop.clone() OutALCARECOTkAlDiMuonAndVertex.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJetHT_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJetHT_Output_cff.py index 86c6f9cc81c26..48b462ebc5b02 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJetHT_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJetHT_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlJetHT') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlJetHT_*_*', + 'keep recoTracks_ALCARECOTkAlJetHT_*_*', + 'keep recoTrackExtras_ALCARECOTkAlJetHT_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlJetHT_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlJetHT_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlJetHT_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -26,5 +30,15 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlJetHT_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlJetHT_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlJetHT_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlJetHT_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlJetHT_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + + OutALCARECOTkAlJetHT = OutALCARECOTkAlJetHT_noDrop.clone() OutALCARECOTkAlJetHT.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJpsiMuMuHI_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJpsiMuMuHI_Output_cff.py index decf74539cb38..8fdb2d0bea7e0 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJpsiMuMuHI_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJpsiMuMuHI_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlJpsiMuMuHI') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlJpsiMuMuHI_*_*', + 'keep recoTracks_ALCARECOTkAlJpsiMuMuHI_*_*', + 'keep recoTrackExtras_ALCARECOTkAlJpsiMuMuHI_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlJpsiMuMuHI_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlJpsiMuMuHI_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlJpsiMuMuHI_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -24,5 +28,14 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlJpsiMuMuHI_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlJpsiMuMuHI_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlJpsiMuMuHI_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlJpsiMuMuHI_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlJpsiMuMuHI_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlJpsiMuMuHI = OutALCARECOTkAlJpsiMuMuHI_noDrop.clone() OutALCARECOTkAlJpsiMuMuHI.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJpsiMuMu_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJpsiMuMu_Output_cff.py index 2b16eaaf1a424..09895fb06e46b 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJpsiMuMu_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJpsiMuMu_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlJpsiMuMu') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlJpsiMuMu_*_*', + 'keep recoTracks_ALCARECOTkAlJpsiMuMu_*_*', + 'keep recoTrackExtras_ALCARECOTkAlJpsiMuMu_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlJpsiMuMu_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlJpsiMuMu_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlJpsiMuMu_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -24,5 +28,14 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlJpsiMuMu_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlJpsiMuMu_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlJpsiMuMu_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlJpsiMuMu_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlJpsiMuMu = OutALCARECOTkAlJpsiMuMu_noDrop.clone() OutALCARECOTkAlJpsiMuMu.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMinBiasHI_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMinBiasHI_Output_cff.py index fc95c1fb49e8f..8c606b2ecb2df 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMinBiasHI_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMinBiasHI_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlMinBiasHI') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlMinBiasHI_*_*', + 'keep recoTracks_ALCARECOTkAlMinBiasHI_*_*', + 'keep recoTrackExtras_ALCARECOTkAlMinBiasHI_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlMinBiasHI_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlMinBiasHI_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMinBiasHI_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -25,5 +29,14 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlMinBiasHI_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlMinBiasHI_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMinBiasHI_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlMinBiasHI_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlMinBiasHI_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlMinBiasHI = copy.deepcopy(OutALCARECOTkAlMinBiasHI_noDrop) OutALCARECOTkAlMinBiasHI.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMinBias_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMinBias_Output_cff.py index 9031a6e008248..4ba13e4615575 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMinBias_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMinBias_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlMinBias') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlMinBias_*_*', + 'keep recoTracks_ALCARECOTkAlMinBias_*_*', + 'keep recoTrackExtras_ALCARECOTkAlMinBias_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlMinBias_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlMinBias_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMinBias_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -26,5 +30,14 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlMinBias_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlMinBias_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMinBias_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlMinBias_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlMinBias_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlMinBias = OutALCARECOTkAlMinBias_noDrop.clone() OutALCARECOTkAlMinBias.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolatedHI_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolatedHI_Output_cff.py index 19ab36a222fa4..bdede16cb3e1e 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolatedHI_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolatedHI_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlMuonIsolatedHI') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlMuonIsolatedHI_*_*', + 'keep recoTracks_ALCARECOTkAlMuonIsolatedHI_*_*', + 'keep recoTrackExtras_ALCARECOTkAlMuonIsolatedHI_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlMuonIsolatedHI_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolatedHI_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolatedHI_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -24,5 +28,14 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlMuonIsolatedHI_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlMuonIsolatedHI_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolatedHI_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlMuonIsolatedHI_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlMuonIsolatedHI_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlMuonIsolatedHI = OutALCARECOTkAlMuonIsolatedHI_noDrop.clone() OutALCARECOTkAlMuonIsolatedHI.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolatedPA_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolatedPA_Output_cff.py index 586c3c4534f90..6fd6675ceac76 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolatedPA_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolatedPA_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlMuonIsolatedPA') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlMuonIsolatedPA_*_*', + 'keep recoTracks_ALCARECOTkAlMuonIsolatedPA_*_*', + 'keep recoTrackExtras_ALCARECOTkAlMuonIsolatedPA_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlMuonIsolatedPA_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolatedPA_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolatedPA_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -15,5 +19,23 @@ ) import copy +_run3_common_removedCommands = OutALCARECOTkAlMuonIsolatedPA_noDrop.outputCommands.copy() +_run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*') + +_run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*', + 'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*'] + +from Configuration.Eras.Modifier_run3_common_cff import run3_common +run3_common.toModify(OutALCARECOTkAlMuonIsolatedPA_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) + +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlMuonIsolatedPA_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolatedPA_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlMuonIsolatedPA_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlMuonIsolatedPA_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlMuonIsolatedPA = copy.deepcopy(OutALCARECOTkAlMuonIsolatedPA_noDrop) OutALCARECOTkAlMuonIsolatedPA.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolated_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolated_Output_cff.py index c83697462e092..ca5958791f173 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolated_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolated_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlMuonIsolated') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlMuonIsolated_*_*', + 'keep recoTracks_ALCARECOTkAlMuonIsolated_*_*', + 'keep recoTrackExtras_ALCARECOTkAlMuonIsolated_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlMuonIsolated_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolated_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolated_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -24,5 +28,14 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlMuonIsolated_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlMuonIsolated_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlMuonIsolated_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlMuonIsolated_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlMuonIsolated_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlMuonIsolated = OutALCARECOTkAlMuonIsolated_noDrop.clone() OutALCARECOTkAlMuonIsolated.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMuHI_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMuHI_Output_cff.py index 7681f2bba74cc..0a58b4400dc8c 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMuHI_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMuHI_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlUpsilonMuMuHI') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlUpsilonMuMuHI_*_*', + 'keep recoTracks_ALCARECOTkAlUpsilonMuMuHI_*_*', + 'keep recoTrackExtras_ALCARECOTkAlUpsilonMuMuHI_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlUpsilonMuMuHI_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlUpsilonMuMuHI_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlUpsilonMuMuHI_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -24,5 +28,14 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlUpsilonMuMuHI_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlUpsilonMuMuHI_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlUpsilonMuMuHI_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlUpsilonMuMuHI_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlUpsilonMuMuHI_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlUpsilonMuMuHI = OutALCARECOTkAlUpsilonMuMuHI_noDrop.clone() OutALCARECOTkAlUpsilonMuMuHI.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMuPA_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMuPA_Output_cff.py index e20048bfe0779..58670ce14aacc 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMuPA_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMuPA_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlUpsilonMuMuPA') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlUpsilonMuMuPA_*_*', + 'keep recoTracks_ALCARECOTkAlUpsilonMuMuPA_*_*', + 'keep recoTrackExtras_ALCARECOTkAlUpsilonMuMuPA_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlUpsilonMuMuPA_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlUpsilonMuMuPA_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlUpsilonMuMuPA_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -14,6 +18,25 @@ 'keep *_offlinePrimaryVertices_*_*') ) +# in Run3, SCAL digis replaced by onlineMetaDataDigis import copy +_run3_common_removedCommands = OutALCARECOTkAlUpsilonMuMuPA_noDrop.outputCommands.copy() +_run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*') + +_run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*', + 'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*'] + +from Configuration.Eras.Modifier_run3_common_cff import run3_common +run3_common.toModify(OutALCARECOTkAlUpsilonMuMuPA_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) + +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlUpsilonMuMuPA_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlUpsilonMuMuPA_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlUpsilonMuMuPA_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlUpsilonMuMuPA_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlUpsilonMuMuPA = copy.deepcopy(OutALCARECOTkAlUpsilonMuMuPA_noDrop) OutALCARECOTkAlUpsilonMuMuPA.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMu_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMu_Output_cff.py index 1b1c94408c7f6..10bc7b291015a 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMu_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlUpsilonMuMu_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlUpsilonMuMu') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlUpsilonMuMu_*_*', + 'keep recoTracks_ALCARECOTkAlUpsilonMuMu_*_*', + 'keep recoTrackExtras_ALCARECOTkAlUpsilonMuMu_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlUpsilonMuMu_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlUpsilonMuMu_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlUpsilonMuMu_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -24,5 +28,14 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlUpsilonMuMu_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlUpsilonMuMu_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlUpsilonMuMu_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlUpsilonMuMu_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlUpsilonMuMu_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlUpsilonMuMu = OutALCARECOTkAlUpsilonMuMu_noDrop.clone() OutALCARECOTkAlUpsilonMuMu.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlWMuNu_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlWMuNu_Output_cff.py index 69bac8545bbcd..921237dfd3de4 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlWMuNu_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlWMuNu_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlWMuNu') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlWMuNu_*_*', + 'keep recoTracks_ALCARECOTkAlWMuNu_*_*', + 'keep recoTrackExtras_ALCARECOTkAlWMuNu_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlWMuNu_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlWMuNu_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlWMuNu_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -14,6 +18,26 @@ 'keep *_offlinePrimaryVertices_*_*') ) +# in Run3, SCAL digis replaced by onlineMetaDataDigis import copy -OutALCARECOTkAlWMuNu = copy.deepcopy(OutALCARECOTkAlWMuNu_noDrop) +_run3_common_removedCommands = OutALCARECOTkAlWMuNu_noDrop.outputCommands.copy() +_run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*') + +_run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*', + 'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*'] + +from Configuration.Eras.Modifier_run3_common_cff import run3_common +run3_common.toModify(OutALCARECOTkAlWMuNu_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) + +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlWMuNu_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlWMuNu_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlWMuNu_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlWMuNu_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + +OutALCARECOTkAlWMuNu = OutALCARECOTkAlWMuNu_noDrop.clone() OutALCARECOTkAlWMuNu.outputCommands.insert(0, "drop *") + diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMuHI_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMuHI_Output_cff.py index f43faff154f62..f4742411b89db 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMuHI_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMuHI_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlZMuMuHI') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlZMuMuHI_*_*', + 'keep recoTracks_ALCARECOTkAlZMuMuHI_*_*', + 'keep recoTrackExtras_ALCARECOTkAlZMuMuHI_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlZMuMuHI_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlZMuMuHI_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlZMuMuHI_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -24,5 +28,14 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlZMuMuHI_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlZMuMuHI_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlZMuMuHI_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlZMuMuHI_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlZMuMuHI_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlZMuMuHI = OutALCARECOTkAlZMuMuHI_noDrop.clone() OutALCARECOTkAlZMuMuHI.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMuPA_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMuPA_Output_cff.py index 8daf5938acaaf..94d323c65d00f 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMuPA_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMuPA_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlZMuMuPA') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlZMuMuPA_*_*', + 'keep recoTracks_ALCARECOTkAlZMuMuPA_*_*', + 'keep recoTrackExtras_ALCARECOTkAlZMuMuPA_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlZMuMuPA_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlZMuMuPA_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlZMuMuPA_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -14,6 +18,25 @@ 'keep *_offlinePrimaryVertices_*_*') ) +# in Run3, SCAL digis replaced by onlineMetaDataDigis import copy +_run3_common_removedCommands = OutALCARECOTkAlZMuMuPA_noDrop.outputCommands.copy() +_run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*') + +_run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*', + 'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*'] + +from Configuration.Eras.Modifier_run3_common_cff import run3_common +run3_common.toModify(OutALCARECOTkAlZMuMuPA_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) + +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlZMuMuPA_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlZMuMuPA_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlZMuMuPA_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlZMuMuPA_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlZMuMuPA = copy.deepcopy(OutALCARECOTkAlZMuMuPA_noDrop) OutALCARECOTkAlZMuMuPA.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMu_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMu_Output_cff.py index 0c3928776ccc1..9f85e8b1f368a 100644 --- a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMu_Output_cff.py +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlZMuMu_Output_cff.py @@ -6,7 +6,11 @@ SelectEvents = cms.vstring('pathALCARECOTkAlZMuMu') ), outputCommands = cms.untracked.vstring( - 'keep *_ALCARECOTkAlZMuMu_*_*', + 'keep recoTracks_ALCARECOTkAlZMuMu_*_*', + 'keep recoTrackExtras_ALCARECOTkAlZMuMu_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlZMuMu_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlZMuMu_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlZMuMu_*_*', 'keep L1AcceptBunchCrossings_*_*_*', 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*', 'keep *_TriggerResults_*_*', @@ -24,5 +28,14 @@ from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(OutALCARECOTkAlZMuMu_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands) +# in Phase2, remove the SiStrip clusters and keep the OT ones instead +_phase2_common_removedCommands = OutALCARECOTkAlZMuMu_noDrop.outputCommands.copy() +_phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlZMuMu_*_*') + +_phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlZMuMu_*_*'] + +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common +phase2_common.toModify(OutALCARECOTkAlZMuMu_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands ) + OutALCARECOTkAlZMuMu = OutALCARECOTkAlZMuMu_noDrop.clone() OutALCARECOTkAlZMuMu.outputCommands.insert(0, "drop *")