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

Move commons.h to DataFormats/HGCalReco to break cyclic dep #45208

Merged
merged 2 commits into from
Jun 20, 2024

Conversation

smuzaffar
Copy link
Contributor

This PR proposes to move RecoHGCal/TICL/interface/commons.h to DataFormats/HGCalReco/interface/commons.h to break the cyclic dependency. RecoHGCal/TICL depends DataFormats/HGCalReco via [a]. Moving the commons.h in to DataFormats/HGCalReco break the cyclic deps and should also fix the FWLite build errors [b] as RecoHGCal/TICL is not part of fwlite build

[a]

RecoHGCal/TICL/plugins/TICLCandidateFromTrackstersProducer.cc:#include "DataFormats/HGCalReco/interface/Trackster.h"
RecoHGCal/TICL/plugins/PFTICLProducer.cc:#include "DataFormats/HGCalReco/interface/TICLCandidate.h"
RecoHGCal/TICL/plugins/HGCGraph.cc:#include "DataFormats/HGCalReco/interface/Common.h"
RecoHGCal/TICL/plugins/SeedingRegionAlgoBase.h:#include "DataFormats/HGCalReco/interface/Common.h"
RecoHGCal/TICL/plugins/SeedingRegionAlgoBase.h:#include "DataFormats/HGCalReco/interface/TICLSeedingRegion.h"
RecoHGCal/TICL/plugins/TICLDumper.cc:#include "DataFormats/HGCalReco/interface/Trackster.h"
RecoHGCal/TICL/plugins/TICLDumper.cc:#include "DataFormats/HGCalReco/interface/TICLCandidate.h"
RecoHGCal/TICL/plugins/TICLDumper.cc:#include "DataFormats/HGCalReco/interface/Common.h"
RecoHGCal/TICL/plugins/TICLDumper.cc:#include "DataFormats/HGCalReco/interface/commons.h"
RecoHGCal/TICL/plugins/TICLLayerTileProducer.cc:#include "DataFormats/HGCalReco/interface/TICLLayerTile.h"
RecoHGCal/TICL/plugins/LinkingAlgoByDirectionGeometric.h:#include "DataFormats/HGCalReco/interface/commons.h"
RecoHGCal/TICL/plugins/LinkingAlgoByDirectionGeometric.h:#include "DataFormats/HGCalReco/interface/TICLLayerTile.h"
RecoHGCal/TICL/plugins/LinkingAlgoByDirectionGeometric.h:#include "DataFormats/HGCalReco/interface/Trackster.h"
RecoHGCal/TICL/plugins/TrackstersPCA.h:#include "DataFormats/HGCalReco/interface/Trackster.h"

[b]

In file included from input_line_7:70:
src/DataFormats/HGCalReco/interface/TICLCandidate.h:10:10: fatal error: 'RecoHGCal/TICL/interface/commons.h' file not found
#include "RecoHGCal/TICL/interface/commons.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 12, 2024

cms-bot internal usage

@smuzaffar
Copy link
Contributor Author

smuzaffar commented Jun 12, 2024

@felicepantaleo , your PR #44785 had introduced this dependency. please feel free to propose a better change ( e.g. move commons.h to some other common base package)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45208/40559

  • This PR adds an extra 48KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar for master.

It involves the following packages:

  • DataFormats/HGCalReco (upgrade, reconstruction)
  • RecoHGCal/TICL (upgrade, reconstruction)
  • Validation/HGCalValidation (dqm)

@rvenditti, @nothingface0, @antoniovagnerini, @tjavaid, @cmsbuild, @subirsarkar, @jfernan2, @syuvivida, @mandrenguyen, @srimanob can you please review it and eventually sign? Thanks.
@sobhatta, @vandreev11, @cseez, @rovere, @felicepantaleo, @youyingli, @forthommel, @missirol, @sameasy, @lecriste, @apsallid, @sethzenz, @hatakeyamak, @lgray, @pfs, @bsunanda this is something you requested to watch as well.
@rappoccio, @sextonkennedy, @antoniovilela you are the release manager for this.

cms-bot commands are listed here

@felicepantaleo
Copy link
Contributor

Thanks @smuzaffar DataFormats/HGCalReco is a good location.

@felicepantaleo
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9bdfeb/39857/summary.html
COMMIT: 416f488
CMSSW: CMSSW_14_1_X_2024-06-12-1900/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45208/39857/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 4 lines from the logs
  • Reco comparison results: 12 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3345018
  • DQMHistoTests: Total failures: 9
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3344989
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@smuzaffar
Copy link
Contributor Author

hold

@felicepantaleo , there is already DataFormats/HGCalReco/interface/Common.h , Any objections on merging both DataFormats/HGCalReco/interface/Common.h and DataFormats/HGCalReco/interface/commons.h ?

@cmsbuild
Copy link
Contributor

Pull request has been put on hold by @smuzaffar
They need to issue an unhold command to remove the hold state or L1 can unhold it for all

@felicepantaleo
Copy link
Contributor

@smuzaffar Since there is already a PR fixing pending stuff in TICLv5, maybe we can make the fix you propose here #45215 and close this PR so that we avoid conflicts, rebase, and retriggering of tests.

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9bdfeb/39869/summary.html
COMMIT: 5e23d50
CMSSW: CMSSW_14_1_X_2024-06-13-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45208/39869/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals-INPUT

Comparison Summary

Summary:

  • You potentially added 2 lines to the logs
  • Reco comparison results: 12 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3345018
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3344992
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9bdfeb/39869/summary.html
COMMIT: 5e23d50
CMSSW: CMSSW_14_1_X_2024-06-13-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/45208/39869/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 2 lines to the logs
  • Reco comparison results: 12 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3345018
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3344992
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@mandrenguyen
Copy link
Contributor

+1

@smuzaffar
Copy link
Contributor Author

@cms-sw/dqm-l2 @cms-sw/upgrade-l2 can you please review this PR . This should fix the cyclic source level dependency between RecoHGCal/TICL and DataFormats/HGCalReco and also should fix the FWLite build error

@smuzaffar
Copy link
Contributor Author

unhold

@cmsbuild cmsbuild removed the hold label Jun 17, 2024
@tjavaid
Copy link

tjavaid commented Jun 18, 2024

+1

@srimanob
Copy link
Contributor

+Upgrade

@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. @sextonkennedy, @rappoccio, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 3028de7 into cms-sw:master Jun 20, 2024
11 checks passed
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