ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
TMVA::DataSetInfo Class Reference

Definition at line 78 of file DataSetInfo.h.

Public Member Functions

 DataSetInfo (const TString &name="Default")
 constructor More...
 
virtual ~DataSetInfo ()
 destructor More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
void ClearDataSet () const
 
DataSetGetDataSet () const
 returns data set More...
 
VariableInfoAddVariable (const TString &expression, const TString &title="", const TString &unit="", Double_t min=0, Double_t max=0, char varType='F', Bool_t normalized=kTRUE, void *external=0)
 add a variable (can be a complex expression) to the set of variables used in the MV analysis More...
 
VariableInfoAddVariable (const VariableInfo &varInfo)
 add variable with given VariableInfo More...
 
VariableInfoAddTarget (const TString &expression, const TString &title, const TString &unit, Double_t min, Double_t max, Bool_t normalized=kTRUE, void *external=0)
 add a variable (can be a complex expression) to the set of variables used in the MV analysis More...
 
VariableInfoAddTarget (const VariableInfo &varInfo)
 add target with given VariableInfo More...
 
VariableInfoAddSpectator (const TString &expression, const TString &title, const TString &unit, Double_t min, Double_t max, char type= 'F', Bool_t normalized=kTRUE, void *external=0)
 add a spectator (can be a complex expression) to the set of spectator variables used in the MV analysis More...
 
VariableInfoAddSpectator (const VariableInfo &varInfo)
 add spectator with given VariableInfo More...
 
ClassInfoAddClass (const TString &className)
 
std::vector< VariableInfo > & GetVariableInfos ()
 
const std::vector< VariableInfo > & GetVariableInfos () const
 
VariableInfoGetVariableInfo (Int_t i)
 
const VariableInfoGetVariableInfo (Int_t i) const
 
std::vector< VariableInfo > & GetTargetInfos ()
 
const std::vector< VariableInfo > & GetTargetInfos () const
 
VariableInfoGetTargetInfo (Int_t i)
 
const VariableInfoGetTargetInfo (Int_t i) const
 
std::vector< VariableInfo > & GetSpectatorInfos ()
 
const std::vector< VariableInfo > & GetSpectatorInfos () const
 
VariableInfoGetSpectatorInfo (Int_t i)
 
const VariableInfoGetSpectatorInfo (Int_t i) const
 
UInt_t GetNVariables () const
 
UInt_t GetNTargets () const
 
UInt_t GetNSpectators (bool all=kTRUE) const
 
const TStringGetNormalization () const
 
void SetNormalization (const TString &norm)
 
void SetTrainingSumSignalWeights (Double_t trainingSumSignalWeights)
 
void SetTrainingSumBackgrWeights (Double_t trainingSumBackgrWeights)
 
void SetTestingSumSignalWeights (Double_t testingSumSignalWeights)
 
void SetTestingSumBackgrWeights (Double_t testingSumBackgrWeights)
 
Double_t GetTrainingSumSignalWeights ()
 
Double_t GetTrainingSumBackgrWeights ()
 
Double_t GetTestingSumSignalWeights ()
 
Double_t GetTestingSumBackgrWeights ()
 
Int_t GetClassNameMaxLength () const
 
ClassInfoGetClassInfo (Int_t clNum) const
 
ClassInfoGetClassInfo (const TString &name) const
 
void PrintClasses () const
 
UInt_t GetNClasses () const
 
Bool_t IsSignal (const Event *ev) const
 
std::vector< Float_t > * GetTargetsForMulticlass (const Event *ev)
 
UInt_t GetSignalClassIndex ()
 
Int_t FindVarIndex (const TString &) const
 find variable by name More...
 
const TString GetWeightExpression (Int_t i) const
 
void SetWeightExpression (const TString &exp, const TString &className="")
 set the weight expressions for the classes if class name is specified, set only for this class if class name is unknown, register new class with this name More...
 
const TCutGetCut (Int_t i) const
 
const TCutGetCut (const TString &className) const
 
void SetCut (const TCut &cut, const TString &className)
 set the cut for the classes More...
 
void AddCut (const TCut &cut, const TString &className)
 set the cut for the classes More...
 
Bool_t HasCuts () const
 
std::vector< TStringGetListOfVariables () const
 returns list of variables More...
 
const TMatrixDCorrelationMatrix (const TString &className) const
 
void SetCorrelationMatrix (const TString &className, TMatrixD *matrix)
 
void PrintCorrelationMatrix (const TString &className)
 calculates the correlation matrices for signal and background, prints them to standard output, and fills 2D histograms More...
 
