User Tools

Site Tools


root:findbin

Find the bin the value corresponds to

How to

TH1D* bla = new TH1D("bla", "myHisto", 100,0,1);
bla->FindBin(0,53);

It also works for 2 or 3 dimensions.

root/findbin.txt · Last modified: 2010/03/19 20:12 by decianm