Interval
Interval definition, continuous and discrete
Interval(min,max) : a continous interval [min,max]
Interval(min,max,n): a "discrete interval" [min,max], i.e the n numbers:
min, min+step, min+2*step,...., min+(n-1)*step, min+n*step=max
e.g.: Interval(1,5,5)=1,2,3,4,5
Interval(.5,1.,6)= .5, .6., .7, .8, .9, 1.0
Note: **bin** counting starts from ZERO unlike in ROOT histograms
the TMVA::Interval Class
- Interval definition, continuous and discrete
- Interval(min,max) : a continous interval [min,max]
- Interval(min,max,n): a "discrete interval" [min,max], i.e the n numbers:
min, min+step, min+2*step,...., min+(n-1)*step=max
e.g.: Interval(1,5,5)=1,2,3,4,5
Interval(.5,1.,6)= .5, .6., .7, .8, .9, 1.0
Example: Interval(.5,1.,6)
[ min max ]
------------------------------------------------------------
| | | | | |
.5 .6 .7 .8 .9 1.0
bin 0 1 2 3 4 5