Skip to content

Commit

Permalink
Merge pull request #37537 from lwang046/HcalDQM-FixHBHEtag
Browse files Browse the repository at this point in the history
HCalDQM: Fix for issue #37486 collection tag correction
  • Loading branch information
cmsbuild committed Apr 20, 2022
2 parents a2af41a + b2891e0 commit 4a6a52f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions DQM/HcalTasks/python/OfflineSourceSequence_pp.py
Expand Up @@ -44,8 +44,24 @@
from Configuration.ProcessModifiers.gpuValidationHcal_cff import gpuValidationHcal
gpuValidationHcal.toReplaceWith(hcalOnlyOfflineSourceSequence, hcalOnlyOfflineSourceSequenceGPU)

from Configuration.Eras.Modifier_run2_HCAL_2018_cff import run2_HCAL_2018
run2_HCAL_2018.toModify(hcalGPUComparisonTask,
tagHBHE_ref = "hbheprereco@cpu",
tagHBHE_target = "hbheprereco@cuda"
)
run2_HCAL_2018.toModify(recHitTask,
tagHBHE = "hbheprereco"
)

from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
### reverting the reco tag setting that inherited from run2
run3_HB.toModify(hcalGPUComparisonTask,
tagHBHE_ref = "hbhereco@cpu",
tagHBHE_target = "hbhereco@cuda"
)
run3_HB.toModify(recHitTask,
tagHBHE = "hbhereco"
)
_phase1_hcalOnlyOfflineSourceSequence = hcalOnlyOfflineSourceSequence.copy()
_phase1_hcalOnlyOfflineSourceSequence.replace(recHitPreRecoTask, recHitTask)
run3_HB.toReplaceWith(hcalOnlyOfflineSourceSequence, _phase1_hcalOnlyOfflineSourceSequence)
Expand Down

0 comments on commit 4a6a52f

Please sign in to comment.