16 : pfMEtResolution_(nullptr), inputFile_(nullptr), lut_(nullptr) {
19 if (
cfg.exists(
"addJERcorr")) {
29 throw cms::Exception(
"PFMEtSignInterfaceBase") <<
" Failed to load LUT = " << lutName.data()
30 <<
" from file = " <<
inputFileName.fullPath().data() <<
" !!\n";
33 verbosity_ =
cfg.exists(
"verbosity") ?
cfg.getParameter<
int>(
"verbosity") : 0;
57 if (pfMEtSignObjects.size() >= 2) {
59 pfMEtSignAlgorithm.
addObjects(pfMEtSignObjects);
89 <<
"Inversion of PFMEt covariance matrix failed, det = " << det
90 <<
" --> replacing covariance matrix by resolution defaults !!";
const void addObjects(const std::vector< metsig::SigInputObj > &EventVec)
metsig::SignAlgoResolutions * pfMEtResolution_
T getParameter(std::string const &) const
const double defaultPFMEtResolutionX
PFMEtSignInterfaceBase(const edm::ParameterSet &)
ROOT::Math::SMatrix< double, 2 > METCovMatrix
Abs< T >::type abs(const T &t)
~PFMEtSignInterfaceBase()
const double defaultPFMEtResolutionY
reco::METCovMatrix operator()(const std::vector< metsig::SigInputObj > &) const
Log< level::Warning, false > LogWarning
reco::METCovMatrix getSignifMatrix() const