Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L1T: remove l1ExtraParticles from stage 2 reco #36916

Merged
merged 2 commits into from Feb 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions HLTriggerOffline/Exotica/python/hltExoticaValidator_cfi.py
Expand Up @@ -232,3 +232,6 @@
DSTMuons = DSTMuonsPSet,
TracklessJets = TracklessJetsPSet
)

from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
stage2L1Trigger.toModify(hltExoticaValidator, METplusTrack = dict(l1METLabel = None))
4 changes: 2 additions & 2 deletions L1Trigger/Configuration/python/L1TReco_cff.py
Expand Up @@ -52,12 +52,12 @@ def config_L1ExtraForStage2Sim(coll):
stage1L1Trigger.toReplaceWith(L1Reco, cms.Sequence(l1extraParticles))

#
# Stage-2 Trigger: fow now, reco Stage-1 as before:
# Stage-2 Trigger:
#
from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
stage2L1Trigger.toReplaceWith(L1Reco_L1Extra,cms.Sequence())
stage2L1Trigger.toReplaceWith(L1Reco_L1Extra_L1GtRecord,cms.Sequence())
stage2L1Trigger.toReplaceWith(L1Reco, cms.Sequence(l1extraParticles))
stage2L1Trigger.toReplaceWith(L1Reco, cms.Sequence())

Copy link
Contributor

@tvami tvami Feb 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
stage2L1Trigger.toReplaceWith(L1Reco, cms.Sequence(l1extraParticles))
from Configuration.Eras.Era_Run3_cff import Run3
_L1Reco_forRun3 = L1Reco.copyAndExclude([l1extraParticles])
Run3.toReplaceWith(L1Reco, _L1Reco_forRun3)

wouldnt this work?

#
# l1L1GtObjectMap does not work properly with fastsim
Expand Down