-
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
PPS geometry for Run3 #34499
PPS geometry for Run3 #34499
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34499/23978
|
A new Pull Request was created by @fabferro (Fabrizio Ferro) for master. It involves the following packages:
@civanch, @Dr15Jones, @makortel, @cvuosalo, @ianna, @kpedro88, @cmsbuild, @srimanob, @mdhildreth, @ggovi can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
FYI @wpcarvalho |
please test |
-1 Failed Tests: UnitTests Unit TestsI found errors in the following unit tests: ---> test test2021Geometry had ERRORS Comparison SummarySummary:
|
@fabferro I don't understand the title of this PR. pre4 is done. It was made last week. This PR might be able to get into pre5, but pre4 is past. |
@@ -0,0 +1,18 @@ | |||
import FWCore.ParameterSet.Config as cms |
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.
This file does not have a correct name.
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.
It should be a dir actually. Something went wrong... I fixed it.
|
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, @perrotta (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
@fabferro Please make a PR to upload those xml files to the repository the sooner the better: e.g. the above xml should be put under a directory RP_Vertical_Device/2021/v1 in the repository |
Working on it... |
Currently all the xml files are in cmssw/Geometry/VeryForwardData . If there is not strong reason to keep these files in cmssw then pls move cmssw/Geometry/VeryForwardData/data to https://github.com/cms-data/Geometry-VeryForwardData |
Moreover, @fabferro as you moved this brings errors to complain: Should we keep [1] instead? |
@qliphy It seems I miss the permission to write to the repository. |
No, we should have both. One is used for P4 and one for P5. The version used for P4 can't be deleted until P5 becomes the default and P4 deprecated. |
Yes, I know. My question is that you have already moved but there are other codes still requiring |
We should keep both even if they are the same file. We moved it but we should have copied it. We are adding Run3 geometry, reordering Geometry/VeryForwardData/data and keeping a full back compatibility. This PR is an intermediate step. |
Thanks @fabferro I saw you now add the missing file in cms-data/Geometry-VeryForwardData#1 However, as suggested by @smuzaffar #34499 (comment) |
I can copy them but this sounds new to me. Are you going to ask me to remove the files from CMSSW? |
On the other hand, if there is no objection, we can also first merge cms-data/Geometry-VeryForwardData#1 to add back the missing file, in order to cure the IB issues. Then you can take actions (above (1) and (2) ) later. |
Let's see if with the PR to cms-data we have cured the IB issues. |
It is now recommended to move files to cms-data.
Yes, it works in many other cases. |
I must have missed an important announcement. When has it been discussed to move Geometry XML files out of CMSSW? |
@fabferro I think |
@smuzaffar or @silviodonato may comment more on this. But I notice this is now more recommended at least for new data files. As we receive complains about missing file holding Run3 test, @fabferro would you please make a PR to cms-sw to add the missing file? We can then discuss about the migration of geometry XML files to cms-data or not at e.g. next ORP. |
Sure. Doing it. |
Done in PR#34588. Code checks ongoing. |
PR description:
This PR implements the description of Run3 PPS detectors (tracking and timing) at the status of art of current knowledge (2021/Run3 geometry for PPS was till now a replica of Run2 geometry).
Two geometries have been implemented: one to be used in Simulation workflows and one in Reconstruction's.
This is a peculiarity of PPS that we need to conserve and that arises from the specific features of how we deal with the connection with LHC machine in the two workflows.
Most of the files can be used for both geometries, when it was not possible, the involved files have been placed in Reco/Simu subdirs.
The geometry described in dict2021Geometry.py P5 contains the Simu version, the one described in geometryRPFromDD_2021_cfi.py contains the Reco version.
We have placed the new files in directories marked with 2021 flags trying to comply as much as possible to the Geometry naming conventions, provided that we also had to deal with two different detectors placed in four different pots, and a strict observations of the rules was not considered efficient nor clear enough.
Files needed in Run2 geometries have not been touched, to keep a full back-compatibility.
The tools to produce .db files for 2021 geometry has been update3d as well.
PR validation:
The geometries have been tested with a full (private) Simu+Reco chain which loads the two geometries, checking that we obtain compatible results.
Same results are obtained reading directly the xml's and reading the .db files produced with the official tools.
Tests with Run2 data has also been done: Run2 data processing is not affected by the PR.
The detectors are still being built thus no tests on real data could be performed.