16 : pfMEtResolution_(nullptr), inputFile_(nullptr), lut_(nullptr) {
19 if (cfg.
exists(
"addJERcorr")) {
24 throw cms::Exception(
"PFMEtSignInterfaceBase") <<
" Failed to find File = " << inputFileName <<
" !!\n";
26 inputFile_ =
new TFile(inputFileName.fullPath().data());
29 throw cms::Exception(
"PFMEtSignInterfaceBase") <<
" Failed to load LUT = " << lutName.data()
30 <<
" from file = " << inputFileName.fullPath().data() <<
" !!\n";
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 double defaultPFMEtResolutionY
const void addObjects(const std::vector< metsig::SigInputObj > &EventVec)
metsig::SignAlgoResolutions * pfMEtResolution_
PFMEtSignInterfaceBase(const edm::ParameterSet &)
ROOT::Math::SMatrix< double, 2 > METCovMatrix
bool exists(std::string const ¶meterName) const
checks if a parameter exists
Abs< T >::type abs(const T &t)
const double defaultPFMEtResolutionX
~PFMEtSignInterfaceBase()
T getParameter(std::string const &) const
reco::METCovMatrix getSignifMatrix() const
reco::METCovMatrix operator()(const std::vector< metsig::SigInputObj > &) const
Log< level::Warning, false > LogWarning