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 !!";
T getParameter(std::string const &) const
const void addObjects(const std::vector< metsig::SigInputObj > &EventVec)
metsig::SignAlgoResolutions * pfMEtResolution_
const double defaultPFMEtResolutionX
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)
~PFMEtSignInterfaceBase()
const double defaultPFMEtResolutionY
reco::METCovMatrix getSignifMatrix() const
reco::METCovMatrix operator()(const std::vector< metsig::SigInputObj > &) const