ATLAS Offline Software
Loading...
Searching...
No Matches
AsgForwardElectronSelectorTool.cxx File Reference
#include "ElectronPhotonSelectorTools/AsgForwardElectronSelectorTool.h"
#include "PathResolver/PathResolver.h"
#include "xAODEgamma/Electron.h"
#include "xAODEgamma/Egamma.h"
#include "xAODCaloEvent/CaloCluster.h"
#include "xAODTracking/TrackParticle.h"
#include "xAODEgamma/EgammaxAODHelpers.h"
#include "CaloGeoHelpers/CaloSampling.h"
#include "AsgTools/CurrentContext.h"
#include "lwtnn/parse_json.hh"
#include <fstream>
#include <cmath>

Go to the source code of this file.

Variables

static const double s_lrCoeff [3][7]
static const double s_lrIntercept [3][7]
static const double s_ptEdges [13]
static const double s_cuts [3][12][3]

Variable Documentation

◆ s_cuts

const double s_cuts[3][12][3]
static

Definition at line 92 of file AsgForwardElectronSelectorTool.cxx.

92 {
93 // Bin 0: 2.5 < |eta| <= 2.7
94 {
95 { 0.003434060638577299, 0.010929810583837518, 0.028987138649460953 }, // [5,15]
96 { 0.009150723693892365, 0.10347994714975359, 0.28577716946601867 }, // [15,20]
97 { 0.1186611831188202, 0.43142691254615784, 0.7045282602310181 }, // [20,25]
98 { 0.3128826916217804, 0.6842968463897705, 0.8462172150611877 }, // [25,30]
99 { 0.6381388902664185, 0.883872103691101, 0.9505972623825073 }, // [30,35]
100 { 0.815248429775238, 0.9427814483642578, 0.9722608327865601 }, // [35,40]
101 { 0.8642481029033661, 0.9566433548927307, 0.9769171953201294 }, // [40,45]
102 { 0.859777855873108, 0.9566103696823121, 0.9771971702575684 }, // [45,50]
103 { 0.8481978237628938, 0.9565577507019043, 0.9773394107818604 }, // [50,60]
104 { 0.8359241724014282, 0.9572678208351135, 0.9781455874443055 }, // [60,80]
105 { 0.8056963920593262, 0.9453475475311279, 0.9758875846862793 }, // [80,150]
106 { 0.8081184050246257, 0.9615500409750506, 0.9705579706236049 } // [150,500]
107 },
108 // Bin 1: 2.7 < |eta| <= 3.2
109 {
110 { 0.0024538897448333936, 0.006224703698926278, 0.01602673525486277 }, // [5,15]
111 { 0.029491694644093513, 0.1092548817396164, 0.2902836352586746 }, // [15,20]
112 { 0.20487691462039948, 0.5585798382759094, 0.789155101776123 }, // [20,25]
113 { 0.5053084492683411, 0.8155142784118653, 0.9119235754013061 }, // [25,30]
114 { 0.7210912346839905, 0.9057818174362183, 0.9574183464050293 }, // [30,35]
115 { 0.8253453254699707, 0.940361762046814, 0.9731698989868164 }, // [35,40]
116 { 0.8629356622695923, 0.9526293277740479, 0.9774575233459473 }, // [40,45]
117 { 0.8681894183158875, 0.954381775856018, 0.9784879982471466 }, // [45,50]
118 { 0.8598942279815674, 0.9535421252250672, 0.9780020833015441 }, // [50,60]
119 { 0.8658008813858032, 0.9549649477005004, 0.9777071833610534 }, // [60,80]
120 { 0.8357489705085754, 0.9435908794403076, 0.971304714679718 }, // [80,150]
121 { 0.8023493699313187, 0.9416966809437475, 0.9669603430019074 } // [150,500]
122 },
123 // Bin 2: 3.2 < |eta| <= 4.0
124 {
125 { 0.0007497479446309254, 0.010757287517960587, 0.004936974379270967 }, // [5,15]
126 { 0.014802457392215732, 0.042617067694664, 0.0812974080443382 }, // [15,20]
127 { 0.07443902641534805, 0.23044122755527496, 0.45949786901474 }, // [20,25]
128 { 0.34181419014930725, 0.6247072815895081, 0.7751210331916809 }, // [25,30]
129 { 0.5459890365600586, 0.7635000348091125, 0.8726731538772583 }, // [30,35]
130 { 0.6520047783851624, 0.8353232741355896, 0.9097822308540344 }, // [35,40]
131 { 0.7230071187019348, 0.8757749557495117, 0.9323666334152222 }, // [40,45]
132 { 0.7161759436130524, 0.8738378882408142, 0.9322998225688934 }, // [45,50]
133 { 0.6740142107009888, 0.8602323532104492, 0.9265623986721039 }, // [50,60]
134 { 0.7804294466972351, 0.9046212434768677, 0.9510670781135558 }, // [60,80]
135 { 0.8492123007774353, 0.9328805446624756, 0.9633602142333985 }, // [80,150]
136 { 0.7497747273127531, 0.8820413108674948, 0.9336298814733452 } // [150,500]
137 }
138};

