Skip to content

Commit

Permalink
Merge pull request #42266 from mtosi/doubletRecoveryDQMatHLT
Browse files Browse the repository at this point in the history
add DQM and Validation modules for doublet recovery tracks
  • Loading branch information
cmsbuild authored Jul 15, 2023
2 parents b3b4fd8 + a934889 commit 3408cbd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DQM/HLTEvF/python/HLTTrackingMonitoring_Client_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
)

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

def _modifyForRun3EGM(efffromhitpattern):
efffromhitpattern.subDirs = ["HLT/EGM/Tracking/GSF/HitEffFromHitPattern*"]
Expand Down
2 changes: 1 addition & 1 deletion DQM/HLTEvF/python/HLTTrackingMonitoring_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
)

from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toReplaceWith(trackingMonitoringHLTsequence, cms.Sequence(pixelTracksMonitoringHLT * iterHLTTracksMonitoringHLT))
run3_common.toReplaceWith(trackingMonitoringHLTsequence, cms.Sequence(pixelTracksMonitoringHLT * iterHLTTracksMonitoringHLT * doubletRecoveryHPTracksMonitoringHLT)) # * iter0HPTracksMonitoringHLT ))
run3_common.toReplaceWith(egmTrackingMonitorHLTsequence, cms.Sequence(gsfTracksMonitoringHLT))
2 changes: 1 addition & 1 deletion DQMOffline/Trigger/python/TrackingMonitoring_Client_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
)

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

def _modifyForRun3EGM(efffromhitpattern):
efffromhitpattern.subDirs = ["HLT/EGM/Tracking/GSF/HitEffFromHitPattern*"]
Expand Down
11 changes: 10 additions & 1 deletion DQMOffline/Trigger/python/TrackingMonitoring_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,15 @@
# + iter4TracksMonitoringHLT
)

doubletRecoveryHPTracksMonitoringHLT = trackingMonHLT.clone(
FolderName = 'HLT/Tracking/doubletRecoveryTracks',
TrackProducer = 'hltDoubletRecoveryPFlowTrackSelectionHighPurity',
allTrackProducer = 'hltDoubletRecoveryPFlowTrackSelectionHighPurity',
doEffFromHitPatternVsPU = True,
doEffFromHitPatternVsBX = False,
doEffFromHitPatternVsLUMI = False
)

############
#### EGM tracks
# GSF: hltEgammaGsfTracks
Expand Down Expand Up @@ -203,6 +212,6 @@
)

from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toReplaceWith(trackingMonitorHLT, cms.Sequence(pixelTracksMonitoringHLT + iterHLTTracksMonitoringHLT))
run3_common.toReplaceWith(trackingMonitorHLT, cms.Sequence(pixelTracksMonitoringHLT + iterHLTTracksMonitoringHLT + doubletRecoveryHPTracksMonitoringHLT )) # + iter0HPTracksMonitoringHLT ))
run3_common.toReplaceWith(trackingMonitorHLTall, cms.Sequence(pixelTracksMonitoringHLT + iter0TracksMonitoringHLT + iterHLTTracksMonitoringHLT))
run3_common.toReplaceWith(egmTrackingMonitorHLT, cms.Sequence(gsfTracksMonitoringHLT))
2 changes: 1 addition & 1 deletion Validation/RecoTrack/python/HLTmultiTrackValidator_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
)

def _modifyForRun3(trackvalidator):
trackvalidator.label = ["hltPixelTracks", "hltMergedTracks"]
trackvalidator.label = ["hltPixelTracks", "hltMergedTracks", "hltDoubletRecoveryPFlowTrackSelectionHighPurity"] #, "hltIter0PFlowTrackSelectionHighPurity"]

from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toModify(hltTrackValidator, _modifyForRun3)

0 comments on commit 3408cbd

Please sign in to comment.