Hi everyone,
as the title says, I am trying to create a folder (called Histograms) within a specified path. The only thing is that I have no idea how to implement the path in the TDirectory call:
[code]int a= 1;
int b = 2;
TString path = TString::Format("/Data/%d/%02d", a, b );
TDirectory directory(Histograms);[/code]
Of course, since I have no idea how to add the path, I tried to run the script with just the last line but it tells me that symbol Histograms is not defined in the current scope. Looking at the TDirectory informations, I do not understand why it does not work. I am not sure the TString path line is right either.
Any idea on how to proceed?
Thanks