class TMVA::Ranking


 Ranking for variables in method (implementation)

Function Members (Methods)

public:
virtual~Ranking()
virtual voidAddRank(const TMVA::Rank& rank)
static TClass*Class()
virtual TClass*IsA() const
virtual voidPrint() const
TMVA::RankingRanking()
TMVA::RankingRanking(const TString& context, const TString& rankingDiscriminatorName)
voidSetContext(const TString context)
voidSetDiscrName(const TString discrName)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

private:
TStringfContextthe ranking context
TMVA::MsgLoggerfLoggermessage logger
vector<TMVA::Rank*>fRankingvector of ranks
TStringfRankingDiscriminatorNamethe name of the ranking discriminator

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Ranking()
 default constructor
Ranking(const TString& context, const TString& rankingDiscriminatorName)
 constructor
~Ranking()
 destructor
void AddRank(const TMVA::Rank& rank)
 Add a new rank
 sort according to rank value (descending)
 Who the hell knows why this does not compile on windos.. write the sorting
 reversing myself... (means sorting in "descending" order)
   --> std::sort   ( fRanking.begin(), fRanking.end() );
   --> std::reverse( fRanking.begin(), fRanking.end() );
void Print()
 get maximum length of variable names
void SetContext(const TString context)
{ fContext = context; fLogger.SetSource( fContext.Data() ); }
void SetDiscrName(const TString discrName)
{ fRankingDiscriminatorName = discrName; }

Author: Andreas Hoecker, Joerg Stelzer, Helge Voss, Kai Voss
Last change: root/tmva $Id: Ranking.h 21079 2007-11-27 20:08:49Z brun $
Last generated: 2008-06-25 08:48
Copyright (c) 2005: *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.