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

Allow TrackClusterRemover to work on either pixel or strip clusters alone #19543

Merged
merged 3 commits into from Jul 6, 2017

Conversation

JanFSchulte
Copy link
Contributor

Right now, the TrackClusterRemover uses both pixel and strip clusters at all times. This PR introduces the possibility to have it run on either of them alone.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

A new Pull Request was created by @JanFSchulte (Jan-Frederik Schulte) for master.

It involves the following packages:

RecoLocalTracker/SubCollectionProducers

@perrotta, @cmsbuild, @slava77, @davidlange6 can you please review it and eventually sign? Thanks.
@makortel, @felicepantaleo, @forthommel, @yduhm, @GiacomoSguazzoni, @gbenelli, @rovere, @VinInn, @nickmccoll, @jlagram, @gpetruc, @OlivierBondu, @mmusich, @threus, @ebrondol this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@makortel
Copy link
Contributor

makortel commented Jul 4, 2017

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/21138/console Started: 2017/07/04 16:22

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-19543/21138/summary.html

Comparison Summary:

  • You potentially added 15 lines to the logs
  • Reco comparison results: 1092 differences found in the comparisons
  • DQMHistoTests: Total files compared: 22
  • DQMHistoTests: Total histograms compared: 1756063
  • DQMHistoTests: Total failures: 29669
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1726228
  • DQMHistoTests: Total skipped: 166
  • DQMHistoTests: Total Missing objects: 0
  • Checked 90 log files, 14 edm output root files, 22 DQM output files

@slava77
Copy link
Contributor

slava77 commented Jul 4, 2017

@cmsbuild please test
to get cleaner comparisons

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/21154/console Started: 2017/07/04 21:50

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2017

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-19543/21154/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 22
  • DQMHistoTests: Total histograms compared: 1760883
  • DQMHistoTests: Total failures: 29915
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1730802
  • DQMHistoTests: Total skipped: 166
  • DQMHistoTests: Total Missing objects: 0
  • Checked 90 log files, 14 edm output root files, 22 DQM output files

@fwyzard
Copy link
Contributor

fwyzard commented Jul 5, 2017

Hi @slava77, thanks for looking at this.
Unfortunately it's rather urgent, asn we would need it (well, the 9.2.x backport) online next week.

Thanks,
.Andrea

@perrotta
Copy link
Contributor

perrotta commented Jul 5, 2017

+1

  • This PR add protections and allow running in case there are only pixel or strip clusters
  • No effect on jenkins tests, as expected

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 5, 2017

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 requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@@ -51,8 +51,8 @@ namespace {
const TrackCollectionTokens trajectories_;
edm::EDGetTokenT<QualityMaskCollection> srcQuals;

const edm::EDGetTokenT<edmNew::DetSetVector<SiPixelCluster> > pixelClusters_;
const edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster> > stripClusters_;
edm::EDGetTokenT<edmNew::DetSetVector<SiPixelCluster> > pixelClusters_;
Copy link
Contributor

Choose a reason for hiding this comment

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

hi @JanFSchulte - why does this const need to be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If those stay const, compilation fails with this error:
data/user/jschulte/CMSSW_9_2_4/src/RecoLocalTracker/SubCollectionProducers/src/TrackClusterRemover.cc:98:19: error: passing 'const edm::EDGetTokenT<edmNew::DetSetVector >' as 'this' argument discards qualifiers [-fpermissive]
pixelClusters_ = consumes<edmNew::DetSetVector >(pixelClusters);

Copy link
Contributor

Choose a reason for hiding this comment

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

they can no longer be const because they are assigned to in the constructor, instead of being initialised in the initialisation list

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit b39fe5a into cms-sw:master Jul 6, 2017
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

7 participants