24 #ifndef ROOT_TMVA_RuleCut 25 #define ROOT_TMVA_RuleCut 39 RuleCut(
const std::vector< const TMVA::Node * > & nodes );
84 void MakeCuts(
const std::vector< const TMVA::Node * > & nodes );
104 if (&other !=
this) {
134 done = ((!cutOK) || (nc==
fSelector.size()));
RuleCut(const RuleCut &other)
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
void SetCutMax(Int_t i, Double_t v)
void SetPurity(Double_t ssb)
Double_t GetPurity() const
Double_t GetCutMin(Int_t is) const
Bool_t EvalEvent(const Event &eve)
std::vector< Double_t > fCutMax
std::vector< Char_t > fCutDoMin
void SetCutMin(Int_t i, Double_t v)
Char_t GetCutDoMin(Int_t is) const
void SetCutDoMin(Int_t i, Bool_t v)
RuleCut()
empty constructor
void SetSelector(Int_t i, UInt_t s)
Char_t GetCutDoMax(Int_t is) const
std::vector< Char_t > fCutDoMax
std::vector< UInt_t > fSelector
A class describing a 'rule cut'.
UInt_t GetNcuts() const
get number of cuts
void Copy(const RuleCut &other)
Float_t GetValue(UInt_t ivar) const
return value of i'th variable
void SetCutDoMax(Int_t i, Bool_t v)
static constexpr double s
ostringstream derivative to redirect and format output
void MakeCuts(const std::vector< const TMVA::Node * > &nodes)
Construct the cuts from the given array of nodes.
UInt_t GetSelector(Int_t is) const
Abstract ClassifierFactory template that handles arbitrary types.
Double_t GetCutMax(Int_t is) const
std::vector< Double_t > fCutMin
virtual ~RuleCut()
destructor
Double_t GetCutNeve() const
static constexpr double ns