149      void PrintLogger( 
const char *title=
nullptr ) 
const;
 
  152      void  PrintRaw   ( std::ostream& os  ) 
const; 
 
  153      void* 
AddXMLTo   ( 
void* parent ) 
const;
 
  155      void  ReadRaw    ( std::istream& os    ); 
 
  164      void Print( std::ostream& os ) 
const;
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
ostringstream derivative to redirect and format output
 
A class describing a 'rule cut'.
 
UInt_t GetNcuts() const
get number of cuts
 
Bool_t EvalEvent(const Event &eve)
 
Implementation of a rule.
 
Double_t fImportance
importance of rule
 
friend std::ostream & operator<<(std::ostream &os, const Rule &rule)
 
void SetImportanceRef(Double_t v)
 
void SetMsgType(EMsgType t)
 
void Copy(const Rule &other)
copy function
 
Double_t GetImportanceRef() const
 
Double_t GetSSBNeve() const
 
void PrintLogger(const char *title=nullptr) const
print function
 
Double_t GetSupport() const
 
Double_t fSigma
t(k) = sqrt(s*(1-s))
 
MsgLogger * fLogger
! message logger
 
void SetSigma(Double_t v)
 
Bool_t Equal(const Rule &other, Bool_t useCutValue, Double_t maxdist) const
Compare two rules.
 
void ReadRaw(std::istream &os)
read function (format is the same as written by PrintRaw)
 
UInt_t GetNumVarsUsed() const
 
void operator=(const Rule &other)
 
void * AddXMLTo(void *parent) const
 
Bool_t operator==(const Rule &other) const
comparison operator ==
 
const RuleCut * GetRuleCut() const
 
Bool_t IsSignalRule() const
 
Double_t GetCoefficient() const
 
void SetCoefficient(Double_t v)
 
void Print(std::ostream &os) const
print function
 
void SetNorm(Double_t norm)
 
const RuleEnsemble * GetRuleEnsemble() const
 
virtual ~Rule()
destructor
 
Double_t fNorm
normalization - usually 1.0/t(k)
 
void ReadFromXML(void *wghtnode)
read rule from XML
 
Double_t GetImportance() const
 
void PrintRaw(std::ostream &os) const
extensive print function used to print info for the weight file
 
Double_t GetSigma() const
 
void SetRuleEnsemble(const RuleEnsemble *re)
 
void SetSSBNeve(Double_t v)
 
void SetRuleCut(RuleCut *rc)
 
const TString & GetVarName(Int_t i) const
returns the name of a rule
 
Bool_t operator<(const Rule &other) const
comparison operator <
 
Double_t RuleDist(const Rule &other, Bool_t useCutValue) const
Returns:
 
Double_t fSSB
S/(S+B) for rule.
 
Double_t GetRelImportance() const
 
RuleCut * fCut
all cuts associated with the rule
 
Bool_t ContainsVariable(UInt_t iv) const
check if variable in node
 
Double_t fCoefficient
rule coeff. a(k)
 
void SetSupport(Double_t v)
 
const RuleEnsemble * fRuleEnsemble
pointer to parent RuleEnsemble
 
Bool_t EvalEvent(const Event &e) const
 
Rule()
the simple constructor
 
Double_t fSSBNeve
N(events) reaching the last node in reevaluation.
 
Double_t fImportanceRef
importance ref
 
create variable transformations
 
std::ostream & operator<<(std::ostream &os, const BinaryTree &tree)
 
Double_t Sqrt(Double_t x)
Returns the square root of x.
 
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.