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

Add L1 filters early on for Muon paths #44905

Merged
merged 2 commits into from
May 13, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import FWCore.ParameterSet.Config as cms

hltDoubleTkMuon157L1TkMuonFilter = cms.EDFilter("PathStatusFilter",
logicalExpression = cms.string('pDoubleTkMuon15_7')
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import FWCore.ParameterSet.Config as cms

hltSingleTkMuon22L1TkMuonFilter = cms.EDFilter("PathStatusFilter",
logicalExpression = cms.string('pSingleTkMuon22')
)
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from ..sequences.HLTL2MuonsFromL1TkSequence_cfi import *
from ..sequences.HLTPFClusteringForEgammaUnseededSequence_cfi import *
from ..sequences.HLTPhase2L3MuonGeneralTracksSequence_cfi import *
from ..modules.hltSingleTkMuon22L1TkMuonFilter_cfi import *
from ..modules.hltPhase2PixelFitterByHelixProjections_cfi import *
from ..modules.hltPhase2PixelTrackFilterByKinematics_cfi import *
from ..modules.hltL3crIsoL1TkSingleMu22L3f24QL3pfecalIsoFiltered0p41_cfi import *
Expand All @@ -33,6 +34,7 @@


HLT_IsoMu24_FromL1TkMuon = cms.Path(HLTBeginSequence
+hltSingleTkMuon22L1TkMuonFilter
+RawToDigiSequence
+itLocalRecoSequence
+otLocalRecoSequence
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from ..sequences.HLTL2MuonsFromL1TkSequence_cfi import *
from ..sequences.HLTPFClusteringForEgammaUnseededSequence_cfi import *
from ..sequences.HLTPhase2L3MuonGeneralTracksSequence_cfi import *
from ..modules.hltDoubleTkMuon157L1TkMuonFilter_cfi import *
from ..modules.hltPhase2PixelFitterByHelixProjections_cfi import *
from ..modules.hltPhase2PixelTrackFilterByKinematics_cfi import *
from ..modules.hltDiMuon178RelTrkIsoFiltered0p4_cfi import *
Expand All @@ -30,8 +31,7 @@
from ..modules.hltPhase2L3MuonsTrkIsoRegionalNewdR0p3dRVeto0p005dz0p25dr0p20ChisqInfPtMin0p0Cut0p4_cfi import *

HLT_Mu17_TrkIsoVVL_Mu8_TrkIsoVVL_DZ_FromL1TkMuon = cms.Path(HLTBeginSequence
+hltL1TkDoubleMuFiltered7
+hltL1TkSingleMuFiltered15
+hltDoubleTkMuon157L1TkMuonFilter
+hltDoubleMuon7DZ1p0
+RawToDigiSequence
+itLocalRecoSequence
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import FWCore.ParameterSet.Config as cms

from ..modules.hltSingleTkMuon22L1TkMuonFilter_cfi import *
from ..modules.hltL3fL1TkSingleMu22L3Filtered50Q_cfi import *
from ..modules.hltPhase2L3MuonCandidates_cfi import *
from ..modules.hltPhase2PixelFitterByHelixProjections_cfi import *
Expand All @@ -13,6 +14,7 @@
from ..sequences.otLocalRecoSequence_cfi import *

HLT_Mu50_FromL1TkMuon = cms.Path(HLTBeginSequence
+hltSingleTkMuon22L1TkMuonFilter
+muonlocalrecoSequence
+itLocalRecoSequence
+otLocalRecoSequence
Expand Down
6 changes: 3 additions & 3 deletions HLTrigger/Configuration/python/HLT_75e33/test/runHLTTiming.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ done
ALL_FILES="${ALL_FILES%?}"
echo "Discovered files: $ALL_FILES"

cmsDriver.py Phase2 -s HLT:75e33_timing --processName=HLTX \
cmsDriver.py Phase2 -s L1P2GT,HLT:75e33_timing --processName=HLTX \
antoniovilela marked this conversation as resolved.
Show resolved Hide resolved
--conditions auto:phase2_realistic_T25 --geometry Extended2026D98 \
--era Phase2C17I13M9 \
--customise SLHCUpgradeSimulations/Configuration/aging.customise_aging_1000 \
Expand All @@ -45,11 +45,11 @@ cmsDriver.py Phase2 -s HLT:75e33_timing --processName=HLTX \
--mc --nThreads 4 --inputCommands='keep *, drop *_hlt*_*_HLT, drop triggerTriggerFilterObjectWithRefs_l1t*_*_HLT' \
-n 1000 --no_exec --output={}

if [ -e 'Phase2_HLT.py' ]; then
if [ -e 'Phase2_L1P2GT_HLT.py' ]; then
if [ ! -d 'patatrack-scripts' ]; then
git clone https://github.com/cms-patatrack/patatrack-scripts --depth 1
fi
patatrack-scripts/benchmark -j 4 -t 8 -s 8 -e 1000 --no-run-io-benchmark -k Phase2Timing_resources.json -- Phase2_HLT.py
patatrack-scripts/benchmark -j 4 -t 16 -s 16 -e 1000 --no-run-io-benchmark -k Phase2Timing_resources.json -- Phase2_L1P2GT_HLT.py
if [ ! -d 'circles' ]; then
git clone https://github.com/fwyzard/circles.git --depth 1
fi
Expand Down