-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Retrained L1 Tau Trigger Integration #41492
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
Merged
Merged
Changes from 9 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
bd46e35
Merge L1 Tau Trigger changes
Duchstf 26a9275
Fixes after rebase.
Duchstf e6d3c90
code-format
EmyrClement 71c40f3
Merge pull request #4 from EmyrClement/Tau_L1_2023_cmssw_duc
Duchstf ca2da92
quick fix for eta and phi
Duchstf 70daec1
code formatting
Duchstf f2e969d
delete unncessary codes
Duchstf 1800c93
remove more unnecessary codes
Duchstf 8debb0e
remove eta and phi
Duchstf 70ee234
add comments and const
Duchstf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,8 @@ | ||
| #include "DataFormats/L1TParticleFlow/interface/PFTau.h" | ||
|
|
||
| l1t::PFTau::PFTau(const PolarLorentzVector& p, float iso, float fulliso, int id, int hwpt, int hweta, int hwphi) | ||
| : L1Candidate(p, hwpt, hweta, hwphi, /*hwQuality=*/int(0)), iso_(iso), fullIso_(fulliso), id_(id) {} | ||
| l1t::PFTau::PFTau( | ||
| const PolarLorentzVector& p, float NNValues[80], float iso, float fulliso, int id, int hwpt, int hweta, int hwphi) | ||
| : L1Candidate(p, hwpt, hweta, hwphi, /*hwQuality=*/int(0)), iso_(iso), fullIso_(fulliso), id_(id) { | ||
| for (int i0 = 0; i0 < 80; i0++) | ||
| NNValues_[i0] = NNValues[i0]; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,14 @@ | ||
| //Numpy array shape [25] | ||
| //Min -1.101188778877 | ||
| //Max 1.014160394669 | ||
| //Number of zeros 2 | ||
| //Min -0.734825849533 | ||
| //Max 1.288661003113 | ||
| //Number of zeros 0 | ||
|
|
||
| #ifndef B1_H_ | ||
| #define B1_H_ | ||
|
|
||
| weight_default_t b1[25] = {0.8776568174, -0.0888396949, -0.1198173761, -0.0066847582, -0.0117284302, | ||
| -0.0283335019, 0.0000000000, -1.1011887789, -0.0135271018, -0.0323914811, | ||
| 0.5437909961, -0.0175916012, 0.5357875228, -0.3656347692, 0.2423969060, | ||
| 1.0141603947, 0.0000000000, -0.7741876245, 0.9614976048, 0.5918464661, | ||
| -0.3908625543, -0.2043008506, -0.3004969060, -0.1039064825, 0.5963121057}; | ||
| weight_default_t b1[25] = {-0.12057505, -0.05409636, 0.27422485, 0.49775919, -0.73482585, 0.44995615, 0.52624124, | ||
| -0.71328187, -0.43596983, 0.10772870, -0.68372047, 0.22197038, -0.53673136, -0.00771000, | ||
| 0.06140821, 1.28866100, -0.12453079, 0.16897179, 0.18858922, -0.17255782, -0.24242370, | ||
| -0.21922758, 0.40799412, 0.46138164, 0.85911417}; | ||
|
|
||
| #endif |
24 changes: 12 additions & 12 deletions
24
L1Trigger/Phase2L1ParticleFlow/interface/taus/weights/b2.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,20 @@ | ||
| //Numpy array shape [10] | ||
| //Min -0.819882214069 | ||
| //Max 0.973487198353 | ||
| //Min -0.380347400904 | ||
| //Max 0.551839828491 | ||
| //Number of zeros 0 | ||
|
|
||
| #ifndef B2_H_ | ||
| #define B2_H_ | ||
|
|
||
| weight_default_t b2[10] = {-0.8198822141, | ||
| 0.7516837120, | ||
| 0.6504452229, | ||
| -0.0292063691, | ||
| -0.0308178961, | ||
| 0.9734871984, | ||
| 0.1587447226, | ||
| -0.3352679014, | ||
| -0.0403082110, | ||
| 0.9563522935}; | ||
| weight_default_t b2[10] = {0.55183983, | ||
| 0.36323273, | ||
| -0.13108490, | ||
| -0.38034740, | ||
| 0.08559006, | ||
| 0.01700789, | ||
| 0.13562575, | ||
| -0.32752651, | ||
| 0.48282012, | ||
| -0.15096320}; | ||
|
|
||
| #endif |
24 changes: 12 additions & 12 deletions
24
L1Trigger/Phase2L1ParticleFlow/interface/taus/weights/b3.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,20 @@ | ||
| //Numpy array shape [10] | ||
| //Min -0.128828719258 | ||
| //Max 1.138555169106 | ||
| //Min -0.936354994774 | ||
| //Max 0.407682240009 | ||
| //Number of zeros 0 | ||
|
|
||
| #ifndef B3_H_ | ||
| #define B3_H_ | ||
|
|
||
| weight_default_t b3[10] = {1.0009469986, | ||
| -0.0118703200, | ||
| 0.5378767252, | ||
| 0.6056469083, | ||
| -0.0177963823, | ||
| 0.3281430006, | ||
| -0.0163392760, | ||
| 1.1385551691, | ||
| -0.1288287193, | ||
| 0.5457931757}; | ||
| weight_default_t b3[10] = {-0.58549309, | ||
| -0.06117089, | ||
| -0.24173595, | ||
| 0.17925857, | ||
| -0.93635499, | ||
| 0.18813914, | ||
| 0.13134949, | ||
| 0.04132507, | ||
| 0.40768224, | ||
| 0.29987794}; | ||
|
|
||
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| //Numpy array shape [1] | ||
| //Min -0.572278082371 | ||
| //Max -0.572278082371 | ||
| //Min 0.023343238980 | ||
| //Max 0.023343238980 | ||
| //Number of zeros 0 | ||
|
|
||
| #ifndef B4_H_ | ||
| #define B4_H_ | ||
|
|
||
| weight_default_t b4[1] = {-0.5722780824}; | ||
| weight_default_t b4[1] = {0.02334324}; | ||
|
|
||
| #endif |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.