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