Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
TMVA::DataSetInfo Class Reference

Class that contains all the data information.

Definition at line 60 of file DataSetInfo.h.

Public Member Functions

 DataSetInfo (const TString &name="Default")
 constructor More...
 
virtual ~DataSetInfo ()
 destructor More...
 
ClassInfoAddClass (const TString &className)
 
void AddCut (const TCut &cut, const TString &className)
 set the cut for the classes 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...
 
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...
 
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...
 
void ClearDataSet () const
 
const TMatrixDCorrelationMatrix (const TString &className) const
 
TH2CreateCorrelationMatrixHist (const TMatrixD *m, const TString &hName, const TString &hTitle) const
 
Int_t FindVarIndex (const TString &) const
 find variable by name More...
 
ClassInfoGetClassInfo (const TString &name) const
 
ClassInfoGetClassInfo (Int_t clNum) const
 
Int_t GetClassNameMaxLength () const
 
const TCutGetCut (const TString &className) const
 
const TCutGetCut (Int_t i) const
 
DataSetGetDataSet () const
 returns data set More...
 
DataSetManagerGetDataSetManager ()
 
std::vector< TStringGetListOfVariables () const
 returns list of variables More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
UInt_t GetNClasses () const
 
const TStringGetNormalization () const
 
UInt_t GetNSpectators (bool all=kTRUE) const
 
UInt_t GetNTargets () const
 
UInt_t GetNVariables () const
 
TDirectoryGetRootDir () const
 
UInt_t GetSignalClassIndex ()
 
VariableInfoGetSpectatorInfo (Int_t i)
 
const VariableInfoGetSpectatorInfo (Int_t i) const
 
std::vector< VariableInfo > & GetSpectatorInfos ()
 
const std::vector< VariableInfo > & GetSpectatorInfos () const
 
const TStringGetSplitOptions () const
 
VariableInfoGetTargetInfo (Int_t i)
 
const VariableInfoGetTargetInfo (Int_t i) const
 
std::vector< VariableInfo > & GetTargetInfos ()
 
const std::vector< VariableInfo > & GetTargetInfos () const
 
Int_t GetTargetNameMaxLength () const
 
std::vector< Float_t > * GetTargetsForMulticlass (const Event *ev)
 
Double_t GetTestingSumBackgrWeights ()
 
Double_t GetTestingSumSignalWeights ()
 
Double_t GetTrainingSumBackgrWeights ()
 
Double_t GetTrainingSumSignalWeights ()
 
VariableInfoGetVariableInfo (Int_t i)
 
const VariableInfoGetVariableInfo (Int_t i) const
 
std::vector< VariableInfo > & GetVariableInfos ()
 
const std::vector< VariableInfo > & GetVariableInfos () const
 
Int_t GetVariableNameMaxLength () const
 
const TString GetWeightExpression (Int_t i) const
 
Bool_t HasCuts () const
 
Bool_t IsSignal (const Event *ev) const
 
void PrintClasses () const
 
void PrintCorrelationMatrix (const TString &className)
 calculates the correlation matrices for signal and background, prints them to standard output, and fills 2D histograms More...
 
void SetCorrelationMatrix (const TString &className, TMatrixD *matrix)
 
void SetCut (const TCut &cut, const TString &className)
 set the cut for the classes More...
 
void SetMsgType (EMsgType t) const
 
void SetNormalization (const TString &norm)
 
void SetRootDir (TDirectory *d)
 
void SetSplitOptions (const TString &so)
 
void SetTestingSumBackgrWeights (Double_t testingSumBackgrWeights)
 
void SetTestingSumSignalWeights (Double_t testingSumSignalWeights)
 
void SetTrainingSumBackgrWeights (Double_t trainingSumBackgrWeights)
 
void SetTrainingSumSignalWeights (Double_t trainingSumSignalWeights)
 
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...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. 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...
 
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...
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. 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 selected pad for instance with: gROOT->SetSelectedPad(gPad). More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. 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 void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. 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 const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. 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...
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. 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...
 
void InvertBit (UInt_t f)
 
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 IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. 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...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. 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...
 
void ResetBit (UInt_t f)
 
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...
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. 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 SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
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 void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. 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...
 

Private Member Functions

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

Private Attributes

std::vector< ClassInfo * > fClasses
 