TH2CreateCorrelationMatrixHist (const TMatrixD *m, const TString &hName, const TString &hTitle) const
 
void SetSplitOptions (const TString &so)
 
const TStringGetSplitOptions () const
 
void SetRootDir (TDirectory *d)
 
TDirectoryGetRootDir () const
 
void SetMsgType (EMsgType t) const
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsSortable () const
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 

Private Member Functions

void SetDataSetManager (DataSetManager *dsm)
 
 DataSetInfo (const DataSetInfo &)
 
void PrintCorrelationMatrix (TTree *theTree)
 
MsgLoggerLog () const
 message logger More...
 

Private Attributes

TMVA::DataSetManagerfDataSetManager
 
TString fName
 
DataSetfDataSet
 name of the dataset info object More...
 
Bool_t fNeedsRebuilding
 dataset, owned by this datasetinfo object More...
 
std::vector< VariableInfofVariables
 flag if rebuilding of dataset is needed (after change of cuts, vars, etc.) More...
 
std::vector< VariableInfofTargets
 list of variable expressions/internal names More...
 
std::vector< VariableInfofSpectators
 list of targets expressions/internal names More...
 
std::vector< ClassInfo * > fClasses
 list of spectators expressions/internal names More...
 
TString fNormalization
 name and other infos of the classes More...
 
TString fSplitOptions
 
Double_t fTrainingSumSignalWeights
 
Double_t fTrainingSumBackgrWeights
 
Double_t fTestingSumSignalWeights
 
Double_t fTestingSumBackgrWeights
 
TDirectoryfOwnRootDir
 
Bool_t fVerbose
 ROOT output dir. More...
 
UInt_t fSignalClass
 Verbosity. More...
 
std::vector< Float_t > * fTargetsForMulticlass
 index of the class with the name signal More...
 
MsgLoggerfLogger
 all targets 0 except the one with index==classNumber More...
 

Friends

class DataSetManager
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 

#include <TMVA/DataSetInfo.h>

+ Inheritance diagram for TMVA::DataSetInfo:
+ Collaboration diagram for TMVA::DataSetInfo:

Constructor & Destructor Documentation

TMVA::DataSetInfo::DataSetInfo ( const TString name = "Default")

constructor

Definition at line 63 of file DataSetInfo.cxx.

TMVA::DataSetInfo::~DataSetInfo ( )
virtual

destructor

Definition at line 90 of file DataSetInfo.cxx.

TMVA::DataSetInfo::DataSetInfo ( const DataSetInfo )
inlineprivate

Definition at line 197 of file DataSetInfo.h.

Member Function Documentation

TMVA::ClassInfo * TMVA::DataSetInfo::AddClass ( const TString className)
void TMVA::DataSetInfo::AddCut ( const TCut cut,
const TString className 
)

set the cut for the classes

Definition at line 353 of file DataSetInfo.cxx.

Referenced by TMVA::MethodCategory::CreateCategoryDSI().

TMVA::VariableInfo & TMVA::DataSetInfo::AddSpectator ( const TString expression,
const TString title,
const TString unit,
Double_t  min,
Double_t  max,
char  type = 'F',
Bool_t  normalized = kTRUE,
void external = 0 
)

add a spectator (can be a complex expression) to the set of spectator variables used in the MV analysis

Definition at line 266 of file DataSetInfo.cxx.

Referenced by TMVA::MethodCategory::AddMethod(), and TMVA::MethodCategory::CreateCategoryDSI().

TMVA::VariableInfo & TMVA::DataSetInfo::AddSpectator ( const VariableInfo varInfo)

add spectator with given VariableInfo

Definition at line 283 of file DataSetInfo.cxx.

TMVA::VariableInfo & TMVA::DataSetInfo::AddTarget ( const TString expression,
const TString title,
const TString unit,
Double_t  min,
Double_t  max,
Bool_t  normalized = kTRUE,
void external = 0 
)

add a variable (can be a complex expression) to the set of variables used in the MV analysis

Definition at line 236 of file DataSetInfo.cxx.

Referenced by TMVA::MethodCategory::CreateCategoryDSI().

TMVA::VariableInfo & TMVA::DataSetInfo::AddTarget ( const VariableInfo varInfo)

add target with given VariableInfo

Definition at line 256 of file DataSetInfo.cxx.

TMVA::VariableInfo & TMVA::DataSetInfo::AddVariable ( const TString expression,
const TString title = "",
const TString unit = "",
Double_t  min = 0,
Double_t  max = 0,
char  varType = 'F',
Bool_t  normalized = kTRUE,
void external = 0 
)

