Hello,
Is it possible to get the number of entries in a histogram that has already been created, within a range–say, get the number of bins between 2.4 and 5?
Best,
Danny
Hello,
Is it possible to get the number of entries in a histogram that has already been created, within a range–say, get the number of bins between 2.4 and 5?
Best,
Danny
If your histogram is filled with weights=1, you can call
TH1::Integral(bin1,bin2);
otherwise you should use a TProfile and use the function TProfile::GetBinEntries(bin)
Rene
Thanks for your prompt reply!