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
Added consumes to DD related ESProducers #28346
Added consumes to DD related ESProducers #28346
Conversation
Also use ESGetToken to retrieve data.
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28346/12622
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: DetectorDescription/DDCMS @civanch, @Dr15Jones, @cvuosalo, @ianna, @mdhildreth, @cmsbuild 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: 7b4fda1 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: UnitTests
I found errors in the following unit tests: ---> test DetectorDescriptionDDCMSTestDriver had ERRORS |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
Comparison job queued. |
Comparison is ready Comparison Summary:
|
merge |
@Dr15Jones @namapane I am just seeing this PR now. I think it is related to the reason the magnetic field geometry builder stopped working. I'm guessing that the changes made in this PR to |
@cvuosalo, there's one thing I do not understand here, why do we need an explicit ESProducer here:
while we have no explicit DDCompactViewESProducer set up in any of the .py for the non-dd4hep versions of the MF? And also, would this DDCompactViewMFESProducer snippet have to go in the cfi included in the standard sequences or not? I also have to figure out if that is needed for the dd4hep producer from DB, which would not require a DDCompactViewMFESProducer, I suppose, since it must create iteslf the DDCompactView from the fileBlob. |
@namapane I'm not sure why it is needed now. The way this program gets its products has been changed over the last several months by @Dr15Jones and @makortel so I'm not sure anymore how it should work. I can tell you that originally, before I created the DDCompactViewMFESProducer, the Python config generated errors saying that an ESProducer was needed. You could try commenting out the DDCompactViewMFESProducer to see if it's still needed. Maybe there is a better way now to write the Python config. You could ask @Dr15Jones or @ianna when she returns. |
@cvuosalo the problem you are mentioning isn't clear to me, I integrated this PR as it looked technically straightforward and ok. Could you please open an issue and describe the problem, so as we can cleanly keep track of it? |
@fabiocos well this is part of the plan of migrating to dd4hep. At the moment we only have a static producer for dd4hep that is not used in production; to complete the migration we have to implement the version from DB and while doing so we have to get record dependencies right. It is not clear to me how to do this but that's in my to-do list (proceeding slowly because of teaching...) |
I fixed the problem in #28642; as suggested by Carl DDCompactViewMFESProducer had to be updated. |
+1 |
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 (and backports should be raised in the release meeting by the corresponding L2) |
PR description:
Also use ESGetToken to retrieve data.
PR validation:
The unit tests succeed, even when using #28223.