ROOT  6.06/09
Reference Guide
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
TMVA::Interval Class Reference

Definition at line 63 of file Interval.h.

Public Member Functions

 Interval (Double_t min, Double_t max, Int_t nbins=0)
 
 Interval (const Interval &other)
 
virtual ~Interval ()
 destructor More...
 
virtual Double_t GetMin () const
 
virtual Double_t GetMax () const
 
virtual Double_t GetWidth () const
 
virtual Int_t GetNbins () const
 
virtual Double_t GetMean () const
 
virtual Double_t GetRndm (TRandom3 &) const
 get uniformely distributed number within interval More...
 
virtual Double_t GetElement (Int_t position) const
 calculates the value of the "number" bin in a discrete interval. More...
 
virtual Double_t GetStepSize (Int_t iBin=0) const
 retuns the step size between the numbers of a "discrete Interval" More...
 
void SetMax (Double_t m)
 
void SetMin (Double_t m)
 
virtual void Print (std::ostream &os) const
 

Protected Attributes

Double_t fMin
 
Double_t fMax
 
Int_t fNbins
 

Private Member Functions

MsgLoggerLog () const
 

#include <TMVA/Interval.h>

+ Inheritance diagram for TMVA::Interval:

Constructor & Destructor Documentation

TMVA::Interval::Interval ( Double_t  min,
Double_t  max,
Int_t  nbins = 0 
)
TMVA::Interval::Interval ( const Interval other)

Definition at line 101 of file Interval.cxx.

TMVA::Interval::~Interval ( )
virtual

destructor

Definition at line 111 of file Interval.cxx.

Member Function Documentation

Double_t TMVA::Interval::GetElement ( Int_t  bin) const
virtual

calculates the value of the "number" bin in a discrete interval.

Parameters: Double_t position

Reimplemented in TMVA::LogInterval.

Definition at line 121 of file Interval.cxx.

Referenced by TMVA::GeneticRange::RandomDiscrete().

virtual Double_t TMVA::Interval::GetMax ( ) const
inlinevirtual

Reimplemented in TMVA::LogInterval.

Definition at line 74 of file Interval.h.

Double_t TMVA::Interval::GetMean ( ) const
virtual

Reimplemented in TMVA::LogInterval.

Definition at line 161 of file Interval.cxx.

virtual Double_t TMVA::Interval::GetMin ( ) const
inlinevirtual

Reimplemented in TMVA::LogInterval.

Definition at line 73 of file Interval.h.

virtual Int_t TMVA::Interval::GetNbins ( ) const
inlinevirtual

Reimplemented in TMVA::LogInterval.

Definition at line 76 of file Interval.h.

Double_t TMVA::Interval::GetRndm ( TRandom3 rnd) const
virtual

get uniformely distributed number within interval

Reimplemented in TMVA::LogInterval.

Definition at line 152 of file Interval.cxx.

Double_t TMVA::Interval::GetStepSize ( Int_t  iBin = 0) const
virtual

retuns the step size between the numbers of a "discrete Interval"

Reimplemented in TMVA::LogInterval.

Definition at line 137 of file Interval.cxx.

Double_t TMVA::Interval::GetWidth ( ) const
virtual

Reimplemented in TMVA::LogInterval.

Definition at line 157 of file Interval.cxx.

TMVA::MsgLogger & TMVA::Interval::Log ( ) const
private

Definition at line 173 of file Interval.cxx.

void TMVA::Interval::Print ( std::ostream &  os) const
virtual

Definition at line 166 of file Interval.cxx.

void TMVA::Interval::SetMax ( Double_t  m)
inline

Definition at line 82 of file Interval.h.

void TMVA::Interval::SetMin ( Double_t  m)
inline

Definition at line 83 of file Interval.h.

Member Data Documentation

Double_t TMVA::Interval::fMax
protected

Definition at line 89 of file Interval.h.

Referenced by GetMax(), TMVA::LogInterval::GetMax(), SetMax(), and TMVA::LogInterval::SetMax().

Double_t TMVA::Interval::fMin
protected

Definition at line 89 of file Interval.h.

Referenced by GetMin(), TMVA::LogInterval::GetMin(), SetMin(), and TMVA::LogInterval::SetMin().

Int_t TMVA::Interval::fNbins
protected

Definition at line 90 of file Interval.h.

Referenced by GetNbins(), and TMVA::LogInterval::GetNbins().


The documentation for this class was generated from the following files: