Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
RecoMET
METPUSubtraction
interface
DeepMETHelp.h
Go to the documentation of this file.
1
#ifndef RecoMET_METPUSubtraction_DeepMETHelp_h
2
#define RecoMET_METPUSubtraction_DeepMETHelp_h
3
4
#include <unordered_map>
5
#include <cstdint>
6
7
namespace
deepmet_helper
{
8
float
scale_and_rm_outlier
(
float
val
,
float
scale
);
9
10
static
const
std::unordered_map<int, int32_t>
charge_embedding
{{-1, 0}, {0, 1}, {1, 2}};
11
static
const
std::unordered_map<int, int32_t>
pdg_id_embedding
{
12
{-211, 0}, {-13, 1}, {-11, 2}, {0, 3}, {1, 4}, {2, 5}, {11, 6}, {13, 7}, {22, 8}, {130, 9}, {211, 10}};
13
}
// namespace deepmet_helper
14
15
#endif
deepmet_helper::charge_embedding
static const std::unordered_map< int, int32_t > charge_embedding
Definition:
DeepMETHelp.h:10
deepmet_helper
Definition:
DeepMETHelp.h:7
deepmet_helper::pdg_id_embedding
static const std::unordered_map< int, int32_t > pdg_id_embedding
Definition:
DeepMETHelp.h:11
L1EGammaClusterEmuProducer_cfi.scale
scale
Definition:
L1EGammaClusterEmuProducer_cfi.py:15
deepmet_helper::scale_and_rm_outlier
float scale_and_rm_outlier(float val, float scale)
Definition:
DeepMETHelper.cc:4
heppy_batch.val
val
Definition:
heppy_batch.py:351
Generated for CMSSW Reference Manual by
1.8.14