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