-
t->Draw("Calo_Time[9]-Calo_Time[8]");
will create a histogram filled from the difference of the two variables. That what you want ? -
t->Draw(Form("Calo_Time[%d]-Calo_Time[%d]",a,b));
when a and b are int, not float.
t->Draw("Calo_Time[9]-Calo_Time[8]");
will create a histogram filled from the difference of the two variables. That what you want ?
t->Draw(Form("Calo_Time[%d]-Calo_Time[%d]",a,b));
when a and b are int, not float.