27 #ifndef ROOT_TMVA_DataSetInfo 28 #define ROOT_TMVA_DataSetInfo 56 class VariableTransformBase;
const VariableInfo & GetTargetInfo(Int_t i) const
UInt_t GetNVariables() const
void SetTrainingSumBackgrWeights(Double_t trainingSumBackgrWeights)
VariableInfo & 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 ...
std::vector< VariableInfo > & GetSpectatorInfos()
const std::vector< VariableInfo > & GetVariableInfos() const
void SetCut(const TCut &cut, const TString &className)
set the cut for the classes
std::vector< TString > GetListOfVariables() const
returns list of variables
std::vector< VariableInfo > fTargets
const std::vector< VariableInfo > & GetTargetInfos() const
void SetTrainingSumSignalWeights(Double_t trainingSumSignalWeights)
Int_t GetTargetNameMaxLength() const
std::vector< ClassInfo * > fClasses
void SetTestingSumBackgrWeights(Double_t testingSumBackgrWeights)
void ClearDataSet() const
UInt_t GetNClasses() const
std::vector< VariableInfo > fSpectators
void AddCut(const TCut &cut, const TString &className)
set the cut for the classes
std::vector< VariableInfo > fVariables
void SetDataSetManager(DataSetManager *dsm)
Double_t GetTrainingSumSignalWeights()
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=0)
add a spectator (can be a complex expression) to the set of spectator variables used in the MV analys...
const std::vector< VariableInfo > & GetSpectatorInfos() const
Class that contains all the information of a class.
const TString & GetNormalization() const
const VariableInfo & GetVariableInfo(Int_t i) const
#define ClassDef(name, id)
TH2 * CreateCorrelationMatrixHist(const TMatrixD *m, const TString &hName, const TString &hTitle) const
virtual ~DataSetInfo()
destructor
Double_t fTrainingSumSignalWeights
void SetTestingSumSignalWeights(Double_t testingSumSignalWeights)
MsgLogger & Log() const
message logger
void PrintCorrelationMatrix(const TString &className)
calculates the correlation matrices for signal and background, prints them to standard output...
Class that contains all the data information.
Double_t fTestingSumSignalWeights
DataSetInfo(const DataSetInfo &)
std::vector< VariableInfo > & GetTargetInfos()
TDirectory * GetRootDir() const
DataSetInfo(const TString &name="Default")
constructor
A specialized string object used for TTree selections.
void SetCorrelationMatrix(const TString &className, TMatrixD *matrix)
Class that contains all the data information.
void SetSplitOptions(const TString &so)
Double_t fTrainingSumBackgrWeights
UInt_t GetNTargets() const
Double_t GetTestingSumSignalWeights()
const VariableInfo & GetSpectatorInfo(Int_t i) const
DataSetManager * GetDataSetManager()
Service class for 2-Dim histogram classes.
ClassInfo * GetClassInfo(Int_t clNum) const
const TMatrixD * CorrelationMatrix(const TString &className) const
VariableInfo & GetTargetInfo(Int_t i)
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...
UInt_t GetNSpectators(bool all=kTRUE) const
void SetMsgType(EMsgType t) const
UInt_t GetSignalClassIndex()
void PrintClasses() const
Int_t FindVarIndex(const TString &) const
find variable by name
Int_t GetVariableNameMaxLength() const
Class that contains all the data information.
Describe directory structure in memory.
Double_t GetTrainingSumBackgrWeights()
VariableInfo & GetSpectatorInfo(Int_t i)
VariableInfo & GetVariableInfo(Int_t i)
ClassInfo * AddClass(const TString &className)
Int_t GetClassNameMaxLength() const
virtual const char * GetName() const
Returns name of object.
ostringstream derivative to redirect and format output
Mother of all ROOT objects.
Abstract ClassifierFactory template that handles arbitrary types.
std::vector< Float_t > * fTargetsForMulticlass
const TCut & GetCut() const
TMVA::DataSetManager * fDataSetManager
const TString & GetSplitOptions() const
const TCut & GetCut(Int_t i) 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=0)
add a variable (can be a complex expression) to the set of variables used in the MV analysis ...
Bool_t IsSignal(const Event *ev) const
A TTree object has a header with a name and a title.
const TString & GetWeight() const
Class for type info of MVA input variable.
Double_t fTestingSumBackgrWeights
const TString GetWeightExpression(Int_t i) const
DataSet * GetDataSet() const
returns data set
void SetNormalization(const TString &norm)
void SetRootDir(TDirectory *d)
std::vector< VariableInfo > & GetVariableInfos()
Double_t GetTestingSumBackgrWeights()
const TCut & GetCut(const TString &className) const
std::vector< Float_t > * GetTargetsForMulticlass(const Event *ev)
const char * Data() const