92 if (min<=0)
Log() << kFATAL <<
"logarithmic intervals have to have Min>0 !!" <<
Endl;
116 Log() << kFATAL <<
"GetElement only defined for discrete value LogIntervals" <<
Endl;
119 else if (bin < 0 || bin >= fNbins) {
120 Log() << kFATAL <<
"bin " << bin <<
" out of range: interval *bins* count from 0 to " << fNbins-1 <<
Endl;
132 Log() << kFATAL <<
"GetElement only defined for discrete value LogIntervals" <<
Endl;
135 Log() << kFATAL <<
"You asked for iBin=" << iBin
136 <<
" in interval .. and.. sorry, I cannot let this happen.."<<
Endl;
160 return (fMax + fMin)/2;
166 TTHREAD_TLS_DECL_ARG(
MsgLogger,logger,
"LogInterval");
The TMVA::Interval Class.
The TMVA::Interval Class.
virtual Double_t GetMean() const
virtual Double_t GetStepSize(Int_t iBin=0) const
returns the step size between the numbers of a "discrete LogInterval"
virtual Double_t GetRndm(TRandom3 &) const
get uniformly distributed number within interval
LogInterval(Double_t min, Double_t max, Int_t nbins=0)
virtual Double_t GetWidth() const
virtual Double_t GetElement(Int_t position) const
calculates the value of the "number" bin in a discrete interval.
virtual ~LogInterval()
destructor
ostringstream derivative to redirect and format output
Random number generator class based on M.
Double_t Rndm() override
Machine independent random number generator.
create variable transformations
MsgLogger & Endl(MsgLogger &ml)
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.
Double_t Exp(Double_t x)
Returns the base-e exponential function of x, which is e raised to the power x.
Double_t Log(Double_t x)
Returns the natural logarithm of x.