15 tmp.ReplaceAll(
"InputVariables_",
"");
23 htitle.ReplaceAll(
"variables ",
"variable");
24 htitle.ReplaceAll(
"and target(s)",
"");
25 htitle.ReplaceAll(
"(training sample)",
"");
32 cout <<
"No information about " << title <<
" available in directory " <<
dirName <<
" of file " <<
fin << endl;
114 cout <<
"ERROR!!! couldn't find " << *
variter <<
" histogram for class " << *
classiter << endl;
131 for(
Int_t i=0; i<
hists.GetEntriesFast(); ++i){
143 cPad->SetLeftMargin( 0.17 );
144 ((
TH1*)
hists.First())->GetYaxis()->SetTitleOffset( 1.70 );
146 for(
Int_t i=1; i<
hists.GetEntriesFast(); ++i){
157 1-
cPad->GetTopMargin()-.15,
158 cPad->GetLeftMargin()+.4,
159 1-
cPad->GetTopMargin() );
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
const_iterator begin() const
const_iterator end() const
virtual void SetTextAngle(Float_t tangle=0)
Set the text angle.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
TDirectory * GetDirectory(const char *apath, Bool_t printError=false, const char *funcname="GetDirectory") override
Find a directory named "apath".
Describe directory structure in memory.
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
virtual Bool_t cd()
Change current directory to "this" directory.
virtual TList * GetListOfKeys() const
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
TH1 is the base class of all histogram classes in ROOT.
This class displays a legend box (TPaveText) containing several legend entries.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
The most important graphics class in the ROOT system.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Base class for several text objects.
virtual void SetNDC(Bool_t isNDC=kTRUE)
Set NDC mode on if isNDC = kTRUE, off otherwise.
void Initialize(Bool_t useTMVAStyle=kTRUE)
Int_t GetNumberOfInputVariables(TDirectory *dir)
void plot_logo(Float_t v_scale=1.0, Float_t skew=1.0)
TFile * OpenFile(const TString &fin)
void SetFrameStyle(TH1 *frame, Float_t scale=1.0)
std::vector< TString > GetInputVariableNames(TDirectory *dir)
void SetMultiClassStyle(TObjArray *hists)
void NormalizeHist(TH1 *h)
std::vector< TString > GetClassNames(TDirectory *dir)
void imgconv(TCanvas *c, const TString &fname)
void variablesMultiClass(TString dataset, TString fin="TMVA.root", TString dirName="InputVariables_Id", TString title="TMVA Input Variables", Bool_t isRegression=kFALSE, Bool_t useTMVAStyle=kTRUE)