DataSetfDataSet
 
TMVA::DataSetManagerfDataSetManager
 
MsgLoggerfLogger
 
TString fName
 
Bool_t fNeedsRebuilding
 
TString fNormalization
 
TDirectoryfOwnRootDir
 
UInt_t fSignalClass
 
std::vector< VariableInfofSpectators
 
TString fSplitOptions
 
std::vector< VariableInfofTargets
 
std::vector< Float_t > * fTargetsForMulticlass
 
Double_t fTestingSumBackgrWeights
 
Double_t fTestingSumSignalWeights
 
Double_t fTrainingSumBackgrWeights
 
Double_t fTrainingSumSignalWeights
 
std::vector< VariableInfofVariables
 
Bool_t fVerbose
 

Friends

class DataSetManager
 

Additional Inherited Members

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

#include <TMVA/DataSetInfo.h>

Inheritance diagram for TMVA::DataSetInfo:
[legend]

Constructor & Destructor Documentation

◆ DataSetInfo() [1/2]

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

constructor

Definition at line 61 of file DataSetInfo.cxx.

◆ ~DataSetInfo()

TMVA::DataSetInfo::~DataSetInfo ( )
virtual

destructor

Definition at line 88 of file DataSetInfo.cxx.

◆ DataSetInfo() [2/2]

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

Definition at line 182 of file DataSetInfo.h.

Member Function Documentation

◆ AddClass()

TMVA::ClassInfo * TMVA::DataSetInfo::AddClass ( const TString className)

Definition at line 118 of file DataSetInfo.cxx.

◆ AddCut()

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

set the cut for the classes

Definition at line 358 of file DataSetInfo.cxx.

◆ AddSpectator() [1/2]

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 271 of file DataSetInfo.cxx.

◆ AddSpectator() [2/2]

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

add spectator with given VariableInfo

Definition at line 288 of file DataSetInfo.cxx.

◆ AddTarget() [1/2]

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 241 of file DataSetInfo.cxx.

◆ AddTarget() [2/2]

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

add target with given VariableInfo

Definition at line 261 of file DataSetInfo.cxx.

◆ AddVariable() [1/2]

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 212 of file DataSetInfo.cxx.

◆ AddVariable() [2/2]

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

add variable with given VariableInfo

Definition at line 231 of file DataSetInfo.cxx.

◆ ClearDataSet()

void TMVA::DataSetInfo::ClearDataSet ( ) const

Definition at line 103 of file DataSetInfo.cxx.

◆ CorrelationMatrix()

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

Definition at line 202 of file DataSetInfo.cxx.

◆ CreateCorrelationMatrixHist()

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

Definition at line 398 of file DataSetInfo.cxx.

◆ FindVarIndex()

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

find variable by name

Definition at line 297 of file DataSetInfo.cxx.

◆ GetClassInfo() [1/2]

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

Definition at line 141 of file DataSetInfo.cxx.

◆ GetClassInfo() [2/2]

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

Definition at line 151 of file DataSetInfo.cxx.

◆ GetClassNameMaxLength()

Int_t TMVA::DataSetInfo::GetClassNameMaxLength ( ) const

Definition at line 491 of file DataSetInfo.cxx.

◆ GetCut() [1/2]

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

Definition at line 150 of file DataSetInfo.h.

◆ GetCut() [2/2]

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

Definition at line 149 of file DataSetInfo.h.

◆ GetDataSet()

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

returns data set

Definition at line 462 of file DataSetInfo.cxx.

◆ GetDataSetManager()

DataSetManager * TMVA::DataSetInfo::GetDataSetManager ( )
inline

Definition at line 175 of file DataSetInfo.h.

◆ GetListOfVariables()

std::vector< TString > TMVA::DataSetInfo::GetListOfVariables ( ) const

returns list of variables

Definition at line 375 of file DataSetInfo.cxx.

◆ GetName()

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 67 of file DataSetInfo.h.

◆ GetNClasses()

UInt_t TMVA::DataSetInfo::GetNClasses ( ) const
inline

Definition at line 136 of file DataSetInfo.h.

◆ GetNormalization()

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

Definition at line 114 of file DataSetInfo.h.

◆ GetNSpectators()

UInt_t TMVA::DataSetInfo::GetNSpectators ( bool  all = kTRUE) const

