89 TMVA::Interval(min,max,
nbins)
91 if (min<=0)
Log() <<
kFATAL <<
"logarithmic intervals have to have Min>0 !!" <<
Endl;
115 Log() <<
kFATAL <<
"GetElement only defined for discrete value LogIntervals" <<
Endl;
118 else if (bin < 0 || bin >= fNbins) {
119 Log() <<
kFATAL <<
"bin " << bin <<
" out of range: interval *bins* count from 0 to " << fNbins-1 <<
Endl;
131 Log() <<
kFATAL <<
"GetElement only defined for discrete value LogIntervals" <<
Endl;
134 Log() <<
kFATAL <<
"You asked for iBin=" << iBin
135 <<
" in interval .. and.. sorry, I cannot let this happen.."<<
Endl;
154 return (fMax + fMin)/2;
158 TTHREAD_TLS_DECL_ARG(
MsgLogger,logger,
"LogInterval");
LogInterval(Double_t min, Double_t max, Int_t nbins=0)
Random number generator class based on M.
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
MsgLogger & Endl(MsgLogger &ml)
virtual Double_t Rndm(Int_t i=0)
Machine independent random number generator.
virtual Double_t GetWidth() const
virtual Double_t GetRndm(TRandom3 &) const
get uniformely distributed number within interval
virtual Double_t GetStepSize(Int_t iBin=0) const
retuns the step size between the numbers of a "discrete LogInterval"
ClassImp(TMVA::LogInterval) TMVA
virtual Double_t GetElement(Int_t position) const
calculates the value of the "number" bin in a discrete interval.
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
Short_t Max(Short_t a, Short_t b)
virtual Double_t GetMean() const
virtual ~LogInterval()
destructor