CMS 3D CMS Logo

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
static const std::unordered_map< int, int32_t > charge_embedding
Definition: DeepMETHelp.h:10
static const std::unordered_map< int, int32_t > pdg_id_embedding
Definition: DeepMETHelp.h:11
float scale_and_rm_outlier(float val, float scale)
Definition: DeepMETHelper.cc:4