Rev 223 | Rev 261 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 223 | Rev 234 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | else return 0; |
37 | else return 0; |
38 | } |
38 | } |
39 | 39 | ||
40 | 40 | ||
41 | int _VI_FUNC H1D_GetBin(int h, double value) { |
41 | int _VI_FUNC H1D_GetBin(int h, double value) { |
- | 42 | int nx; |
|
42 |
|
43 | double xmin,dx; |
43 | int bin; |
44 | int bin; |
44 | 45 | ||
45 | nx = H1D_GetNbinsX(h); |
46 | nx = H1D_GetNbinsX(h); |
46 | xmin= H1D_GetMinX(h); |
47 | xmin= H1D_GetMinX(h); |
47 | dx = H1D_GetStepX(h); |
48 | dx = H1D_GetStepX(h); |