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

Class that contains all the data information.

Definition at line 62 of file DataSetInfo.h.

Public Types

enum  { kIsArrayVariable = BIT(15) }
 
- 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)
}
 

Public Member Functions

 DataSetInfo (const TString &name="Default")
 constructor
 
virtual ~DataSetInfo ()
 destructor
 
ClassInfoAddClass (const TString &className)
 
void AddCut (const TCut &cut, const TString &className)
 set the cut for the classes
 
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
 
VariableInfoAddSpectator (const VariableInfo &varInfo)
 add spectator with given VariableInfo
 
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
 
VariableInfoAddTarget (const VariableInfo &varInfo)
 add target with given VariableInfo
 
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
 
VariableInfoAddVariable (const VariableInfo &varInfo)
 add variable with given VariableInfo
 
void AddVariablesArray (const TString &expression, Int_t size, const TString &title="", const TString &unit="", Double_t min=0, Double_t max=0, char type='F', Bool_t normalized=kTRUE, void *external=0)
 add an array of variables identified by an expression corresponding to an array entry in the tree
 
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
 
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
 
DataSetManagerGetDataSetManager ()
 
std::vector< TStringGetListOfVariables () const
 returns list of variables
 
virtual const char * GetName () const
 Returns name of object.
 
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 ()
 
Int_t GetVarArraySize (const TString &expression) const
 
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
 
Bool_t IsVariableFromArray (Int_t i) 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
 
void SetCorrelationMatrix (const TString &className, TMatrixD *matrix)
 
void SetCut (const TCut &cut, const TString &className)
 set the cut for the classes
 
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
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action.
 
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.
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility.
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method.
 
virtual void Copy (TObject &object) const
 Copy this to obj.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects.
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad).
 
virtual void Dump () const
 Dump contents of object on stdout.
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
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.
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray.
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual const char * GetIconName () const
 Returns mime type name of object.
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object.
 
virtual UInt_t GetUniqueID () const
 Return the unique object id.
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
 
virtual ULong_t Hash () const
 Return hash value for this object.
 
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.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas.
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 IsDestructed.
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
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.
 
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).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification.
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
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.
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
 
virtual void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself.
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename.
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
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.
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
 

Private Member Functions

 DataSetInfo (const DataSetInfo &)=delete
 
MsgLoggerLog () const
 message logger
 
DataSetInfooperator= (const DataSetInfo &)=delete
 
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::map< TString, intfVarArrays
 
std::vector< VariableInfofVariables
 
Bool_t fVerbose
 

Friends

class DataSetManager
 

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
 
static Bool_t GetObjectStat ()
 Get status of object stat flag.
 
static void SetDtorOnly (void *obj)
 Set destructor only flag.
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
 
- Protected Types inherited from TObject
enum  { kOnlyPrepStep = BIT(3) }
 
- 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).
 
void MakeZombie ()
 

#include <TMVA/DataSetInfo.h>

Inheritance diagram for TMVA::DataSetInfo:
[legend]

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kIsArrayVariable 

Definition at line 66 of file DataSetInfo.h.

Constructor & Destructor Documentation

◆ DataSetInfo() [1/2]

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

constructor

Definition at line 56 of file DataSetInfo.cxx.

◆ ~DataSetInfo()

TMVA::DataSetInfo::~DataSetInfo ( )
virtual

destructor

Definition at line 83 of file DataSetInfo.cxx.

◆ DataSetInfo() [2/2]

TMVA::DataSetInfo::DataSetInfo ( const DataSetInfo )
privatedelete

Member Function Documentation

◆ AddClass()

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

Definition at line 113 of file DataSetInfo.cxx.

◆ AddCut()

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

set the cut for the classes

Definition at line 376 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 289 of file DataSetInfo.cxx.

◆ AddSpectator() [2/2]

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

add spectator with given VariableInfo

Definition at line 306 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 259 of file DataSetInfo.cxx.

◆ AddTarget() [2/2]

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

add target with given VariableInfo

Definition at line 279 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 207 of file DataSetInfo.cxx.

◆ AddVariable() [2/2]

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

add variable with given VariableInfo

Definition at line 226 of file DataSetInfo.cxx.

◆ AddVariablesArray()

void TMVA::DataSetInfo::AddVariablesArray ( const TString expression,
Int_t  size,
const TString title = "",
const TString unit = "",
Double_t  min = 0,
Double_t  max = 0,
char  type = 'F',
Bool_t  normalized = kTRUE,
void external = 0 
)

add an array of variables identified by an expression corresponding to an array entry in the tree

Definition at line 235 of file DataSetInfo.cxx.

◆ ClearDataSet()

void TMVA::DataSetInfo::ClearDataSet ( ) const

Definition at line 98 of file DataSetInfo.cxx.