add a variable (can be a complex expression) to the set of variables used in the MV analysis

Definition at line 207 of file DataSetInfo.cxx.

Referenced by TMVA::MethodCategory::CreateCategoryDSI(), and TMVA::Reader::Reader().

TMVA::VariableInfo & TMVA::DataSetInfo::AddVariable ( const VariableInfo varInfo)

add variable with given VariableInfo

Definition at line 226 of file DataSetInfo.cxx.

void TMVA::DataSetInfo::ClearDataSet ( ) const

Definition at line 105 of file DataSetInfo.cxx.

const TMatrixD * TMVA::DataSetInfo::CorrelationMatrix ( const TString className) const

Definition at line 197 of file DataSetInfo.cxx.

TH2 * TMVA::DataSetInfo::CreateCorrelationMatrixHist ( const TMatrixD m,
const TString hName,
const TString hTitle 
) const

Definition at line 391 of file DataSetInfo.cxx.

Int_t TMVA::DataSetInfo::FindVarIndex ( const TString var) const

find variable by name

Definition at line 292 of file DataSetInfo.cxx.

TMVA::ClassInfo * TMVA::DataSetInfo::GetClassInfo ( Int_t  clNum) const
TMVA::ClassInfo * TMVA::DataSetInfo::GetClassInfo ( const TString name) const

Definition at line 136 of file DataSetInfo.cxx.

Int_t TMVA::DataSetInfo::GetClassNameMaxLength ( ) const
const TCut& TMVA::DataSetInfo::GetCut ( Int_t  i) const
inline

Definition at line 165 of file DataSetInfo.h.

Referenced by TMVA::MethodCategory::CreateCategoryDSI().

const TCut& TMVA::DataSetInfo::GetCut ( const TString className) const
inline

Definition at line 166 of file DataSetInfo.h.

TMVA::DataSet * TMVA::DataSetInfo::GetDataSet ( ) const

returns data set

Definition at line 455 of file DataSetInfo.cxx.

Referenced by TMVA::TransformationHandler::Data(), TMVA::MethodBase::Data(), and TMVA::Results::GetDataSet().

std::vector< TString > TMVA::DataSetInfo::GetListOfVariables ( ) const
virtual const char* TMVA::DataSetInfo::GetName ( ) const
inlinevirtual

Returns name of object.

This default method returns the class name. Classes that give objects a name should override this method.

Reimplemented from TObject.

Definition at line 85 of file DataSetInfo.h.

Referenced by TMVA::DataSetManager::AddDataSetInfo(), and TMVA::DataSetFactory::MixEvents().

UInt_t TMVA::DataSetInfo::GetNClasses ( ) const
inline
const TString& TMVA::DataSetInfo::GetNormalization ( ) const
inline

Definition at line 132 of file DataSetInfo.h.

Referenced by TMVA::MethodCategory::CreateCategoryDSI().

UInt_t TMVA::DataSetInfo::GetNSpectators ( bool  all = kTRUE) const
UInt_t TMVA::DataSetInfo::GetNTargets ( ) const
inline
UInt_t TMVA::DataSetInfo::GetNVariables ( ) const
inline
TDirectory* TMVA::DataSetInfo::GetRootDir ( ) const
inline

Definition at line 187 of file DataSetInfo.h.

Referenced by TMVA::MethodCategory::CreateCategoryDSI().

UInt_t TMVA::DataSetInfo::GetSignalClassIndex ( )
inline

Definition at line 155 of file DataSetInfo.h.

Referenced by TMVA::DataSetFactory::RenormEvents().

VariableInfo& TMVA::DataSetInfo::GetSpectatorInfo ( Int_t  i)
inline
const VariableInfo& TMVA::DataSetInfo::GetSpectatorInfo ( Int_t  i) const
inline

Definition at line 125 of file DataSetInfo.h.

std::vector<VariableInfo>& TMVA::DataSetInfo::GetSpectatorInfos ( )
inline
const std::vector<VariableInfo>& TMVA::DataSetInfo::GetSpectatorInfos ( ) const
inline

Definition at line 123 of file DataSetInfo.h.

const TString& TMVA::DataSetInfo::GetSplitOptions ( ) const
inline
VariableInfo& TMVA::DataSetInfo::GetTargetInfo ( Int_t  i)
inline
const VariableInfo& TMVA::DataSetInfo::GetTargetInfo ( Int_t  i) const
inline

Definition at line 120 of file DataSetInfo.h.

