diff --git a/Reconstruction/Jet/BoostedJetTaggers/Root/JSSTaggerBase.cxx b/Reconstruction/Jet/BoostedJetTaggers/Root/JSSTaggerBase.cxx index 7fa896cbc7e749af6135c3f0f47380e88db60100..5b100c7b4bdb4b8bfc2788ab62151fedf31884c8 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(("$WorkDir_DIR/data/BoostedJetTaggers/"+m_configFile).c_str()); + configPath = PathResolverFindCalibFile(m_configFile.c_str()); } 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 56e0113eeb55dcf1a10e751c1625e77b25754757..67d5a705181b4cc1d6b8361bdda2c88b51be2b27 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(("$WorkDir_DIR/data/BoostedJetTaggers/" + ConstTaggerFileName).c_str()); + ModelPath = PathResolverFindCalibFile(ConstTaggerFileName.c_str()); } 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(("$WorkDir_DIR/data/BoostedJetTaggers/" + HLTaggerFileName).c_str()); + ModelPath = PathResolverFindCalibFile(HLTaggerFileName.c_str()); } else if ( m_calibArea.find("eos") != std::string::npos) { ModelPath = (HLTaggerFileName);