24#ifndef ROOT_TMVA_RuleCut
25#define ROOT_TMVA_RuleCut
41 RuleCut(
const std::vector< const TMVA::Node * > & nodes );
86 void MakeCuts(
const std::vector< const TMVA::Node * > & nodes );
106 if (&other !=
this) {
133 minOK = (fCutDoMin[nc] ? (val>fCutMin[nc]):
kTRUE);
134 cutOK = (minOK ? ((fCutDoMax[nc] ? (val<fCutMax[nc]):
kTRUE)) :
kFALSE);
136 done = ((!cutOK) || (nc==fSelector.size()));
152 fSelector.resize(nc);
155 fCutDoMin.resize(nc);
156 fCutDoMax.resize(nc);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t sel
Float_t GetValue(UInt_t ivar) const
return value of i'th variable
ostringstream derivative to redirect and format output
A class describing a 'rule cut'.
std::vector< UInt_t > fSelector
Double_t GetPurity() const
void SetSelector(Int_t i, UInt_t s)
std::vector< Double_t > fCutMax
MsgLogger & Log() const
message logger
RuleCut()
empty constructor
virtual ~RuleCut()
destructor
std::vector< Double_t > fCutMin
void SetCutDoMin(Int_t i, Bool_t v)
Double_t GetCutMin(Int_t is) const
RuleCut(const RuleCut &other)
void SetCutMin(Int_t i, Double_t v)
UInt_t GetSelector(Int_t is) const
Double_t GetCutNeve() const
Char_t GetCutDoMin(Int_t is) const
Char_t GetCutDoMax(Int_t is) const
UInt_t GetNcuts() const
get number of cuts
void MakeCuts(const std::vector< const TMVA::Node * > &nodes)
Construct the cuts from the given array of nodes.
Bool_t EvalEvent(const Event &eve)
void SetCutMax(Int_t i, Double_t v)
Double_t GetCutMax(Int_t is) const
std::vector< Char_t > fCutDoMax
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 Copy(const RuleCut &other)
std::vector< Char_t > fCutDoMin
void SetPurity(Double_t ssb)
void SetCutDoMax(Int_t i, Bool_t v)
create variable transformations