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

fix HLT online DQM client to cope with PbPb HLT strip collections #46622

Merged
merged 2 commits into from
Nov 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
19 changes: 19 additions & 0 deletions DQM/HLTEvF/python/HLTSiStripMonitoring_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@
measurementTracker = cms.string( "hltESPMeasurementTracker" )
)

from Configuration.Eras.Modifier_pp_on_PbPb_run3_cff import pp_on_PbPb_run3
pp_on_PbPb_run3.toModify(hltMeasurementTrackerEvent,
stripClusterProducer = cms.string( "hltHITrackingSiStripRawToClustersFacilityFullZeroSuppression" ),
pixelClusterProducer = cms.string( "hltSiPixelClustersAfterSplittingPPOnAA" ),
)

#####
hltESPTrajectoryFitterRK = cms.ESProducer( "KFTrajectoryFitterESProducer",
appendToDataLabel = cms.string( "" ),
Expand Down Expand Up @@ -223,6 +229,9 @@
hltTrackRefitterForSiStripMonitorTrack.NavigationSchool = 'navigationSchoolESProducer'
hltTrackRefitterForSiStripMonitorTrack.src = 'hltMergedTracks' # hltIter2Merged

pp_on_PbPb_run3.toModify(hltTrackRefitterForSiStripMonitorTrack,
src = 'hltMergedTracksPPOnAA')

HLTSiStripMonitorTrack.TopFolderName = 'HLT/SiStrip'
HLTSiStripMonitorTrack.TrackProducer = 'hltTrackRefitterForSiStripMonitorTrack'
HLTSiStripMonitorTrack.TrackLabel = ''
Expand All @@ -234,6 +243,12 @@
HLTSiStripMonitorTrack.HistoFlag_On = False
HLTSiStripMonitorTrack.TkHistoMap_On = False

pp_on_PbPb_run3.toModify(HLTSiStripMonitorTrack,
Cluster_src = "hltHITrackingSiStripRawToClustersFacilityFullZeroSuppression")

pp_on_PbPb_run3.toModify(HLTSiStripMonitorCluster,
BPTXfilter = dict(l1Algorithms = ['L1_ZeroBias']))

HLTSiStripMonitorClusterAPVgainCalibration = HLTSiStripMonitorCluster.clone()
from DQM.TrackingMonitorSource.pset4GenericTriggerEventFlag_cfi import *
#HLTSiStripMonitorClusterAPVgainCalibration.BPTXfilter = genericTriggerEventFlag4fullTrackerAndHLTnoHIPnoOOTdb # HLT_ZeroBias_FirstCollisionAfterAbortGap_*
Expand Down Expand Up @@ -261,6 +276,10 @@
)
HLTSiStripMonitorClusterAPVgainCalibration.TopFolderName = cms.string('HLT/SiStrip/ZeroBias_FirstCollisionAfterAbortGap')

pp_on_PbPb_run3.toModify(HLTSiStripMonitorClusterAPVgainCalibration,
BPTXfilter = dict(hltPaths = ["HLT_HICentrality30100_FirstCollisionAfterAbortGap_v*"]),
TopFolderName = cms.string('HLT/SiStrip/HLT_HICentrality30100_FirstCollisionAfterAbortGap'))

sistripOnlineMonitorHLTsequence = cms.Sequence(
hltMeasurementTrackerEvent
* sistripMonitorHLTsequence # strip cluster monitoring
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import FWCore.ParameterSet.Config as cms

import sys
from Configuration.Eras.Era_Run3_cff import Run3
process = cms.Process("DQM", Run3)
if 'runkey=hi_run' in sys.argv:
from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters
process = cms.Process("DQM", Run3_pp_on_PbPb_approxSiStripClusters)
else:
from Configuration.Eras.Era_Run3_cff import Run3
process = cms.Process("DQM", Run3)

unitTest = False
if 'unitTest=True' in sys.argv:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@
VertexCut = cms.untracked.bool(True)
)

from Configuration.Eras.Modifier_pp_on_PbPb_run3_cff import pp_on_PbPb_run3
pp_on_PbPb_run3.toModify(hltSiPixelPhase1TrackResidualsAnalyzer,
vertices = 'hltPixelVerticesPPOnAA')

hltSiPixelPhase1TrackResidualsHarvester = DQMEDHarvester("SiPixelPhase1Harvester",
histograms = hltSiPixelPhase1TrackResidualsConf,
geometry = hltSiPixelPhase1Geometry
Expand Down