150 void PrintRaw ( std::ostream& os )
const;
151 void*
AddXMLTo (
void* parent )
const;
153 void ReadRaw ( std::istream& os );
162 void Print( std::ostream& os )
const;
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.
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
MsgLogger & Log() const
message logger
Double_t GetSupport() const
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
void PrintLogger(const char *title=0) const
print function
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
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 GetRelImportance() const
Bool_t ContainsVariable(UInt_t iv) const
check if variable in node
void SetSupport(Double_t v)
const RuleEnsemble * fRuleEnsemble
Bool_t EvalEvent(const Event &e) const
Rule()
the simple constructor
create variable transformations
std::ostream & operator<<(std::ostream &os, const BinaryTree &tree)
Double_t Sqrt(Double_t x)