std::vector<VariableInfo>& TMVA::DataSetInfo::GetTargetInfos ( )
inline
const std::vector<VariableInfo>& TMVA::DataSetInfo::GetTargetInfos ( ) const
inline

Definition at line 118 of file DataSetInfo.h.

std::vector< Float_t > * TMVA::DataSetInfo::GetTargetsForMulticlass ( const Event ev)

Definition at line 174 of file DataSetInfo.cxx.

Double_t TMVA::DataSetInfo::GetTestingSumBackgrWeights ( )

Definition at line 507 of file DataSetInfo.cxx.

Double_t TMVA::DataSetInfo::GetTestingSumSignalWeights ( )

Definition at line 503 of file DataSetInfo.cxx.

Double_t TMVA::DataSetInfo::GetTrainingSumBackgrWeights ( )

Definition at line 499 of file DataSetInfo.cxx.

Double_t TMVA::DataSetInfo::GetTrainingSumSignalWeights ( )

Definition at line 495 of file DataSetInfo.cxx.

VariableInfo& TMVA::DataSetInfo::GetVariableInfo ( Int_t  i)
inline
const VariableInfo& TMVA::DataSetInfo::GetVariableInfo ( Int_t  i) const
inline

Definition at line 115 of file DataSetInfo.h.

std::vector<VariableInfo>& TMVA::DataSetInfo::GetVariableInfos ( )
inline
const std::vector<VariableInfo>& TMVA::DataSetInfo::GetVariableInfos ( ) const
inline

Definition at line 113 of file DataSetInfo.h.

const TString TMVA::DataSetInfo::GetWeightExpression ( Int_t  i) const
inline

Definition at line 161 of file DataSetInfo.h.

Referenced by TMVA::MethodCategory::CreateCategoryDSI().

Bool_t TMVA::DataSetInfo::HasCuts ( ) const

Definition at line 186 of file DataSetInfo.cxx.

Referenced by TMVA::DataSetFactory::BuildEventVector().

Bool_t TMVA::DataSetInfo::IsSignal ( const Event ev) const

Definition at line 167 of file DataSetInfo.cxx.

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

message logger

Definition at line 232 of file DataSetInfo.h.

void TMVA::DataSetInfo::PrintClasses ( ) const

Definition at line 158 of file DataSetInfo.cxx.

void TMVA::DataSetInfo::PrintCorrelationMatrix ( const TString className)

calculates the correlation matrices for signal and background, prints them to standard output, and fills 2D histograms

Definition at line 383 of file DataSetInfo.cxx.

Referenced by TMVA::DataSetFactory::CreateDataSet().

void TMVA::DataSetInfo::PrintCorrelationMatrix ( TTree theTree)
private
void TMVA::DataSetInfo::SetCorrelationMatrix ( const TString className,
TMatrixD matrix 
)

Definition at line 329 of file DataSetInfo.cxx.

Referenced by TMVA::DataSetFactory::CreateDataSet().

void TMVA::DataSetInfo::SetCut ( const TCut cut,
const TString className 
)

set the cut for the classes

Definition at line 337 of file DataSetInfo.cxx.

Referenced by TMVA::MethodCategory::CreateCategoryDSI().

void TMVA::DataSetInfo::SetDataSetManager ( DataSetManager dsm)
inlineprivate

Definition at line 194 of file DataSetInfo.h.

Referenced by TMVA::DataSetManager::AddDataSetInfo().

void TMVA::DataSetInfo::SetMsgType ( EMsgType  t) const

Definition at line 111 of file DataSetInfo.cxx.

void TMVA::DataSetInfo::SetNormalization ( const TString norm)
inline
void TMVA::DataSetInfo::SetRootDir ( TDirectory d)
inline

Definition at line 186 of file DataSetInfo.h.

Referenced by TMVA::MethodCategory::CreateCategoryDSI().

void TMVA::DataSetInfo::SetSplitOptions ( const TString so)
inline

Definition at line 182 of file DataSetInfo.h.

Referenced by TMVA::MethodCategory::CreateCategoryDSI().

void TMVA::DataSetInfo::SetTestingSumBackgrWeights ( Double_t  testingSumBackgrWeights)
inline

Definition at line 138 of file DataSetInfo.h.

Referenced by TMVA::DataSetFactory::RenormEvents().

void TMVA::DataSetInfo::SetTestingSumSignalWeights ( Double_t  testingSumSignalWeights)
inline

Definition at line 137 of file DataSetInfo.h.

Referenced by TMVA::DataSetFactory::RenormEvents().

void TMVA::DataSetInfo::SetTrainingSumBackgrWeights ( Double_t  trainingSumBackgrWeights)
inline

