21 cout <<
"--- Open CorrGui for input file: " << fin <<
" and type: " << dirName << endl;
27 extension.ReplaceAll(
"InputVariables",
"" );
33 const char* buttonType =
"button";
41 cout <<
"Could not locate directory '" << dirName <<
"' in file: " << fin << endl;
48 cout <<
"found number of variables='" << names.end() - names.begin() << endl;
50 std::vector<TString>::const_iterator iter = names.begin();
51 for (; iter != names.end(); ++iter) {
53 Form(
"TMVA::correlationscattersMultiClass(\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",%i)",
59#if ROOT_VERSION_CODE < ROOT_VERSION(5,19,0)
60 cbar->
AddButton(
"Close",
"CorrGui_DeleteTBar()",
"Close this control bar",
"button" );
char * Form(const char *fmt,...)
A Control Bar is a fully user configurable tool which provides fast access to frequently used operati...
void Show()
Show control bar.
void AddButton(TControlBarButton *button)
Add button.
void SetTextColor(const char *colorName)
Sets text color for control bar buttons, e.g.
Describe directory structure in memory.
virtual Bool_t cd(const char *path=0)
Change current directory to "this" directory.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
const char * Data() const
TFile * OpenFile(const TString &fin)
std::vector< TString > GetInputVariableNames(TDirectory *dir)
void CorrGuiMultiClass_DeleteTBar()
void CorrGuiMultiClass(TString dataset, TString fin="TMVA.root", TString dirName="InputVariables_Id", TString title="TMVA Input Variable", Bool_t isRegression=kFALSE)