Phase2 L1T: Correlator development for AR2026#51093
Conversation
* Added nprong score to DataFormats. * Added L1TSC82ProngJet to DPGAnalysis. * Added L1TSC82ProngJetModel to L1Trigger/Phase2L1ParticleFlow * Fix for nprong tag. * Cleaned includes. * File renamed. * Removed comment from addPh2GTObjects(process) * fixes. * Reverted changes. * Removed cuts.. * Update L1Trigger/Phase2L1ParticleFlow/src/L1TSC82ProngJetID.cc Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update L1Trigger/Phase2L1ParticleFlow/plugins/L1TSC82ProngJetModelProducer.cc Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update DataFormats/L1TParticleFlow/src/jets.cpp Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * added values for minPt and maxEta. * Added std headers. * Added a check for fNParticles. * Update L1Trigger/Phase2L1ParticleFlow/python/l1pfJetMet_cff.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply CMSSW code-format --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51093/49576
|
|
please test |
|
A new Pull Request was created by @cerminar for master. It involves the following packages:
@BenjaminRS, @battibass, @ftorrresd, @quinnanm can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
-1 Failed Tests: RelVals Failed RelVals |
|
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. |
|
(I assume this PR does not need a backport to 17_0_X (Run 3 legacy)) |
I am actually not sure: @quinnanm @BenjaminRS what is the release we target for the AR2026 studies? |
|
Hi Matti and Gianluca - we will have this Phase 2 PR just going to 20_1_X. |
quinnanm
left a comment
There was a problem hiding this comment.
Thank you for this PR! Just a few minor comments/questions
| fIs_filled_.get()[i0] = 1; | ||
|
|
||
| float massCand = 0.13f; | ||
| if (abs(iParts[i0]->charge())) { |
| } | ||
| } | ||
|
|
||
| std::vector<float> L1TSC82ProngJetID::EvaluateNNFixed() { |
There was a problem hiding this comment.
this is defined as a vector but returns a single float value, probably to be consistent with similar definitions?
| const unsigned int NInputs = 160; | ||
| const unsigned int FeaturesPerParticle = 20; |
There was a problem hiding this comment.
should these be constexpr members of the class defined in the header? this may avoid magic numbers and add clarity to setNNVectorVar
| @@ -0,0 +1,45 @@ | |||
| #ifndef L1TRIGGER_PHASE2L1PARTICLEFLOWS_L1TSC82ProngJetID_H | |||
| #define L1TRIGGER_PHASE2L1PARTICLEFLOWS_L1TSC82ProngJetID_H | |||
|
|
|||
There was a problem hiding this comment.
should L1TSC82ProngJetID be uppercase?
| void setNNVectorVar(); | ||
| std::vector<float> EvaluateNNFixed(); |
| float massCand = 0.13f; | ||
| if (abs(iParts[i0]->charge())) { | ||
| if ((iParts[i0]->id() == l1t::PFCandidate::Muon)) { | ||
| massCand = 0.105; |
There was a problem hiding this comment.
could you add a comment adding context to this number?
| if ((iParts[i0]->id() == l1t::PFCandidate::Muon)) { | ||
| massCand = 0.105; | ||
| } else if ((iParts[i0]->id() == l1t::PFCandidate::Electron)) { | ||
| massCand = 0.005; |
| #include "ap_fixed.h" | ||
| #include "hls4ml/emulator.h" | ||
|
|
||
| using namespace l1t; |
There was a problem hiding this comment.
could you use l1t::name rather than using namespace l1t?
|
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. |
PR description:
Port recent Correlator development to master.
For now:
PR validation:
Ongoing...