Differences between arrays

  1. t->Draw("Calo_Time[9]-Calo_Time[8]"); will create a histogram filled from the difference of the two variables. That what you want ?

  2. t->Draw(Form("Calo_Time[%d]-Calo_Time[%d]",a,b)); when a and b are int, not float.