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, 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
- 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
[ min max ]
-----------------------------------------------
| | | | | |
.5 .6 .7 .8 .9 1.0
bin 0 1 2 3 4 5
Interval(Double_t min, Double_t max, Int_t nbins=0)
defines minimum and maximum of an interval
Definition at line 61 of file Interval.h.