27#ifndef ROOT_TMVA_DataSetInfo 
   28#define ROOT_TMVA_DataSetInfo 
   58   class VariableTransformBase;
 
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
 
#define ClassDef(name, id)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
 
A specialized string object used for TTree selections.
 
Describe directory structure in memory.
 
Service class for 2-D histogram classes.
 
Class that contains all the information of a class.
 
const TCut & GetCut() const
 
const TString & GetWeight() const
 
Class that contains all the data information.
 
const TString GetWeightExpression(Int_t i) const
 
std::vector< VariableInfo > & GetVariableInfos()
 
const std::vector< VariableInfo > & GetSpectatorInfos() const
 
UInt_t GetNVariables() const
 
const std::vector< VariableInfo > & GetVariableInfos() const
 
UInt_t GetNSpectators(bool all=kTRUE) const
 
const VariableInfo & GetVariableInfo(Int_t i) const
 
Int_t GetVarArraySize(const TString &expression) const
 
VariableInfo & 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=nullptr)
add a variable (can be a complex expression) to the set of variables used in the MV analysis
 
void SetSplitOptions(const TString &so)
 
DataSetInfo & operator=(const DataSetInfo &)=delete
 
TDirectory * fOwnRootDir
ROOT output dir.
 
std::map< TString, int > fVarArrays
 
ClassInfo * AddClass(const TString &className)
 
virtual const char * GetName() const
Returns name of object.
 
const TString & GetNormalization() const
 
const TMatrixD * CorrelationMatrix(const TString &className) const
 
Bool_t IsVariableFromArray(Int_t i) const
 
std::vector< VariableInfo > & GetSpectatorInfos()
 
const VariableInfo & GetTargetInfo(Int_t i) const
 
TDirectory * GetRootDir() const
 
std::vector< ClassInfo * > fClasses
name and other infos of the classes
 
Double_t fTrainingSumBackgrWeights
 
void SetNormalization(const TString &norm)
 
Int_t GetTargetNameMaxLength() const
 
virtual ~DataSetInfo()
destructor
 
Double_t fTestingSumSignalWeights
 
Double_t GetTestingSumBackgrWeights()
 
void SetMsgType(EMsgType t) const
 
UInt_t GetNClasses() const
 
const TString & GetSplitOptions() const
 
UInt_t GetNTargets() const
 
Bool_t fNeedsRebuilding
flag if rebuilding of dataset is needed (after change of cuts, vars, etc.)
 
const TCut & GetCut(const TString &className) const
 
void SetTestingSumSignalWeights(Double_t testingSumSignalWeights)
 
std::vector< VariableInfo > fSpectators
list of spectators expressions/internal names
 
void PrintCorrelationMatrix(TTree *theTree)
 
Bool_t fVerbose
Verbosity.
 
DataSet * GetDataSet() const
returns data set
 
DataSetInfo(const TString &name="Default")
constructor
 
MsgLogger * fLogger
! message logger
 
TH2 * CreateCorrelationMatrixHist(const TMatrixD *m, const TString &hName, const TString &hTitle) const
 
UInt_t GetSignalClassIndex()
 
const std::vector< VariableInfo > & GetTargetInfos() const
 
void SetTrainingSumSignalWeights(Double_t trainingSumSignalWeights)
 
std::vector< TString > GetListOfVariables() const
returns list of variables
 
DataSet * fDataSet
dataset, owned by this datasetinfo object
 
ClassInfo * GetClassInfo(Int_t clNum) const
 
void SetTestingSumBackgrWeights(Double_t testingSumBackgrWeights)
 
void SetDataSetManager(DataSetManager *dsm)
 
Double_t GetTrainingSumSignalWeights()
 
Double_t fTrainingSumSignalWeights
 
void PrintClasses() const
 
Int_t GetClassNameMaxLength() const
 
Double_t GetTrainingSumBackgrWeights()
 
VariableInfo & AddTarget(const TString &expression, const TString &title, const TString &unit, Double_t min, Double_t max, Bool_t normalized=kTRUE, void *external=nullptr)
add a variable (can be a complex expression) to the set of variables used in the MV analysis
 
void PrintCorrelationMatrix(const TString &className)
calculates the correlation matrices for signal and background, prints them to standard output,...
 
std::vector< VariableInfo > fTargets
list of targets expressions/internal names
 
const TCut & GetCut(Int_t i) const
 
const VariableInfo & GetSpectatorInfo(Int_t i) const
 
std::vector< Float_t > * fTargetsForMulticlass
-> all targets 0 except the one with index==classNumber
 
UInt_t fSignalClass
index of the class with the name signal
 
void SetCut(const TCut &cut, const TString &className)
set the cut for the classes
 
Double_t GetTestingSumSignalWeights()
 
Int_t FindVarIndex(const TString &) const
find variable by name
 
VariableInfo & GetVariableInfo(Int_t i)
 
std::vector< VariableInfo > & GetTargetInfos()
 
void SetTrainingSumBackgrWeights(Double_t trainingSumBackgrWeights)
 
std::vector< VariableInfo > fVariables
list of variable expressions/internal names
 
void SetRootDir(TDirectory *d)
 
Int_t GetVariableNameMaxLength() const
 
Double_t fTestingSumBackgrWeights
 
Bool_t IsSignal(const Event *ev) const
 
VariableInfo & 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=nullptr)
add a spectator (can be a complex expression) to the set of spectator variables used in the MV analys...
 
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 cla...
 
DataSetManager * GetDataSetManager()
 
VariableInfo & GetTargetInfo(Int_t i)
 
DataSetInfo(const DataSetInfo &)=delete
 
TMVA::DataSetManager * fDataSetManager
 
VariableInfo & GetSpectatorInfo(Int_t i)
 
void AddCut(const TCut &cut, const TString &className)
set the cut for the classes
 
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=nullptr)
add an array of variables identified by an expression corresponding to an array entry in the tree
 
std::vector< Float_t > * GetTargetsForMulticlass(const Event *ev)
 
TString fName
name of the dataset info object
 
void SetCorrelationMatrix(const TString &className, TMatrixD *matrix)
 
void ClearDataSet() const
 
Class that contains all the data information.
 
Class that contains all the data information.
 
ostringstream derivative to redirect and format output
 
Class for type info of MVA input variable.
 
Mother of all ROOT objects.
 
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
 
const char * Data() const
 
A TTree represents a columnar dataset.
 
create variable transformations