◆ s_lrCoeff

const double s_lrCoeff[3][7]
static
Initial value:
= {
{ 5.7626170e-07, 4.7577697e-07, -1.3823183e-03, -9.1804844e-07,
-5.5160094e-03, 4.0462506e-05, 2.8797556e-06 },
{ 4.9091057e-07, 4.2073955e-07, 2.5762843e-03, -7.4278881e-07,
-3.6089115e-03, -6.4899518e-06, 7.7993927e-06 },
{ 2.9304172e-07, -1.0814731e-06, -1.6405748e-02, -3.3167328e-07,
-7.3823769e-04, -1.7326717e-04, 9.6527780e-05 }
}

Definition at line 53 of file AsgForwardElectronSelectorTool.cxx.

53 {
54 // Bin 0: 2.5 < |eta| <= 2.7
55 { 5.7626170e-07, 4.7577697e-07, -1.3823183e-03, -9.1804844e-07,
56 -5.5160094e-03, 4.0462506e-05, 2.8797556e-06 },
57 // Bin 1: 2.7 < |eta| <= 3.2
58 { 4.9091057e-07, 4.2073955e-07, 2.5762843e-03, -7.4278881e-07,
59 -3.6089115e-03, -6.4899518e-06, 7.7993927e-06 },
60 // Bin 2: 3.2 < |eta| <= 4.0
61 { 2.9304172e-07, -1.0814731e-06, -1.6405748e-02, -3.3167328e-07,
62 -7.3823769e-04, -1.7326717e-04, 9.6527780e-05 }
63};

◆ s_lrIntercept

const double s_lrIntercept[3][7]
static
Initial value:
= {
{ 5.3479767e-01, 1.1612210e-01, 2.2856726e+03, 4.5776847e-01,
1.8551936e+03, 2.1710736e+02, -8.0515645e-02 },
{ 5.3335690e-01, 7.2528444e-02, 9.1885895e+02, 3.8494921e-01,
1.2577064e+03, 1.9783354e+02, -1.9677971e-01 },
{ 5.7937855e-01, 3.4406906e-01, 5.7875332e+03, 2.8120410e-01,
6.1775574e+02, 2.4003990e+02, -2.6005685e+00 }
}

Definition at line 65 of file AsgForwardElectronSelectorTool.cxx.

65 {
66 // Bin 0: 2.5 < |eta| <= 2.7
67 { 5.3479767e-01, 1.1612210e-01, 2.2856726e+03, 4.5776847e-01,
68 1.8551936e+03, 2.1710736e+02, -8.0515645e-02 },
69 // Bin 1: 2.7 < |eta| <= 3.2
70 { 5.3335690e-01, 7.2528444e-02, 9.1885895e+02, 3.8494921e-01,
71 1.2577064e+03, 1.9783354e+02, -1.9677971e-01 },
72 // Bin 2: 3.2 < |eta| <= 4.0
73 { 5.7937855e-01, 3.4406906e-01, 5.7875332e+03, 2.8120410e-01,
74 6.1775574e+02, 2.4003990e+02, -2.6005685e+00 }
75};

◆ s_ptEdges

const double s_ptEdges[13]
static
Initial value:
= {
5000., 15000., 20000., 25000., 30000., 35000.,
40000., 45000., 50000., 60000., 80000., 150000., 500000.
}

Definition at line 78 of file AsgForwardElectronSelectorTool.cxx.

78 {
79 5000., 15000., 20000., 25000., 30000., 35000.,
80 40000., 45000., 50000., 60000., 80000., 150000., 500000.
81};