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

Remove dependency from DDCMS/interface/DDShapes.h #31649

Merged
merged 2 commits into from Oct 6, 2020

Conversation

namapane
Copy link
Contributor

@namapane namapane commented Oct 2, 2020

PR description:

Addressing #31569, replacing #31578 as discussed therein.

Should also replace the former in #31603, cf: #31603 (comment) .

PR validation:

Ran MF regression over all MF geometries for all nominal currents and eras, for builders from DDD and DD4hep, from xml and from DB

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31649/18745

  • This PR adds an extra 24KB to repository

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2020

A new Pull Request was created by @namapane (Nicola Amapane) for master.

It involves the following packages:

MagneticField/GeomBuilder

@perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@ianna
Copy link
Contributor

ianna commented Oct 2, 2020

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2020

The tests are being triggered in jenkins.
Tested with other pull request(s) #31581

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2020

-1

Tested at: b8e7ce9

CMSSW: CMSSW_11_2_X_2020-10-02-1100
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-05f749/9708/summary.html

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found compilation error when building:

--- Registered EDM Plugin: GeometryVeryForwardGeometryBuilderPlugins
Entering library rule at Geometry/VeryForwardGeometryBuilder
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-02-1100/src/Geometry/VeryForwardGeometryBuilder/src/CTPPSGeometry.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-02-1100/src/Geometry/VeryForwardGeometryBuilder/src/DetGeomDesc.cc
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-02-1100/src/Geometry/VeryForwardGeometryBuilder/src/DetGeomDesc.cc:17:
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-02-1100/poison/DetectorDescription/DDCMS/interface/DDShapes.h:1:2: error: #error THIS FILE HAS BEEN REMOVED FROM THE PACKAGE.
 #error THIS FILE HAS BEEN REMOVED FROM THE PACKAGE.
  ^~~~~
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-02-1100/src/Geometry/VeryForwardGeometryBuilder/src/DetGeomDescBuilder.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-02-1100/src/Geometry/VeryForwardGeometryBuilder/src/module.cc
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-02-1100/src/Geometry/VeryForwardGeometryBuilder/src/DetGeomDesc.cc:17:


@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 2, 2020

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31649/18796

  • This PR adds an extra 24KB to repository

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2020

Pull request #31649 was updated. @perrotta, @jpata, @cmsbuild, @slava77 can you please check and sign again.

Copy link
Contributor Author

@namapane namapane left a comment

Choose a reason for hiding this comment

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

The changes seem to be about geometry, therefore I would ask @cms-sw/geometry-l2 to take a look please.

While a look from @cms-sw/geometry-l2 (or anybody) is welcome, I'd like to point out that this is not about geometry, it is just about the internal implemention of MF with, no side effect on geometry whatsoever.
(Or maybe MF falls under the responsibility of geometry-l2; but I don't think that was ever formally defined.)

#include <string>
#include <iterator>

using namespace SurfaceOrientation;
using namespace std;
using namespace magneticfield;
using namespace edm;
//using namespace angle_units::operators;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

will do.

double rInPlusZ = cons.rMin2();
double rOutPlusZ = cons.rMax2();
double startPhi = cons.startPhi();
double deltaPhi = cons.endPhi() - startPhi;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not really since these values are passed to functions that handle phi modularity internally (using the old Geom::Phi implementation). That is confirmed by the fact that regression tests passed.
I can in any case add a reco::deltaPhi() for the sake of clarity, it would not harm.

@ianna
Copy link
Contributor

ianna commented Oct 6, 2020

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 6, 2020

The tests are being triggered in jenkins.

@ianna
Copy link
Contributor

ianna commented Oct 6, 2020

From the reco point of view I had just some rather minor code remarks. The changes seem to be about geometry, therefore I would ask @cms-sw/geometry-l2 to take a look please. Thanks!

@jpata - the changes were requested by geometry and are perfectly fine :-)

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 6, 2020

+1
Tested at: 0851263
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f5cb39/9756/summary.html
CMSSW: CMSSW_11_2_X_2020-10-05-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 6, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 6, 2020

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2542225
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2542196
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@jpata
Copy link
Contributor

jpata commented Oct 6, 2020

+reconstruction

  • technical, removes legacy DDShapes dependency from MagneticField/GeomBuilder
  • no reco changes are observed
  • additional tests have also been run for dd4hep by the author with no regressions

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 6, 2020

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

@silviodonato
Copy link
Contributor

+1

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

5 participants