Definition at line 478 of file DataSetInfo.cxx.

◆ GetNTargets()

UInt_t TMVA::DataSetInfo::GetNTargets ( ) const
inline

Definition at line 111 of file DataSetInfo.h.

◆ GetNVariables()

UInt_t TMVA::DataSetInfo::GetNVariables ( ) const
inline

Definition at line 110 of file DataSetInfo.h.

◆ GetRootDir()

TDirectory * TMVA::DataSetInfo::GetRootDir ( ) const
inline

Definition at line 171 of file DataSetInfo.h.

◆ GetSignalClassIndex()

UInt_t TMVA::DataSetInfo::GetSignalClassIndex ( )
inline

Definition at line 139 of file DataSetInfo.h.

◆ GetSpectatorInfo() [1/2]

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

Definition at line 106 of file DataSetInfo.h.

◆ GetSpectatorInfo() [2/2]

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

Definition at line 107 of file DataSetInfo.h.

◆ GetSpectatorInfos() [1/2]

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

Definition at line 104 of file DataSetInfo.h.

◆ GetSpectatorInfos() [2/2]

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

Definition at line 105 of file DataSetInfo.h.

◆ GetSplitOptions()

const TString & TMVA::DataSetInfo::GetSplitOptions ( ) const
inline

Definition at line 167 of file DataSetInfo.h.

◆ GetTargetInfo() [1/2]

VariableInfo & TMVA::DataSetInfo::GetTargetInfo ( Int_t  i)
inline

Definition at line 101 of file DataSetInfo.h.

◆ GetTargetInfo() [2/2]

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

Definition at line 102 of file DataSetInfo.h.

◆ GetTargetInfos() [1/2]

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

Definition at line 99 of file DataSetInfo.h.

◆ GetTargetInfos() [2/2]

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

Definition at line 100 of file DataSetInfo.h.

◆ GetTargetNameMaxLength()

Int_t TMVA::DataSetInfo::GetTargetNameMaxLength ( ) const

Definition at line 515 of file DataSetInfo.cxx.

◆ GetTargetsForMulticlass()

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

Definition at line 179 of file DataSetInfo.cxx.

◆ GetTestingSumBackgrWeights()

Double_t TMVA::DataSetInfo::GetTestingSumBackgrWeights ( )

Definition at line 548 of file DataSetInfo.cxx.

◆ GetTestingSumSignalWeights()

Double_t TMVA::DataSetInfo::GetTestingSumSignalWeights ( )

Definition at line 541 of file DataSetInfo.cxx.

◆ GetTrainingSumBackgrWeights()

Double_t TMVA::DataSetInfo::GetTrainingSumBackgrWeights ( )

Definition at line 534 of file DataSetInfo.cxx.

◆ GetTrainingSumSignalWeights()

Double_t TMVA::DataSetInfo::GetTrainingSumSignalWeights ( )

Definition at line 527 of file DataSetInfo.cxx.

◆ GetVariableInfo() [1/2]

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

Definition at line 96 of file DataSetInfo.h.

◆ GetVariableInfo() [2/2]

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

Definition at line 97 of file DataSetInfo.h.

◆ GetVariableInfos() [1/2]

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

Definition at line 94 of file DataSetInfo.h.

◆ GetVariableInfos() [2/2]

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

Definition at line 95 of file DataSetInfo.h.

◆ GetVariableNameMaxLength()

Int_t TMVA::DataSetInfo::GetVariableNameMaxLength ( ) const

Definition at line 503 of file DataSetInfo.cxx.

◆ GetWeightExpression()

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

Definition at line 145 of file DataSetInfo.h.

◆ HasCuts()

Bool_t TMVA::DataSetInfo::HasCuts ( ) const

Definition at line 191 of file DataSetInfo.cxx.

◆ IsSignal()

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

Definition at line 172 of file DataSetInfo.cxx.

◆ Log()

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

message logger

Definition at line 217 of file DataSetInfo.h.

◆ PrintClasses()

void TMVA::DataSetInfo::PrintClasses ( ) const

Definition at line 163 of file DataSetInfo.cxx.

◆ PrintCorrelationMatrix() [1/2]

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 388 of file DataSetInfo.cxx.

◆ PrintCorrelationMatrix() [2/2]

