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)
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
Bool_t fVerbose
ROOT output dir.
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
list of variable expressions/internal names
UInt_t GetNTargets() const
void SetTrainingSumSignalWeights(Double_t trainingSumSignalWeights)
std::vector< ClassInfo * > fClasses
list of spectators expressions/internal names
void SetTestingSumBackgrWeights(Double_t testingSumBackgrWeights)
const TString & GetWeight() const
std::vector< VariableInfo > fSpectators
list of targets expressions/internal names
void AddCut(const TCut &cut, const TString &className)
set the cut for the classes
std::vector< VariableInfo > fVariables
flag if rebuilding of dataset is needed (after change of cuts, vars, etc.)
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
DataSet * fDataSet
name of the dataset info object
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 &)
TString fNormalization
name and other infos of the classes
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)
MsgLogger * fLogger
all targets 0 except the one with index==classNumber
Double_t fTrainingSumBackgrWeights
Double_t GetTestingSumSignalWeights()
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
MsgLogger & Log() const
message logger
Describe directory structure in memory.
Double_t GetTrainingSumBackgrWeights()
VariableInfo & GetSpectatorInfo(Int_t i)
VariableInfo & GetVariableInfo(Int_t i)
UInt_t fSignalClass
Verbosity.
void ClearDataSet() const
ClassInfo * AddClass(const TString &className)
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
Mother of all ROOT objects.
Abstract ClassifierFactory template that handles arbitrary types.
std::vector< Float_t > * fTargetsForMulticlass
index of the class with the name signal
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
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.
Bool_t fNeedsRebuilding
dataset, owned by this datasetinfo object
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)