-
Notifications
You must be signed in to change notification settings - Fork 27
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
Refactoring of Phase1 OMTF emulator & Phase2 OMTF emulator #1196
Refactoring of Phase1 OMTF emulator & Phase2 OMTF emulator #1196
Conversation
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. Attempts to compile this PR succeeded!
|
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. I found no issues with the code checks!
I found no issues with the headers!
|
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. I found 2 files that did not meet formatting requirements:
Please run
|
I can apply code formatting fixes, but please note that: |
8bc105a
to
283fc1d
Compare
So, I applied the formatting fix and squashed with previous commit with a similar fix. After the squashing you can note that the fix touches only no-OMTF-related code as changes of OMTF code simply inverted previous change introduced for master/14_0... |
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.
I didn't go over the phase 1 stuff in too much detail, since I'm not sure how much of that is already present in CMSSW, or is otherwise not really negotiable here. If this is all new stuff and none of it is in CMSSW, I know there is a PR open to CMSSW, I will go read and review there.
This PR is still quite large otherwise, so this is not the most thorough review.
In general, please go and remove commented out code that isn't serving to demonstrate or clarify something in the code around it, or standing in for code to be implemented later.
L1Trigger/L1TMuonOverlapPhase1/src/Tools/CandidateSimMuonMatcher.cc
Outdated
Show resolved
Hide resolved
<<" meanDistPhiValue "<<omtfCand->getGoldenPatern()->meanDistPhiValue(iLogicLayer, omtfCand->getRefLayer())//<<(phiDist != hit.phiDist? "!!!!!!!<<<<<" : "") | ||
<<endl;*/ | ||
|
||
if (hit.phiDist > 504 || hit.phiDist < -512) { |
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.
Could these numbers be a bit better explained with some constants?
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.
@kbunkow, can you take a look, please?
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 looks similar to previous python files where it has user specific information in it. Do these need to be in CMSSW? Will it be future proof?
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.
@kbunkow, can you take check expert config files for phase2, please?
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.
Same question here, and I assume for the other python files in this set.
DtPhase2DigiToStubsConverterOmtf(const OMTFConfiguration* config, | ||
const OmtfAngleConverter* angleConverter, |
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 doesn't seem possible due to the amount of underlying code that needs to use these (so don't worry about this), but I don't suppose either of these could be references, and not have to worry about having nullptr
s around?
@mbluj , could you please address Andrew's comments? |
Yes, sorry for this delay. I was absent and then overflooded by other commitments. I plan to back to it next week. |
Hi @mbluj, I'm going around starting to figure out how to update all PRs to our new IB For this PR I would recommend:
Alternatively, because you have relatively few commits, you could just cherry-pick commits by doing something like:
|
OK, I will rebase it to newer release, I think I know how do it. |
In order to get both phase-2 EMTF and OMTF to the GMT, I would prefer a rebase to cms-l1t-offline:phase2-l1t-integration-14_0_0_pre3, since EMTF is merged. Thanks |
283fc1d
to
9e1e558
Compare
@aloeliger I rebased my development branch to |
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. Attempts to compile this PR succeeded!
|
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. I found no issues with the code checks!
I found no issues with the headers!
|
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. I found 1 files that did not meet formatting requirements:
Please run
|
This file is not modified by this PR. And I do not see issue with its formatting. |
PR updated with cherry-picked cleanup of OMTF phase1 code and with cleanup of OMTF phase2 code. There are, however, still a few items to address. |
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. Attempts to compile this PR succeeded!
|
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. I found no issues with the code checks!
I found no issues with the headers!
|
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. I found 1 files that did not meet formatting requirements:
Please run
|
@mbluj Are there any remaining review comments to be addressed here? I think we would like to merge this draft, and have a PR made for any phase 2 elements that have not already had a PR to central CMSSW. @epalencia any objection to your side towards beginning to merge this into the prototype? |
I will commit today a few additional fixes from Karol. So, please hold on until it is done, please. |
84a5e52
to
758c7a5
Compare
Added cleanups from Karol:
As the changes are small and not specific were squashed with the previous commit with cleanups. Last missing piece is fixing propagation in |
@aloeliger @epalencia, commit with updated propagation in |
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. Attempts to compile this PR succeeded!
|
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. I found no issues with the code checks!
I found no issues with the headers!
|
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. I found 2 files that did not meet formatting requirements:
Please run
|
@mbluj , can you check the format issue in |
OK. There is indeed small formatting issue. I am going to fix it and squash with earlier commit to not add new trivial items to history. |
52ce8d5
to
531046d
Compare
@epalencia Corrected branch pushed. |
@epalencia Any objection to merging this now? The phase 1 PR has been signed in CMSSW already. |
No. Please go ahead. |
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. Attempts to compile this PR succeeded!
|
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. I found no issues with the code checks!
I found no issues with the headers!
|
Hello, I'm triggerDoctor. @aloeliger is testing this script for L1T offline software validation. I found 1 files that did not meet formatting requirements:
Please run
|
@mbluj To provide the menu team with validation material, we are going to go ahead and merge this branch into the integration branch. If there are any elements of this (Phase 2 or otherwise) that haven't been put in a PR to central CMSSW, please make a PR for that now. @epalencia FYI. |
77fa72a
into
cms-l1t-offline:phase2-l1t-integration-14_0_0_pre3
Thanks, great! FYI, @kbunkow |
PR description:
This PR consists of two parts:
Neither changes introduced for Phase1 nor Phase2 are switched on in standard workflows. For it dedicated PRs will be prepared.
PR validation:
Tested with matrix tests (limited set)
FYI, @kbunkow, @akalinow