Skip to content
Snippets Groups Projects
Commit cbf9c429 authored by Adrien Matta's avatar Adrien Matta :skull_crossbones:
Browse files

Update file RootOutput.cxx

parent 5bb0fc06
No related branches found
No related tags found
No related merge requests found
Pipeline #252377 passed
...@@ -80,7 +80,8 @@ RootOutput::RootOutput(std::string fileNameBase, std::string treeNameBase,bool s ...@@ -80,7 +80,8 @@ RootOutput::RootOutput(std::string fileNameBase, std::string treeNameBase,bool s
else else
pBaseName="./"; pBaseName="./";
pBaseName += "/"+fileNameBase; if(fileNameBase.at(0)!='/' && pBaseName.at(pBaseName.length() - 1)!='/')
pBaseName += "/"+fileNameBase;
if (fileNameBase.find("root")==std::string::npos) if (fileNameBase.find("root")==std::string::npos)
pBaseName += ".root"; pBaseName += ".root";
......
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