W3Pi Emulation and Test Vectors - #49003
Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49003/46197 |
|
A new Pull Request was created by @Jared-Fraticelli for master. It involves the following packages:
@BenjaminRS, @Moanwar, @cmsbuild, @quinnanm, @srimanob, @subirsarkar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
test parameters: workflow = 29634.78 |
|
please test |
|
+1 Size: This PR adds an extra 16KB to repository Comparison SummarySummary:
|
| process.l1tTrackTripletEmulation.pair1_dzMax = 10e7 | ||
| process.l1tTrackTripletEmulation.pair2_dzMin = -1 | ||
| process.l1tTrackTripletEmulation.pair2_dzMax = 10e7 | ||
|
|
There was a problem hiding this comment.
can you add some comments adding context to these numbers?
There was a problem hiding this comment.
Yes, are you referring to what the variables are or what the specific choice of numeric values here means
There was a problem hiding this comment.
the choice of numbers. but it's not vital
| l1ttripletemu::pxyz_t pz1 = (l1ttripletemu::pxyz_t)trk1.f_Pt * sinhLUT_[coshIndex1]; | ||
| l1ttripletemu::pxyz_t pz2 = (l1ttripletemu::pxyz_t)trk2.f_Pt * sinhLUT_[coshIndex2]; | ||
| l1ttripletemu::pxyz_t pz3 = (l1ttripletemu::pxyz_t)trk3.f_Pt * sinhLUT_[coshIndex3]; | ||
|
|
There was a problem hiding this comment.
should this be sinhLUT_[sinhIndex1] instead of sinhLUT_[coshIndex1] ? May be a copy-paste bug
There was a problem hiding this comment.
Yes, it should be, that has been fixed now. At the moment, that doesn't affect the output since the LUTs are the same size and take in eta as a parameter. In the future, though, since the table sizes could be changed, this distinction is crucial.
| //The following says we do not know what parameters are allowed | ||
| // Please change this to state exactly what you do use, even if it is no parameters | ||
| ParameterSetDescription desc; | ||
| desc.add<edm::InputTag>("L1TrackInputTag", edm::InputTag("l1tTTTracksFromTrackletEmulation", "Level1TTTracks")); |
There was a problem hiding this comment.
General comment: did you check that this behaves as expected for both displaced_ == True and False?
There was a problem hiding this comment.
We did not test setting displaced_ to true, but at this point in development, the algorithm should do the same thing for both the prompt and extended track collections. So we have removed this parameter.
| for (unsigned int LUT_idx = 0; LUT_idx < l1ttripletemu::kCosLUTBins; LUT_idx++) { | ||
| cosLUT.push_back((cos_lut_fixed_t)(cos(phi))); | ||
| phi += stepPhi; | ||
| //std::cout << LUT_idx << "," << (cos_lut_fixed_t)(cos(phi)) << std::endl; |
There was a problem hiding this comment.
please remove commented printouts
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49003/46673 |
|
Pull request #49003 was updated. @BenjaminRS, @Moanwar, @cmsbuild, @quinnanm, @subirsarkar can you please check and sign again. |
|
The new push has updated files implementing the comments from above. |
|
please test |
|
Hi, I just wanted to check in and see if there is anything else that should be done on my end for this PR. Thank you. |
|
+l1 |
@BenjaminRS We were wondering if there had been any progress on the issues reported by the menu group related to this PR? Is there anything we can do on our side to help get it merged? |
|
Milestone for this pull request has been moved to CMSSW_20_0_X. Please open a backport if it should also go in to CMSSW_17_0_X. |
|
Just checking, is this PR intended for Phase 2 (20_1_X) or Run 3 legacy (17_0_X) or both? |
This is only intended for Phase 2. |
|
Milestone for this pull request has been moved to CMSSW_20_1_X. Please open a backport if it should also go in to CMSSW_20_0_X. |
|
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49003/49734 ERROR: Build errors found during clang-tidy run. |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49003/49742
|
|
Pull request #49003 was updated. @BenjaminRS, @cmsbuild, @quinnanm can you please check and sign again. |
PR description:
The TkTriplet word is updated to contain a valid bit, triplet pT, eta, and phi fields (which are currently set to 0), a triplet invariant mass field, the three triplet track pTs, and an unassigned field. The new word spans 97 bits, and is padded with zeroes to span 128 bits (evenly spanning two 64-bit link data words). The tktriplet emulation plugin finds the three highest pT tracks in an event, computes the invariant mass from them, and fills the output word with the aforementioned nonzero fields.
https://indico.cern.ch/event/1588031/
PR validation:
Tests have been done to ensure that the output tktriplet word is correctly written in APX board format. The word currently spans the first two 64-bit link words of each event on link 2, and tests using HLS firmware have shown that the invariant mass and triplet track pT fields can be correctly decoded from the test vectors.
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for: