Skip to content
Snippets Groups Projects
Commit 030ef243 authored by Antonio Giannini's avatar Antonio Giannini
Browse files

fix path for local config

parent bf64de0d
No related branches found
No related tags found
7 merge requests!78241Draft: FPGATrackSim: GenScan code refactor,!78236Draft: Switching Streams https://its.cern.ch/jira/browse/ATR-27417,!78056AFP monitoring: new synchronization and cleaning,!78041AFP monitoring: new synchronization and cleaning,!77990Updating TRT chip masks for L1TRT trigger simulation - ATR-28372,!77875Clean path for local configuration in BoostedJetTaggers,!76343Draft: MooTrackBuilder: Recalibrate NSW hits in refine method
......@@ -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());
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment