ROOT  6.06/08
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TMVA::RuleCut Class Reference

Definition at line 36 of file RuleCut.h.

Public Member Functions

 RuleCut (const std::vector< const TMVA::Node * > &nodes)
 
 RuleCut (const RuleCut &other)
 
 RuleCut ()
 empty constructor More...
 
virtual ~RuleCut ()
 destructor More...
 
Bool_t EvalEvent (const Event &eve)
 
Bool_t GetCutRange (Int_t sel, Double_t &rmin, Double_t &rmax, Bool_t &dormin, Bool_t &dormax) const
 get cut range for a given selector More...
 
UInt_t GetNcuts () const
 get number of cuts More...
 
void SetNvars (UInt_t nc)
 
void SetNeve (Double_t n)
 
void SetPurity (Double_t ssb)
 
void SetSelector (Int_t i, UInt_t s)
 
void SetCutMin (Int_t i, Double_t v)
 
void SetCutMax (Int_t i, Double_t v)
 
void SetCutDoMin (Int_t i, Bool_t v)
 
void SetCutDoMax (Int_t i, Bool_t v)
 
UInt_t GetNvars () const
 
UInt_t GetSelector (Int_t is) const
 
Double_t GetCutMin (Int_t is) const
 
Double_t GetCutMax (Int_t is) const
 
Char_t GetCutDoMin (Int_t is) const
 
Char_t GetCutDoMax (Int_t is) const
 
Double_t GetCutNeve () const
 
Double_t GetPurity () const
 

Private Member Functions

void Copy (const RuleCut &other)
 
void MakeCuts (const std::vector< const TMVA::Node * > &nodes)
 Construct the cuts from the given array of nodes. More...
 
MsgLoggerLog () const
 

Private Attributes

std::vector< UInt_tfSelector
 
std::vector< Double_tfCutMin
 
std::vector< Double_tfCutMax
 
std::vector< Char_tfCutDoMin
 
std::vector< Char_tfCutDoMax
 
Double_t fCutNeve
 
Double_t fPurity
 
MsgLoggerfLogger
 

#include <TMVA/RuleCut.h>

+ Collaboration diagram for TMVA::RuleCut:

Constructor & Destructor Documentation

§ RuleCut() [1/3]

TMVA::RuleCut::RuleCut ( const std::vector< const TMVA::Node * > &  nodes)

§ RuleCut() [2/3]

TMVA::RuleCut::RuleCut ( const RuleCut other)
inline

Definition at line 44 of file RuleCut.h.

§ RuleCut() [3/3]

TMVA::RuleCut::RuleCut ( )

empty constructor

Definition at line 45 of file RuleCut.cxx.

Referenced by RuleCut().

§ ~RuleCut()

TMVA::RuleCut::~RuleCut ( )
virtual

destructor

Definition at line 55 of file RuleCut.cxx.

Referenced by RuleCut().

Member Function Documentation

§ Copy()

void TMVA::RuleCut::Copy ( const RuleCut other)
inlineprivate

Definition at line 103 of file RuleCut.h.

Referenced by GetPurity(), and RuleCut().

§ EvalEvent()

Bool_t TMVA::RuleCut::EvalEvent ( const Event eve)
inline

Definition at line 120 of file RuleCut.h.

Referenced by TMVA::Rule::EvalEvent(), and RuleCut().

§ GetCutDoMax()

Char_t TMVA::RuleCut::GetCutDoMax ( Int_t  is) const
inline

§ GetCutDoMin()

Char_t TMVA::RuleCut::GetCutDoMin ( Int_t  is) const
inline

§ GetCutMax()

Double_t TMVA::RuleCut::GetCutMax ( Int_t  is) const
inline

§ GetCutMin()

Double_t TMVA::RuleCut::GetCutMin ( Int_t  is) const
inline

§ GetCutNeve()

Double_t TMVA::RuleCut::GetCutNeve ( ) const
inline

Definition at line 78 of file RuleCut.h.

Referenced by Copy(), and TMVA::Rule::Rule().

§ GetCutRange()

Bool_t TMVA::RuleCut::GetCutRange ( Int_t  sel,
Double_t rmin,
Double_t rmax,
Bool_t dormin,
Bool_t dormax 
) const

get cut range for a given selector

Definition at line 170 of file RuleCut.cxx.

