src
RecoMET
METPUSubtraction
src
DeepMETHelper.cc
Go to the documentation of this file.
1
#include "
RecoMET/METPUSubtraction/interface/DeepMETHelp.h
"
2
3
namespace
deepmet_helper
{
4
float
scale_and_rm_outlier
(
float
val
,
float
scale
) {
5
float
ret_val =
val
*
scale
;
6
if
(ret_val > 1e6 || ret_val < -1e6)
7
return
0.;
8
return
ret_val;
9
}
10
11
}
// namespace deepmet_helper
deepmet_helper
Definition:
DeepMETHelp.h:7
pfClustersFromCombinedCaloHF_cfi.scale
scale
Definition:
pfClustersFromCombinedCaloHF_cfi.py:51
deepmet_helper::scale_and_rm_outlier
float scale_and_rm_outlier(float val, float scale)
Definition:
DeepMETHelper.cc:4
DeepMETHelp.h
heppy_batch.val
val
Definition:
heppy_batch.py:351
Generated for CMSSW Reference Manual by
1.8.14