-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Conversation
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31649/18745
|
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. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
The tests are being triggered in jenkins.
|
-1 Tested at: b8e7ce9 CMSSW: CMSSW_11_2_X_2020-10-02-1100 I found follow errors while testing this PR Failed tests: 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: |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31649/18796
|
There was a problem hiding this 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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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.
please test |
The tests are being triggered in jenkins.
|
@jpata - the changes were requested by geometry and are perfectly fine :-) |
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+reconstruction
|
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) |
+1 |
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