◆ CorrelationMatrix()

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

Definition at line 197 of file DataSetInfo.cxx.

◆ CreateCorrelationMatrixHist()

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

Definition at line 416 of file DataSetInfo.cxx.

◆ FindVarIndex()

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

find variable by name

Definition at line 315 of file DataSetInfo.cxx.

◆ GetClassInfo() [1/2]

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

Definition at line 136 of file DataSetInfo.cxx.

◆ GetClassInfo() [2/2]

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

Definition at line 146 of file DataSetInfo.cxx.

◆ GetClassNameMaxLength()

Int_t TMVA::DataSetInfo::GetClassNameMaxLength ( ) const

Definition at line 511 of file DataSetInfo.cxx.

◆ GetCut() [1/2]

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

Definition at line 169 of file DataSetInfo.h.

◆ GetCut() [2/2]

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

Definition at line 168 of file DataSetInfo.h.

◆ GetDataSet()

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

returns data set

Definition at line 480 of file DataSetInfo.cxx.

◆ GetDataSetManager()

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

Definition at line 194 of file DataSetInfo.h.

◆ GetListOfVariables()

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

returns list of variables

Definition at line 393 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 71 of file DataSetInfo.h.

◆ GetNClasses()

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

Definition at line 155 of file DataSetInfo.h.

◆ GetNormalization()

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

Definition at line 131 of file DataSetInfo.h.

◆ GetNSpectators()

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

Definition at line 498 of file DataSetInfo.cxx.

◆ GetNTargets()

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

Definition at line 128 of file DataSetInfo.h.

◆ GetNVariables()

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

Definition at line 127 of file DataSetInfo.h.

◆ GetRootDir()

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

Definition at line 190 of file DataSetInfo.h.

◆ GetSignalClassIndex()

UInt_t TMVA::DataSetInfo::GetSignalClassIndex ( )
inline

Definition at line 158 of file DataSetInfo.h.

◆ GetSpectatorInfo() [1/2]

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

Definition at line 124 of file DataSetInfo.h.

◆ GetSpectatorInfo() [2/2]

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

Definition at line 125 of file DataSetInfo.h.

◆ GetSpectatorInfos() [1/2]

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

Definition at line 122 of file DataSetInfo.h.

◆ GetSpectatorInfos() [2/2]

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

Definition at line 123 of file DataSetInfo.h.

◆ GetSplitOptions()

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

Definition at line 186 of file DataSetInfo.h.

◆ GetTargetInfo() [1/2]

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

Definition at line 119 of file DataSetInfo.h.

◆ GetTargetInfo() [2/2]

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

Definition at line 120 of file DataSetInfo.h.

◆ GetTargetInfos() [1/2]

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

Definition at line 114 of file DataSetInfo.h.

◆ GetTargetInfos() [2/2]

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

Definition at line 118 of file DataSetInfo.h.

◆ GetTargetNameMaxLength()

Int_t TMVA::DataSetInfo::GetTargetNameMaxLength ( ) const

Definition at line 535 of file DataSetInfo.cxx.

◆ GetTargetsForMulticlass()

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

Definition at line 174 of file DataSetInfo.cxx.

◆ GetTestingSumBackgrWeights()

Double_t TMVA::DataSetInfo::GetTestingSumBackgrWeights ( )

Definition at line 568 of file DataSetInfo.cxx.

◆ GetTestingSumSignalWeights()

Double_t TMVA::DataSetInfo::GetTestingSumSignalWeights ( )

Definition at line 561 of file DataSetInfo.cxx.

◆ GetTrainingSumBackgrWeights()

Double_t TMVA::DataSetInfo::GetTrainingSumBackgrWeights ( )

Definition at line 554 of file DataSetInfo.cxx.

◆ GetTrainingSumSignalWeights()

Double_t TMVA::DataSetInfo::GetTrainingSumSignalWeights ( )

Definition at line 547 of file DataSetInfo.cxx.

◆ GetVarArraySize()

Int_t TMVA::DataSetInfo::GetVarArraySize ( const TString expression) const
inline

Definition at line 108 of file DataSetInfo.h.

◆ GetVariableInfo() [1/2]

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

Definition at line 105 of file DataSetInfo.h.

◆ GetVariableInfo() [2/2]

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

Definition at line 106 of file DataSetInfo.h.

◆ GetVariableInfos() [1/2]

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

Definition at line 103 of file DataSetInfo.h.

◆ GetVariableInfos() [2/2]

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

Definition at line 104 of file DataSetInfo.h.

◆ GetVariableNameMaxLength()

Int_t TMVA::DataSetInfo::GetVariableNameMaxLength ( ) const

Definition at line 523 of file DataSetInfo.cxx.

◆ GetWeightExpression()

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