Definition at line 136 of file DataSetInfo.h.

Referenced by TMVA::DataSetFactory::RenormEvents().

void TMVA::DataSetInfo::SetTrainingSumSignalWeights ( Double_t  trainingSumSignalWeights)
inline

Definition at line 135 of file DataSetInfo.h.

Referenced by TMVA::DataSetFactory::RenormEvents().

void TMVA::DataSetInfo::SetWeightExpression ( const TString exp,
const TString className = "" 
)

set the weight expressions for the classes if class name is specified, set only for this class if class name is unknown, register new class with this name

Definition at line 310 of file DataSetInfo.cxx.

Referenced by TMVA::MethodCategory::CreateCategoryDSI().

Friends And Related Function Documentation

friend class DataSetManager
friend

Definition at line 195 of file DataSetInfo.h.

Member Data Documentation

std::vector<ClassInfo*> TMVA::DataSetInfo::fClasses
mutableprivate

list of spectators expressions/internal names

Definition at line 212 of file DataSetInfo.h.

Referenced by GetNClasses().

DataSet* TMVA::DataSetInfo::fDataSet
mutableprivate

name of the dataset info object

Definition at line 203 of file DataSetInfo.h.

TMVA::DataSetManager* TMVA::DataSetInfo::fDataSetManager
private

Definition at line 193 of file DataSetInfo.h.

MsgLogger* TMVA::DataSetInfo::fLogger
mutableprivate

all targets 0 except the one with index==classNumber

Definition at line 231 of file DataSetInfo.h.

Referenced by Log().

TString TMVA::DataSetInfo::fName
private

Definition at line 201 of file DataSetInfo.h.

Referenced by GetName().

Bool_t TMVA::DataSetInfo::fNeedsRebuilding
mutableprivate

dataset, owned by this datasetinfo object

Definition at line 204 of file DataSetInfo.h.

Referenced by SetSplitOptions().

TString TMVA::DataSetInfo::fNormalization
private

name and other infos of the classes

Definition at line 214 of file DataSetInfo.h.

Referenced by GetNormalization(), and SetNormalization().

TDirectory* TMVA::DataSetInfo::fOwnRootDir
private

Definition at line 224 of file DataSetInfo.h.

Referenced by GetRootDir(), and SetRootDir().

UInt_t TMVA::DataSetInfo::fSignalClass
private

Verbosity.

Definition at line 227 of file DataSetInfo.h.

Referenced by GetSignalClassIndex().

std::vector<VariableInfo> TMVA::DataSetInfo::fSpectators
private

list of targets expressions/internal names

Definition at line 209 of file DataSetInfo.h.

Referenced by GetSpectatorInfo(), and GetSpectatorInfos().

TString TMVA::DataSetInfo::fSplitOptions
private

Definition at line 215 of file DataSetInfo.h.

Referenced by GetSplitOptions(), and SetSplitOptions().

std::vector<VariableInfo> TMVA::DataSetInfo::fTargets
private

list of variable expressions/internal names

Definition at line 208 of file DataSetInfo.h.

Referenced by GetNTargets(), GetTargetInfo(), and GetTargetInfos().

std::vector<Float_t>* TMVA::DataSetInfo::fTargetsForMulticlass
private

index of the class with the name signal

Definition at line 229 of file DataSetInfo.h.

Double_t TMVA::DataSetInfo::fTestingSumBackgrWeights
private

Definition at line 220 of file DataSetInfo.h.

Referenced by SetTestingSumBackgrWeights().

Double_t TMVA::DataSetInfo::fTestingSumSignalWeights
private

Definition at line 219 of file DataSetInfo.h.

Referenced by SetTestingSumSignalWeights().

Double_t TMVA::DataSetInfo::fTrainingSumBackgrWeights
private

Definition at line 218 of file DataSetInfo.h.

Referenced by SetTrainingSumBackgrWeights().

Double_t TMVA::DataSetInfo::fTrainingSumSignalWeights
private

Definition at line 217 of file DataSetInfo.h.

Referenced by SetTrainingSumSignalWeights().

std::vector<VariableInfo> TMVA::DataSetInfo::fVariables
private

flag if rebuilding of dataset is needed (after change of cuts, vars, etc.)

Definition at line 207 of file DataSetInfo.h.

Referenced by GetNVariables(), GetVariableInfo(), and GetVariableInfos().

Bool_t TMVA::DataSetInfo::fVerbose
private

ROOT output dir.

Definition at line 225 of file DataSetInfo.h.


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