void TMVA::DataSetInfo::PrintCorrelationMatrix ( TTree theTree)
private

◆ SetCorrelationMatrix()

void TMVA::DataSetInfo::SetCorrelationMatrix ( const TString className,
TMatrixD matrix 
)

Definition at line 334 of file DataSetInfo.cxx.

◆ SetCut()

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

set the cut for the classes

Definition at line 342 of file DataSetInfo.cxx.

◆ SetDataSetManager()

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

Definition at line 179 of file DataSetInfo.h.

◆ SetMsgType()

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

Definition at line 111 of file DataSetInfo.cxx.

◆ SetNormalization()

void TMVA::DataSetInfo::SetNormalization ( const TString norm)
inline

Definition at line 115 of file DataSetInfo.h.

◆ SetRootDir()

void TMVA::DataSetInfo::SetRootDir ( TDirectory d)
inline

Definition at line 170 of file DataSetInfo.h.

◆ SetSplitOptions()

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

Definition at line 166 of file DataSetInfo.h.

◆ SetTestingSumBackgrWeights()

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

Definition at line 120 of file DataSetInfo.h.

◆ SetTestingSumSignalWeights()

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

Definition at line 119 of file DataSetInfo.h.

◆ SetTrainingSumBackgrWeights()

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

Definition at line 118 of file DataSetInfo.h.

◆ SetTrainingSumSignalWeights()

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

Definition at line 117 of file DataSetInfo.h.

◆ SetWeightExpression()

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 315 of file DataSetInfo.cxx.

Friends And Related Function Documentation

◆ DataSetManager

friend class DataSetManager
friend

Definition at line 180 of file DataSetInfo.h.

Member Data Documentation

◆ fClasses

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

Definition at line 197 of file DataSetInfo.h.

◆ fDataSet

DataSet* TMVA::DataSetInfo::fDataSet
mutableprivate

Definition at line 188 of file DataSetInfo.h.

◆ fDataSetManager

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

Definition at line 178 of file DataSetInfo.h.

◆ fLogger

MsgLogger* TMVA::DataSetInfo::fLogger
mutableprivate

Definition at line 216 of file DataSetInfo.h.

◆ fName

TString TMVA::DataSetInfo::fName
private

Definition at line 186 of file DataSetInfo.h.

◆ fNeedsRebuilding

Bool_t TMVA::DataSetInfo::fNeedsRebuilding
mutableprivate

Definition at line 189 of file DataSetInfo.h.

◆ fNormalization

TString TMVA::DataSetInfo::fNormalization
private

Definition at line 199 of file DataSetInfo.h.

◆ fOwnRootDir

TDirectory* TMVA::DataSetInfo::fOwnRootDir
private

Definition at line 209 of file DataSetInfo.h.

◆ fSignalClass

UInt_t TMVA::DataSetInfo::fSignalClass
private

Definition at line 212 of file DataSetInfo.h.

◆ fSpectators

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

Definition at line 194 of file DataSetInfo.h.

◆ fSplitOptions

TString TMVA::DataSetInfo::fSplitOptions
private

Definition at line 200 of file DataSetInfo.h.

◆ fTargets

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

Definition at line 193 of file DataSetInfo.h.

◆ fTargetsForMulticlass

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

Definition at line 214 of file DataSetInfo.h.

◆ fTestingSumBackgrWeights

Double_t TMVA::DataSetInfo::fTestingSumBackgrWeights
private

Definition at line 205 of file DataSetInfo.h.

◆ fTestingSumSignalWeights

Double_t TMVA::DataSetInfo::fTestingSumSignalWeights
private

Definition at line 204 of file DataSetInfo.h.

◆ fTrainingSumBackgrWeights

Double_t TMVA::DataSetInfo::fTrainingSumBackgrWeights
private

Definition at line 203 of file DataSetInfo.h.

◆ fTrainingSumSignalWeights

Double_t TMVA::DataSetInfo::fTrainingSumSignalWeights
private

Definition at line 202 of file DataSetInfo.h.

◆ fVariables

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

Definition at line 192 of file DataSetInfo.h.

◆ fVerbose

Bool_t TMVA::DataSetInfo::fVerbose
private

Definition at line 210 of file DataSetInfo.h.

Libraries for TMVA::DataSetInfo:
[legend]

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