src
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
float
rm_outlier
(
float
val
);
10
11
static
const
std::unordered_map<int, int32_t>
charge_embedding
{{-1, 0}, {0, 1}, {1, 2}};
12
static
const
std::unordered_map<int, int32_t>
pdg_id_embedding
{
13
{-211, 0}, {-13, 1}, {-11, 2}, {0, 3}, {1, 4}, {2, 5}, {11, 6}, {13, 7}, {22, 8}, {130, 9}, {211, 10}};
14
}
// namespace deepmet_helper
15
16
#endif
l1tEGammaCrystalsEmulatorProducer_cfi.scale
scale
Definition:
l1tEGammaCrystalsEmulatorProducer_cfi.py:10
deepmet_helper::rm_outlier
float rm_outlier(float val)
Definition:
DeepMETHelper.cc:12
deepmet_helper::charge_embedding
static const std::unordered_map< int, int32_t > charge_embedding
Definition:
DeepMETHelp.h:11
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:12
deepmet_helper::scale_and_rm_outlier
float scale_and_rm_outlier(float val, float scale)
Definition:
DeepMETHelper.cc:5
heppy_batch.val
val
Definition:
heppy_batch.py:351
Generated for CMSSW Reference Manual by
1.8.14