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

Update DQM (offline + HLTEvF) HLT track monitoring for Run3 era #37177

Merged
merged 1 commit into from Mar 9, 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
13 changes: 12 additions & 1 deletion DQM/HLTEvF/python/HLTTrackingMonitoring_Client_cff.py
Expand Up @@ -6,7 +6,8 @@
trackingEffFromHitPatternHLT = trackingEffFromHitPattern.clone(
subDirs = (
"HLT/Tracking/pixelTracks/HitEffFromHitPattern*",
"HLT/Tracking/iter2Merged/HitEffFromHitPattern*"
"HLT/Tracking/iter2Merged/HitEffFromHitPattern*",
"HLT/Tracking/tracks/HitEffFromHitPattern*"
)
)
# Sequence
Expand All @@ -26,3 +27,13 @@
trackingForElectronsMonitorClientHLT = cms.Sequence(
trackingForElectronsEffFromHitPatternHLT
)

def _modifyForRun3Default(efffromhitpattern):
efffromhitpattern.subDirs = ["HLT/Tracking/pixelTracks/HitEffFromHitPattern*", "HLT/Tracking/tracks/HitEffFromHitPattern*"]

def _modifyForRun3EGM(efffromhitpattern):
efffromhitpattern.subDirs = ["HLT/EGM/Tracking/GSF/HitEffFromHitPattern*"]

from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toModify(trackingEffFromHitPatternHLT, _modifyForRun3Default)
run3_common.toModify(trackingForElectronsEffFromHitPatternHLT, _modifyForRun3EGM)
4 changes: 4 additions & 0 deletions DQM/HLTEvF/python/HLTTrackingMonitoring_cff.py
Expand Up @@ -20,3 +20,7 @@
* pixelTracksForElectronsTracksMonitoringHLT
* iterHLTTracksForElectronsMonitoringHLT
)

from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toReplaceWith(trackingMonitoringHLTsequence, cms.Sequence(pixelTracksMonitoringHLT * iterHLTTracksMonitoringHLT))
run3_common.toReplaceWith(egmTrackingMonitorHLTsequence, cms.Sequence(gsfTracksMonitoringHLT))
10 changes: 10 additions & 0 deletions DQMOffline/Trigger/python/TrackingMonitoring_Client_cff.py
Expand Up @@ -66,3 +66,13 @@
trackEfficiencyMonitoringClientHLT = cms.Sequence(
TrackToTrackEfficiencies
)

def _modifyForRun3Default(efffromhitpattern):
efffromhitpattern.subDirs = ["HLT/Tracking/pixelTracks/HitEffFromHitPattern*", "HLT/Tracking/tracks/HitEffFromHitPattern*"]

def _modifyForRun3EGM(efffromhitpattern):
efffromhitpattern.subDirs = ["HLT/EGM/Tracking/GSF/HitEffFromHitPattern*"]

from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toModify(trackingEffFromHitPatternHLT, _modifyForRun3Default)
run3_common.toModify(trackingForElectronsEffFromHitPatternHLT, _modifyForRun3EGM)
8 changes: 6 additions & 2 deletions DQMOffline/Trigger/python/TrackingMonitoring_cff.py
Expand Up @@ -116,7 +116,7 @@
trackingMonitorHLTall = cms.Sequence(
pixelTracksMonitoringHLT
+ iter0TracksMonitoringHLT
+ iter2HPTracksMonitoringHLT
+ iter0HPTracksMonitoringHLT
+ iter1TracksMonitoringHLT
+ iter1HPTracksMonitoringHLT
+ iter2TracksMonitoringHLT
Expand Down Expand Up @@ -199,6 +199,10 @@
+ iterHLTTracksForElectronsMonitoringHLT
)


trkHLTDQMSourceExtra = cms.Sequence(
)

from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toReplaceWith(trackingMonitorHLT, cms.Sequence(pixelTracksMonitoringHLT + iterHLTTracksMonitoringHLT))
run3_common.toReplaceWith(trackingMonitorHLTall, cms.Sequence(pixelTracksMonitoringHLT + iter0TracksMonitoringHLT + iterHLTTracksMonitoringHLT))
run3_common.toReplaceWith(egmTrackingMonitorHLT, cms.Sequence(gsfTracksMonitoringHLT))