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 definition override in RecoTrackerP5_cff.py [11_3_X] #34347

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented Jul 6, 2021

backport of #34332

PR description:

PR #30947 appears to have broken a functionality used in the tracker alignment group.
The following code snippet:

import FWCore.ParameterSet.Config as cms
process = cms.Process("MuonTrackSplit")

import Alignment.CommonAlignment.tools.trackselectionRefitting as trackselRefit
process.seqTrackselRefit = trackselRefit.getSequence(process,
                                                     "ALCARECOTkAlCosmicsCTF0T",
                                                     isPVValidation = False, 
                                                     TTRHBuilder = "WithAngleAndTemplate",
                                                     usePixelQualityFlag=True,
                                                     openMassWindow = False,
                                                     cosmicsDecoMode = True,
                                                     cosmicsZeroTesla = False,
                                                     momentumConstraint = None,
                                                     cosmicTrackSplitting = True,
                                                     use_d0cut = False
                                                     )

currently results in:

ValueError: Trying to override definition of cosmicTrackSplitter while it is used by the task cosmictracksP5Task
 new object defined in: /tmp/musich/CMSSW_12_0_X_2021-07-05-1100/python/RecoTracker/FinalTrackSelectors/cosmicTrackSplitter_cfi.py
 existing object defined in: /tmp/musich/CMSSW_12_0_X_2021-07-05-1100/python/RecoTracker/Configuration/RecoTrackerP5_cff.py

This PR fixes the issue reported above.

PR validation:

Run the code snippet above successfully:

cmsRun testTrackRefiter.py

if this PR is a backport please specify the original PR and why you need to backport that PR:

backport of #34332

cc:
@DaveBrun94

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 6, 2021

A new Pull Request was created by @mmusich (Marco Musich) for CMSSW_11_3_X.

It involves the following packages:

RecoTracker/Configuration
RecoTracker/FinalTrackSelectors

@perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@makortel, @felicepantaleo, @GiacomoSguazzoni, @JanFSchulte, @rovere, @VinInn, @ebrondol, @gpetruc, @mmusich, @mtosi, @dgulhan this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@mmusich
Copy link
Contributor Author

mmusich commented Jul 6, 2021

@cmsbuild, please test

@mmusich
Copy link
Contributor Author

mmusich commented Jul 6, 2021

type bug-fix

@mmusich
Copy link
Contributor Author

mmusich commented Jul 6, 2021

urgent

@cmsbuild cmsbuild added the urgent label Jul 6, 2021
@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 6, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dabd3b/16489/summary.html
COMMIT: bcd896b
CMSSW: CMSSW_11_3_X_2021-07-05-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/34347/16489/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2877978
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2877955
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 37 files compared)
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@perrotta
Copy link
Contributor

perrotta commented Jul 6, 2021

+reconstruction

  • Identical to fix definition override in RecoTrackerP5_cff.py #34332, now merged in master
  • It fixes an error in the configuration of the cosmicTrackSplitter in RecoTrackerP5_cff.py
  • Jenkins tests pass and show no differences in the standard workflows, as this PR only affects a tracker alignment workflow to be used online (verified to get fixed, as reported in the master PR description)

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 6, 2021

This pull request is fully signed and it will be integrated in one of the next CMSSW_11_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_0_X is complete. This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Jul 7, 2021

+1

@cmsbuild cmsbuild merged commit 5eb9081 into cms-sw:CMSSW_11_3_X Jul 7, 2021
@mmusich mmusich deleted the fixDefinitionOverrideInRecoTrackerP5_11_3_X branch July 7, 2021 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants