114 |
|
Double_t xval=x,yval=y; |
115 |
|
|
116 |
|
if(keepInBounds) { |
117 |
< |
if(x < h->GetXaxis()->GetBinLowEdge(1)) xval = h->GetXaxis()->GetBinCenter(1); |
118 |
< |
if(x > h->GetXaxis()->GetBinUpEdge(nx)) xval = h->GetXaxis()->GetBinCenter(nx); |
119 |
< |
if(y < h->GetYaxis()->GetBinLowEdge(1)) yval = h->GetYaxis()->GetBinCenter(1); |
120 |
< |
if(y > h->GetYaxis()->GetBinUpEdge(ny)) yval = h->GetYaxis()->GetBinCenter(ny); |
117 |
> |
if(x <= h->GetXaxis()->GetBinLowEdge(1)) xval = h->GetXaxis()->GetBinCenter(1); |
118 |
> |
if(x >= h->GetXaxis()->GetBinUpEdge(nx)) xval = h->GetXaxis()->GetBinCenter(nx); |
119 |
> |
if(y <= h->GetYaxis()->GetBinLowEdge(1)) yval = h->GetYaxis()->GetBinCenter(1); |
120 |
> |
if(y >= h->GetYaxis()->GetBinUpEdge(ny)) yval = h->GetYaxis()->GetBinCenter(ny); |
121 |
|
} |
122 |
|
|
123 |
|
for(Int_t i=1; i<=nx; i++) { |