21 cout <<
"--- Open CorrGui for input file: " << fin <<
" and type: " << dirName << endl;
27 extension.ReplaceAll(
"InputVariables",
"" );
30 TControlBar* cbar =
new TControlBar(
"vertical", title, 50, 50 );
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 TString::Format(
"TMVA::correlationscattersMultiClass(\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",%i)",
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
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.:
TDirectory * GetDirectory(const char *apath, Bool_t printError=false, const char *funcname="GetDirectory") override
Find a directory using apath.
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
virtual Bool_t cd()
Change current directory to "this" directory.
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
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)