Logo ROOT   6.07/09
Reference Guide
List of all members | 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)
 main constructor More...
 
 RuleCut (const RuleCut &other)
 
 RuleCut ()
 empty 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

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

main constructor

Definition at line 34 of file RuleCut.cxx.

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

Definition at line 44 of file RuleCut.h.

TMVA::RuleCut::RuleCut ( )

empty constructor

Definition at line 45 of file RuleCut.cxx.

TMVA::RuleCut::~RuleCut ( )
virtual

destructor

Definition at line 55 of file RuleCut.cxx.

Member Function Documentation

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

Definition at line 103 of file RuleCut.h.

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

Definition at line 120 of file RuleCut.h.

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

Definition at line 77 of file RuleCut.h.

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

Definition at line 76 of file RuleCut.h.

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

Definition at line 75 of file RuleCut.h.

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

Definition at line 74 of file RuleCut.h.

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

Definition at line 78 of file RuleCut.h.

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.

UInt_t TMVA::RuleCut::GetNcuts ( ) const

get number of cuts

Definition at line 158 of file RuleCut.cxx.

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

Definition at line 72 of file RuleCut.h.

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

Definition at line 79 of file RuleCut.h.

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

Definition at line 73 of file RuleCut.h.

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

Definition at line 98 of file RuleCut.h.

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.

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

Definition at line 69 of file RuleCut.h.

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

Definition at line 68 of file RuleCut.h.

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

Definition at line 67 of file RuleCut.h.

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

Definition at line 66 of file RuleCut.h.

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

Definition at line 63 of file RuleCut.h.

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

Definition at line 143 of file RuleCut.h.

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

Definition at line 64 of file RuleCut.h.

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

Definition at line 65 of file RuleCut.h.

Member Data Documentation

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

Definition at line 92 of file RuleCut.h.

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

Definition at line 91 of file RuleCut.h.

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

Definition at line 90 of file RuleCut.h.

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

Definition at line 89 of file RuleCut.h.

Double_t TMVA::RuleCut::fCutNeve
private

Definition at line 93 of file RuleCut.h.

MsgLogger* TMVA::RuleCut::fLogger
mutableprivate

Definition at line 97 of file RuleCut.h.

Double_t TMVA::RuleCut::fPurity
private

Definition at line 94 of file RuleCut.h.

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

Definition at line 88 of file RuleCut.h.


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