-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41492 from Duchstf/Tau_L1_2023_cmssw
Retrained L1 Tau Trigger Integration
- Loading branch information
Showing
17 changed files
with
614 additions
and
427 deletions.
There are no files selected for viewing
This file contains 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 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 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 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]; // copy the array of NN inputs | ||
} |
This file contains 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 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 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 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 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 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 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.