Skip to content

Commit b3c6f4d

Browse files
committed
Use RB::GetTempFs()
1 parent 42519e8 commit b3c6f4d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

root/io/io/TFile_ATLAS_Benchmarks.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static void BM_ATLAS_Decompress(benchmark::State &state, int algo, std::string f
2626
int comp_level = state.range(0);
2727
std::string comp_setting = std::to_string(algo * 100 + comp_level);
2828
std::string old_filename = (RB::GetDataDir() + "/" + filename + ".root").c_str();
29-
std::string new_filename = "level_" + std::to_string(comp_level) + "_atlas_" + GetAlgoName(algo) + ".root";
29+
std::string new_filename = (RB::GetTempFs() + "level_" + std::to_string(comp_level) + "_atlas_" + GetAlgoName(algo) + ".root").c_str();
3030

3131
gSystem->Exec(("hadd -v 0 -f" + comp_setting + " " + new_filename + " " + old_filename).c_str());
3232

root/io/io/TFile_LHCb_Benchmarks.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static void BM_LHCb_Decompress(benchmark::State &state, int algo) {
2626
int comp_level = state.range(0);
2727
std::string comp_setting = std::to_string(algo * 100 + comp_level);
2828
std::string old_filename = (RB::GetDataDir() + "/lhcb_B2ppKK2011_md_noPIDstrip.root").c_str();
29-
std::string new_filename = "level_" + std::to_string(comp_level) + "_lhcb_" + GetAlgoName(algo) + ".root";
29+
std::string new_filename = (RB::GetTempFs() + "level_" + std::to_string(comp_level) + "_lhcb_" + GetAlgoName(algo) + ".root");
3030

3131
gSystem->Exec(("hadd -v 0 -f" + comp_setting + " " + new_filename + " " + old_filename).c_str());
3232

root/io/io/TFile_NanoAOD_Benchmarks.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static void BM_NanoAOD_Decompress(benchmark::State &state, int algo) {
2626
int comp_level = state.range(0);
2727
std::string comp_setting = std::to_string(algo * 100 + comp_level);
2828
std::string old_filename = (RB::GetDataDir() + "/Run2012B_DoubleElectron.root").c_str();
29-
std::string new_filename = "level_" + std::to_string(comp_level) + "_nanoaod_" + GetAlgoName(algo) + ".root";
29+
std::string new_filename = (RB::GetTempFs() + "level_" + std::to_string(comp_level) + "_nanoaod_" + GetAlgoName(algo) + ".root").c_str();
3030

3131
gSystem->Exec(("hadd -v 0 -f" + comp_setting + " " + new_filename + " " + old_filename).c_str());
3232

0 commit comments

Comments
 (0)