21 cout <<
"--- Open CorrGui for input file: " << fin <<
" and type: " << dirName << endl;
33 const char* buttonType =
"button";
42 cout <<
"Could not locate directory '" << dirName <<
"' in file: " << fin << endl;
49 cout <<
"found number of variables='" << names.end() - names.begin() << endl;
51 std::vector<TString>::const_iterator
iter = names.begin();
52 for (; iter != names.end(); ++
iter) {
54 Form(
"TMVA::correlationscattersMultiClass(\"%s\",\"%s\",\"%s\",\"%s\",%i)",
60 #if ROOT_VERSION_CODE < ROOT_VERSION(5,19,0)
61 cbar->
AddButton(
"Close",
"CorrGui_DeleteTBar()",
"Close this control bar",
"button" );
void Show()
Show control bar.
void AddButton(TControlBarButton *button)
Add button.
A Control Bar is a fully user configurable tool which provides fast access to frequently used operati...
void SetTextColor(const char *colorName)
Sets text color for control bar buttons, e.g.
std::vector< TString > GetInputVariableNames(TDirectory *dir)
TString & ReplaceAll(const TString &s1, const TString &s2)
TFile * OpenFile(const TString &fin)
const char * Data() const
std::map< std::string, std::string >::const_iterator iter
void CorrGuiMultiClass(TString fin="TMVA.root", TString dirName="InputVariables_Id", TString title="TMVA Input Variable", Bool_t isRegression=kFALSE)
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
char * Form(const char *fmt,...)
void CorrGuiMultiClass_DeleteTBar()
Describe directory structure in memory.
virtual Bool_t cd(const char *path=0)
Change current directory to "this" directory.