Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::Ranking Class Reference

Ranking for variables in method (implementation)

Definition at line 48 of file Ranking.h.

Public Member Functions

 Ranking ()
 default constructor
 
 Ranking (const TString &context, const TString &rankingDiscriminatorName)
 constructor
 
virtual ~Ranking ()
 destructor
 
virtual void AddRank (const Rank &rank)
 Add a new rank take ownership of it.
 
virtual TClassIsA () const
 
virtual void Print () const
 get maximum length of variable names
 
void SetContext (const TString &context)
 
void SetDiscrName (const TString &discrName)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Member Functions

MsgLoggerLog () const
 

Private Attributes

TString fContext
 the ranking context
 
MsgLoggerfLogger
 ! message logger
 
std::vector< TMVA::RankfRanking
 vector of ranks
 
TString fRankingDiscriminatorName
 the name of the ranking discriminator
 

#include <TMVA/Ranking.h>

Constructor & Destructor Documentation

◆ Ranking() [1/2]

TMVA::Ranking::Ranking ( )

default constructor

Definition at line 46 of file Ranking.cxx.

◆ Ranking() [2/2]

TMVA::Ranking::Ranking ( const TString context,
const TString rankingDiscriminatorName 
)

constructor

Definition at line 57 of file Ranking.cxx.

◆ ~Ranking()

TMVA::Ranking::~Ranking ( )
virtual

destructor

Definition at line 68 of file Ranking.cxx.

Member Function Documentation

◆ AddRank()

void TMVA::Ranking::AddRank ( const Rank rank)
virtual

Add a new rank take ownership of it.

Definition at line 86 of file Ranking.cxx.

◆ Class()

static TClass * TMVA::Ranking::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TMVA::Ranking::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TMVA::Ranking::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 71 of file Ranking.h.

◆ DeclFileName()

static const char * TMVA::Ranking::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 71 of file Ranking.h.

◆ IsA()

virtual TClass * TMVA::Ranking::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 71 of file Ranking.h.

◆ Log()

MsgLogger & TMVA::Ranking::Log ( ) const
inlineprivate

Definition at line 69 of file Ranking.h.

◆ Print()

void TMVA::Ranking::Print ( ) const
virtual

get maximum length of variable names

Definition at line 111 of file Ranking.cxx.

◆ SetContext()

void TMVA::Ranking::SetContext ( const TString context)

Definition at line 76 of file Ranking.cxx.

◆ SetDiscrName()

void TMVA::Ranking::SetDiscrName ( const TString discrName)
inline

Definition at line 60 of file Ranking.h.

◆ Streamer()

virtual void TMVA::Ranking::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TMVA::Ranking::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 71 of file Ranking.h.

Member Data Documentation

◆ fContext

TString TMVA::Ranking::fContext
private

the ranking context

Definition at line 65 of file Ranking.h.

◆ fLogger

MsgLogger* TMVA::Ranking::fLogger
mutableprivate

! message logger

Definition at line 68 of file Ranking.h.

◆ fRanking

std::vector<TMVA::Rank> TMVA::Ranking::fRanking
private

vector of ranks

Definition at line 64 of file Ranking.h.

◆ fRankingDiscriminatorName

TString TMVA::Ranking::fRankingDiscriminatorName
private

the name of the ranking discriminator

Definition at line 66 of file Ranking.h.

Libraries for TMVA::Ranking:

The documentation for this class was generated from the following files: