Skip to content

Commit

Permalink
Merge pull request #40394 from mmusich/AlignmentTrackSelectorPhase2_1…
Browse files Browse the repository at this point in the history
…2_6_X

[12.6.X] Adjust collections of Tracker clusters to be saved for Phase-2 ALCARECO
  • Loading branch information
cmsbuild authored Dec 23, 2022
2 parents eb4fe90 + e78b930 commit 0e938af
Show file tree
Hide file tree
Showing 26 changed files with 379 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 *")
Original file line number Diff line number Diff line change
Expand Up @@ -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 *")
Original file line number Diff line number Diff line change
Expand Up @@ -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_*_*',
Expand All @@ -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 *")
Original file line number Diff line number Diff line change
Expand Up @@ -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_*_*',
Expand All @@ -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 *")
Original file line number Diff line number Diff line change
Expand Up @@ -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_*_*',
Expand All @@ -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 *")
Original file line number Diff line number Diff line change
Expand Up @@ -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_*_*',
Expand All @@ -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 *")
Original file line number Diff line number Diff line change
Expand Up @@ -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_*_*',
Expand All @@ -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 *")
Original file line number Diff line number Diff line change
Expand Up @@ -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_*_*',
Expand All @@ -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 *")
Original file line number Diff line number Diff line change
Expand Up @@ -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_*_*',
Expand All @@ -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 *")
Original file line number Diff line number Diff line change
Expand Up @@ -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_*_*',
Expand All @@ -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 *")
Original file line number Diff line number Diff line change
Expand Up @@ -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_*_*',
Expand All @@ -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 *")
Loading

0 comments on commit 0e938af

Please sign in to comment.