Skip to content
Snippets Groups Projects

Resolve "Add detector name to results folder for benchmarks"

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -28,7 +28,7 @@ R__LOAD_LIBRARY(libfmt.so)
@@ -28,7 +28,7 @@ R__LOAD_LIBRARY(libfmt.so)
using ROOT::RDataFrame;
using ROOT::RDataFrame;
using namespace ROOT::VecOps;
using namespace ROOT::VecOps;
void addDetectorName(std:string name, TH1 * inhist){
void addDetectorName(std::string name, TH1 * inhist){
std::string newName = inhist -> GetTitle();
std::string newName = inhist -> GetTitle();
inhist -> SetTitle((name + newName).c_str());
inhist -> SetTitle((name + newName).c_str());
}
}
Loading