User Tools

Site Tools


root:findbin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

root:findbin [2010/03/19 20:12] (current)
decianm created
Line 1: Line 1:
 +====== Find the bin the value corresponds to ======
 +===== How to =====
 +<​code>​
 +TH1D* bla = new TH1D("​bla",​ "​myHisto",​ 100,0,1);
 +bla->​FindBin(0,​53);​
 +</​code>​
 +
 +It also works for 2 or 3 dimensions.
 +
  
root/findbin.txt ยท Last modified: 2010/03/19 20:12 by decianm