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

Added esConsumes calls to more Muon related code #35697

Merged
merged 3 commits into from
Oct 19, 2021

Conversation

Dr15Jones
Copy link
Contributor

PR description:

  • added esConsumes calls. This required propagating ConsumesCollector to many helper classes
  • converted related modules away from legacy base classes

PR validation:

Code compiles.

- Also updated some modules to no longer be legacy
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35697/25999

  • This PR adds an extra 108KB to repository

  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

  • Alignment/CommonAlignmentMonitor (alca)
  • Alignment/MuonAlignmentAlgorithms (alca)
  • DQM/TrackingMonitor (dqm)
  • RecoMTD/TrackExtender (upgrade, reconstruction)
  • RecoMuon/GlobalMuonProducer (reconstruction)
  • RecoMuon/GlobalTrackingTools (reconstruction)
  • RecoMuon/StandAloneMuonProducer (reconstruction)
  • RecoMuon/StandAloneTrackFinder (reconstruction)
  • RecoMuon/TrackingTools (reconstruction)
  • TrackingTools/TrackRefitter (reconstruction)

@malbouis, @yuanchao, @pmandrik, @emanueleusai, @ahmad3213, @tvami, @cmsbuild, @AdrianoDee, @srimanob, @jfernan2, @slava77, @jpata, @francescobrivio, @pbo0, @rvenditti can you please review it and eventually sign? Thanks.
@felicepantaleo, @abbiendi, @fioriNTU, @tlampen, @threus, @mmusich, @dgulhan, @pakhotin, @hdelanno, @JanFSchulte, @jhgoh, @amagitte, @sscruz, @cericeci, @trocino, @rociovilar, @sroychow, @GiacomoSguazzoni, @rovere, @VinInn, @bellan, @tocheng, @jandrea, @idebruyn, @ebrondol, @mtosi, @fabiocos, @arossi83, @HuguesBrun, @adewit, @Fedespring, @calderona, @lecriste, @gpetruc this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@@ -101,7 +101,7 @@ StandAloneMuonTrajectoryBuilder::StandAloneMuonTrajectoryBuilder(const Parameter
// The seed transformer (used to refit the seed and get the seed transient state)
// ParameterSet seedTransformerPSet = par.getParameter<ParameterSet>("SeedTransformerParameters");
ParameterSet seedTransformerParameters = par.getParameter<ParameterSet>("SeedTransformerParameters");
theSeedTransformer = new SeedTransformer(seedTransformerParameters);
theSeedTransformer = new SeedTransformer(seedTransformerParameters, iC);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we avoid the new here and move to a smart pointer? I also don't see where this is deleted in case it's kept.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The objects are delete in the destructor

StandAloneMuonTrajectoryBuilder::~StandAloneMuonTrajectoryBuilder() {
LogTrace("Muon|RecoMuon|StandAloneMuonTrajectoryBuilder")
<< "StandAloneMuonTrajectoryBuilder destructor called" << endl;
if (theFilter)
delete theFilter;
if (doBackwardFilter && theBWFilter)
delete theBWFilter;
if (doRefit && theRefitter)
delete theRefitter;
if (theSeedTransformer)
delete theSeedTransformer;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did make the change. In general, since I am not the maintainer of this code, I'd prefer to only make changes which pertain directly to the work of the pull request.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35697/26001

  • This PR adds an extra 108KB to repository

  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

Pull request #35697 was updated. @malbouis, @yuanchao, @pmandrik, @emanueleusai, @ahmad3213, @tvami, @cmsbuild, @AdrianoDee, @srimanob, @jfernan2, @slava77, @jpata, @francescobrivio, @pbo0, @rvenditti can you please check and sign again.

@Dr15Jones
Copy link
Contributor Author

Please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-59d355/19670/summary.html
COMMIT: 764854b
CMSSW: CMSSW_12_1_X_2021-10-15-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35697/19670/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: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 2751113
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2751085
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 170 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@emanueleusai
Copy link
Member

+1

@tvami
Copy link
Contributor

tvami commented Oct 16, 2021

+alca

  • tests pass, comparison diff in MsgLogger only
  • SA shows several warnings, including other es get() functions, but this is to be handled beyond this PR

@srimanob
Copy link
Contributor

+Upgrade

@slava77
Copy link
Contributor

slava77 commented Oct 18, 2021

+reconstruction

for #35697 764854b

  • code changes are technical, in line with the PR description
  • jenkins tests pass

@cmsbuild
Copy link
Contributor

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

@qliphy
Copy link
Contributor

qliphy commented Oct 19, 2021

+1

@cmsbuild cmsbuild merged commit 87a4087 into cms-sw:master Oct 19, 2021
@Dr15Jones Dr15Jones deleted the esConsumesMuonLeftovers branch October 20, 2021 20:00
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.

7 participants