Definition at line 164 of file DataSetInfo.h.

◆ HasCuts()

Bool_t TMVA::DataSetInfo::HasCuts ( ) const

Definition at line 186 of file DataSetInfo.cxx.

◆ IsSignal()

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

Definition at line 167 of file DataSetInfo.cxx.

◆ IsVariableFromArray()

Bool_t TMVA::DataSetInfo::IsVariableFromArray ( Int_t  i) const
inline

Definition at line 112 of file DataSetInfo.h.

◆ Log()

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

message logger

Definition at line 240 of file DataSetInfo.h.

◆ operator=()

DataSetInfo & TMVA::DataSetInfo::operator= ( const DataSetInfo )
privatedelete

◆ PrintClasses()

void TMVA::DataSetInfo::PrintClasses ( ) const

Definition at line 158 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 406 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 352 of file DataSetInfo.cxx.

◆ SetCut()

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

set the cut for the classes

Definition at line 360 of file DataSetInfo.cxx.

◆ SetDataSetManager()

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

Definition at line 198 of file DataSetInfo.h.

◆ SetMsgType()

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

Definition at line 106 of file DataSetInfo.cxx.

◆ SetNormalization()

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

Definition at line 132 of file DataSetInfo.h.

◆ SetRootDir()

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

Definition at line 189 of file DataSetInfo.h.

◆ SetSplitOptions()

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

Definition at line 185 of file DataSetInfo.h.

◆ SetTestingSumBackgrWeights()

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

Definition at line 139 of file DataSetInfo.h.

◆ SetTestingSumSignalWeights()

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

Definition at line 138 of file DataSetInfo.h.

◆ SetTrainingSumBackgrWeights()

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

Definition at line 137 of file DataSetInfo.h.

◆ SetTrainingSumSignalWeights()

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

Definition at line 134 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 333 of file DataSetInfo.cxx.

Friends And Related Symbol Documentation

◆ DataSetManager

friend class DataSetManager
friend

Definition at line 199 of file DataSetInfo.h.

Member Data Documentation

◆ fClasses

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

Definition at line 220 of file DataSetInfo.h.

◆ fDataSet

DataSet* TMVA::DataSetInfo::fDataSet
mutableprivate

Definition at line 208 of file DataSetInfo.h.

◆ fDataSetManager

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

Definition at line 197 of file DataSetInfo.h.

◆ fLogger

MsgLogger* TMVA::DataSetInfo::fLogger
mutableprivate

Definition at line 239 of file DataSetInfo.h.

◆ fName

TString TMVA::DataSetInfo::fName
private

Definition at line 206 of file DataSetInfo.h.

◆ fNeedsRebuilding

Bool_t TMVA::DataSetInfo::fNeedsRebuilding
mutableprivate

Definition at line 209 of file DataSetInfo.h.

◆ fNormalization

TString TMVA::DataSetInfo::fNormalization
private

Definition at line 222 of file DataSetInfo.h.

◆ fOwnRootDir

TDirectory* TMVA::DataSetInfo::fOwnRootDir
private

Definition at line 232 of file DataSetInfo.h.

◆ fSignalClass

UInt_t TMVA::DataSetInfo::fSignalClass
private

Definition at line 235 of file DataSetInfo.h.

◆ fSpectators

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

Definition at line 214 of file DataSetInfo.h.

◆ fSplitOptions

TString TMVA::DataSetInfo::fSplitOptions
private

Definition at line 223 of file DataSetInfo.h.

◆ fTargets

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

Definition at line 213 of file DataSetInfo.h.

◆ fTargetsForMulticlass

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

Definition at line 237 of file DataSetInfo.h.

◆ fTestingSumBackgrWeights

Double_t TMVA::DataSetInfo::fTestingSumBackgrWeights
private

Definition at line 228 of file DataSetInfo.h.

◆ fTestingSumSignalWeights

Double_t TMVA::DataSetInfo::fTestingSumSignalWeights
private

Definition at line 227 of file DataSetInfo.h.

◆ fTrainingSumBackgrWeights

Double_t TMVA::DataSetInfo::fTrainingSumBackgrWeights
private

Definition at line 226 of file DataSetInfo.h.

◆ fTrainingSumSignalWeights

Double_t TMVA::DataSetInfo::fTrainingSumSignalWeights
private

Definition at line 225 of file DataSetInfo.h.

◆ fVarArrays

std::map<TString, int> TMVA::DataSetInfo::fVarArrays
private

Definition at line 217 of file DataSetInfo.h.

◆ fVariables

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

Definition at line 212 of file DataSetInfo.h.

◆ fVerbose

Bool_t TMVA::DataSetInfo::fVerbose
private

Definition at line 233 of file DataSetInfo.h.

Libraries for TMVA::DataSetInfo:

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