Referenced by TMVA::RuleFit::FillCorr(), TMVA::RuleFit::FillCut(), and RuleCut().

§ GetNcuts()

UInt_t TMVA::RuleCut::GetNcuts ( ) const

get number of cuts

Definition at line 158 of file RuleCut.cxx.

Referenced by TMVA::Rule::GetNcuts(), RuleCut(), and TMVA::MethodRuleFit::TrainTMVARuleFit().

§ GetNvars()

UInt_t TMVA::RuleCut::GetNvars ( ) const
inline

§ GetPurity()

Double_t TMVA::RuleCut::GetPurity ( void  ) const
inline

Definition at line 79 of file RuleCut.h.

Referenced by Copy(), and TMVA::Rule::Rule().

§ GetSelector()

UInt_t TMVA::RuleCut::GetSelector ( Int_t  is) const
inline

§ Log()

MsgLogger& TMVA::RuleCut::Log ( ) const
inlineprivate

Definition at line 98 of file RuleCut.h.

Referenced by MakeCuts().

§ MakeCuts()

void TMVA::RuleCut::MakeCuts ( const std::vector< const TMVA::Node * > &  nodes)
private

Construct the cuts from the given array of nodes.

Definition at line 63 of file RuleCut.cxx.

Referenced by GetPurity().

§ SetCutDoMax()

void TMVA::RuleCut::SetCutDoMax ( Int_t  i,
Bool_t  v 
)
inline

§ SetCutDoMin()

void TMVA::RuleCut::SetCutDoMin ( Int_t  i,
Bool_t  v 
)
inline

§ SetCutMax()

void TMVA::RuleCut::SetCutMax ( Int_t  i,
Double_t  v 
)
inline

§ SetCutMin()

void TMVA::RuleCut::SetCutMin ( Int_t  i,
Double_t  v 
)
inline

§ SetNeve()

void TMVA::RuleCut::SetNeve ( Double_t  n)
inline

Definition at line 63 of file RuleCut.h.

§ SetNvars()

void TMVA::RuleCut::SetNvars ( UInt_t  nc)
inline

§ SetPurity()

void TMVA::RuleCut::SetPurity ( Double_t  ssb)
inline

Definition at line 64 of file RuleCut.h.

§ SetSelector()

void TMVA::RuleCut::SetSelector ( Int_t  i,
UInt_t  s 
)
inline

Member Data Documentation

§ fCutDoMax

std::vector<Char_t> TMVA::RuleCut::fCutDoMax
private

Definition at line 92 of file RuleCut.h.

Referenced by Copy(), EvalEvent(), GetCutDoMax(), GetCutRange(), GetNcuts(), MakeCuts(), SetCutDoMax(), and SetNvars().

§ fCutDoMin

std::vector<Char_t> TMVA::RuleCut::fCutDoMin
private

Definition at line 91 of file RuleCut.h.

Referenced by Copy(), EvalEvent(), GetCutDoMin(), GetCutRange(), GetNcuts(), MakeCuts(), SetCutDoMin(), and SetNvars().

§ fCutMax

std::vector<Double_t> TMVA::RuleCut::fCutMax
private

Definition at line 90 of file RuleCut.h.

Referenced by Copy(), EvalEvent(), GetCutMax(), GetCutRange(), MakeCuts(), SetCutMax(), and SetNvars().

§ fCutMin

std::vector<Double_t> TMVA::RuleCut::fCutMin
private

Definition at line 89 of file RuleCut.h.

Referenced by Copy(), EvalEvent(), GetCutMin(), GetCutRange(), MakeCuts(), SetCutMin(), and SetNvars().

§ fCutNeve

Double_t TMVA::RuleCut::fCutNeve
private

Definition at line 93 of file RuleCut.h.

Referenced by Copy(), GetCutNeve(), MakeCuts(), and SetNeve().

§ fLogger

MsgLogger* TMVA::RuleCut::fLogger
mutableprivate

Definition at line 97 of file RuleCut.h.

Referenced by Log(), and ~RuleCut().

§ fPurity

Double_t TMVA::RuleCut::fPurity
private

Definition at line 94 of file RuleCut.h.

Referenced by Copy(), GetPurity(), MakeCuts(), and SetPurity().

§ fSelector

std::vector<UInt_t> TMVA::RuleCut::fSelector
private

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