Skip to content

Commit 9fffd3c

Browse files
committed
Validation/HGCalValidation: use ngtScouting process modifier to exclude hltTiclTrackstersCLUE3DHighL1Seeded from HLT TICL labels
1 parent a5e82e9 commit 9fffd3c

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import FWCore.ParameterSet.Config as cms
2+
3+
# This modifier is for running ngt scouting menu validation
4+
5+
ngtScouting = cms.Modifier()

Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,10 +1974,12 @@ def condition(self, fragment, stepList, key, hasHarvest):
19741974
)
19751975
upgradeWFs['NGTScouting'].step2 = {
19761976
'-s':'DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:NGTScouting,VALIDATION:@hltValidation',
1977+
'--procModifiers': 'ngtScouting',
19771978
'--datatier':'GEN-SIM-DIGI-RAW,DQMIO',
19781979
'--eventcontent':'FEVTDEBUGHLT,DQMIO'
19791980
}
19801981
upgradeWFs['NGTScouting'].step3 = {
1982+
'--procModifiers': 'ngtScouting',
19811983
'-s':'HARVESTING:@hltValidation'
19821984
}
19831985

Validation/HGCalValidation/python/HLT_TICLIterLabels_cff.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@
1616
]
1717
})
1818
)
19+
20+
## remove the L1Seeded iteration form the HLT Ticl labels
21+
from Configuration.ProcessModifiers.ngtScouting_cff import ngtScouting
22+
_ngtLabels = [label for label in hltTiclIterLabels if label != "hltTiclTrackstersCLUE3DHighL1Seeded"]
23+
ngtScouting.toModify(
24+
globals(), lambda g: g.update({"hltTiclIterLabels": _ngtLabels})
25+
)

0 commit comments

Comments
 (0)