But this gives a weird graph. I have also tried using the sprintf method to format string then put in as the argument of Get. But that does not work neither. Could anyone explain what happen?
But I still don’t understand why the sprintf and TString::Format do not work (See the commented code). For these two method I can’t get the histogram and it gives a null pointer error at the line num11->Sumw2(). Thank you very much.