89 if (
fMax -
fMin < 0)
Log() << kFATAL <<
"maximum lower than minimum" <<
Endl;
91 Log() << kFATAL <<
"nbins < 0" <<
Endl;
94 else if (nbins == 1) {
95 Log() << kFATAL <<
"interval has to have at least 2 bins if discrete" <<
Endl;
123 Log() << kFATAL <<
"GetElement only defined for discrete value Intervals" <<
Endl;
126 else if (bin < 0 || bin >=
fNbins) {
127 Log() << kFATAL <<
"bin " << bin <<
" out of range: interval *bins* count from 0 to " <<
fNbins-1 <<
Endl;
139 Log() << kFATAL <<
"GetElement only defined for discrete value Intervals" <<
Endl;
142 Log() << kFATAL <<
"You asked for iBin=" << iBin
143 <<
" in interval .. and.. sorry, I cannot let this happen.."<<
Endl;
173 TTHREAD_TLS_DECL_ARG(
MsgLogger,logger,
"Interval");
Random number generator class based on M.
MsgLogger & Endl(MsgLogger &ml)
virtual Double_t Rndm()
Machine independent random number generator.
virtual Double_t GetElement(Int_t position) const
calculates the value of the "number" bin in a discrete interval.
virtual Double_t GetStepSize(Int_t iBin=0) const
returns the step size between the numbers of a "discrete Interval"
virtual void Print(std::ostream &os) const
virtual ~Interval()
destructor
virtual Double_t GetWidth() const
Interval(Double_t min, Double_t max, Int_t nbins=0)
defines minimum and maximum of an interval
virtual Int_t GetNbins() const
The TMVA::Interval Class.
virtual Double_t GetMean() const
ostringstream derivative to redirect and format output
virtual Double_t GetRndm(TRandom3 &) const
get uniformly distributed number within interval