diff --git a/Reconstruction/Jet/BoostedJetTaggers/Root/JSSTaggerBase.cxx b/Reconstruction/Jet/BoostedJetTaggers/Root/JSSTaggerBase.cxx index 5b100c7b4bdb4b8bfc2788ab62151fedf31884c8..2e6b0667d1a63d27a743ed03b300a58359225ab4 100644 --- a/Reconstruction/Jet/BoostedJetTaggers/Root/JSSTaggerBase.cxx +++ b/Reconstruction/Jet/BoostedJetTaggers/Root/JSSTaggerBase.cxx @@ -283,7 +283,7 @@ StatusCode JSSTaggerBase::getConfigReader() { std::string configPath; if ( m_calibArea.compare("Local") == 0 ) { - configPath = PathResolverFindCalibFile(m_configFile.c_str()); + configPath = PathResolverFindCalibFile(m_configFile); } else if ( m_calibArea.find("eos") != std::string::npos) { configPath = PathResolverFindCalibFile((m_calibArea+"/"+m_configFile).c_str()); diff --git a/Reconstruction/Jet/BoostedJetTaggers/Root/JSSTaggerUtils.cxx b/Reconstruction/Jet/BoostedJetTaggers/Root/JSSTaggerUtils.cxx index 67d5a705181b4cc1d6b8361bdda2c88b51be2b27..7e8103160341f41b621ccd4049fa23de81accd62 100644 --- a/Reconstruction/Jet/BoostedJetTaggers/Root/JSSTaggerUtils.cxx +++ b/Reconstruction/Jet/BoostedJetTaggers/Root/JSSTaggerUtils.cxx @@ -75,7 +75,7 @@ StatusCode JSSTaggerUtils::initialize(){ // init tool std::string ModelPath = ""; if ( m_calibArea.compare("Local") == 0 ) { - ModelPath = PathResolverFindCalibFile(ConstTaggerFileName.c_str()); + ModelPath = PathResolverFindCalibFile(ConstTaggerFileName); } else if ( m_calibArea.find("eos") != std::string::npos) { ModelPath = (ConstTaggerFileName); @@ -115,7 +115,7 @@ StatusCode JSSTaggerUtils::initialize(){ // init tool std::string ModelPath = ""; if ( m_calibArea.compare("Local") == 0 ) { - ModelPath = PathResolverFindCalibFile(HLTaggerFileName.c_str()); + ModelPath = PathResolverFindCalibFile(HLTaggerFileName); } else if ( m_calibArea.find("eos") != std::string::npos) { ModelPath = (HLTaggerFileName);