Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TMVA::RuleCut Class Reference

A class describing a 'rule cut'.

Definition at line 34 of file RuleCut.h.

Public Member Functions

 RuleCut ()
 empty constructor More...
 
 RuleCut (const RuleCut &other)
 
 RuleCut (const std::vector< const TMVA::Node * > &nodes)
 main constructor More...
 
virtual ~RuleCut ()
 destructor More...
 
Bool_t EvalEvent (const Event &eve)
 
Char_t GetCutDoMax (Int_t is) const
 
Char_t GetCutDoMin (Int_t is) const
 
Double_t GetCutMax (Int_t is) const
 
Double_t GetCutMin (Int_t is) const
 
Double_t GetCutNeve () const
 
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...
 
UInt_t GetNvars () const
 
Double_t GetPurity () const
 
UInt_t GetSelector (Int_t is) const
 
void SetCutDoMax (Int_t i, Bool_t v)
 
void SetCutDoMin (Int_t i, Bool_t v)
 
void SetCutMax (Int_t i, Double_t v)
 
void SetCutMin (Int_t i, Double_t v)
 
void SetNeve (Double_t n)
 
void SetNvars (UInt_t nc)
 
void SetPurity (Double_t ssb)
 
void SetSelector (Int_t i, UInt_t s)
 

Private Member Functions

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

Private Attributes

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

#include <TMVA/RuleCut.h>

Constructor & Destructor Documentation

◆ RuleCut() [1/3]

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

main constructor

Definition at line 40 of file RuleCut.cxx.

◆ RuleCut() [2/3]

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

Definition at line 42 of file RuleCut.h.

◆ RuleCut() [3/3]

TMVA::RuleCut::RuleCut ( )

empty constructor

Definition at line 51 of file RuleCut.cxx.

◆ ~RuleCut()

TMVA::RuleCut::~RuleCut ( )
virtual

destructor

Definition at line 61 of file RuleCut.cxx.

Member Function Documentation

◆ Copy()

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

Definition at line 101 of file RuleCut.h.

◆ EvalEvent()

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

Definition at line 118 of file RuleCut.h.

◆ GetCutDoMax()

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

Definition at line 75 of file RuleCut.h.

◆ GetCutDoMin()

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

Definition at line 74 of file RuleCut.h.

◆ GetCutMax()

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

Definition at line 73 of file RuleCut.h.

◆ GetCutMin()

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

Definition at line 72 of file RuleCut.h.

◆ GetCutNeve()

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

Definition at line 76 of file RuleCut.h.

◆ 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 176 of file RuleCut.cxx.

◆ GetNcuts()

UInt_t TMVA::RuleCut::GetNcuts ( ) const

get number of cuts

Definition at line 164 of file RuleCut.cxx.

◆ GetNvars()

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

Definition at line 70 of file RuleCut.h.

◆ GetPurity()

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

Definition at line 77 of file RuleCut.h.

◆ GetSelector()

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

Definition at line 71 of file RuleCut.h.

◆ Log()

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

Definition at line 96 of file RuleCut.h.

◆ 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 69 of file RuleCut.cxx.

◆ SetCutDoMax()

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

Definition at line 67 of file RuleCut.h.

◆ SetCutDoMin()

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

Definition at line 66 of file RuleCut.h.

◆ SetCutMax()

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

Definition at line 65 of file RuleCut.h.

◆ SetCutMin()

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

Definition at line 64 of file RuleCut.h.

◆ SetNeve()

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

Definition at line 61 of file RuleCut.h.

◆ SetNvars()

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

Definition at line 141 of file RuleCut.h.

◆ SetPurity()

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

Definition at line 62 of file RuleCut.h.

◆ SetSelector()

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

Definition at line 63 of file RuleCut.h.

Member Data Documentation

◆ fCutDoMax

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

Definition at line 90 of file RuleCut.h.

◆ fCutDoMin

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

Definition at line 89 of file RuleCut.h.

◆ fCutMax

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

Definition at line 88 of file RuleCut.h.

◆ fCutMin

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

Definition at line 87 of file RuleCut.h.

◆ fCutNeve

Double_t TMVA::RuleCut::fCutNeve
private

Definition at line 91 of file RuleCut.h.

◆ fLogger

MsgLogger* TMVA::RuleCut::fLogger
mutableprivate

Definition at line 95 of file RuleCut.h.

◆ fPurity

Double_t TMVA::RuleCut::fPurity
private

Definition at line 92 of file RuleCut.h.

◆ fSelector

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

Definition at line 86 of file RuleCut.h.

Libraries for TMVA::RuleCut:
[legend]

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