33   legend->SetHeader( 
"MVA Method:" );
 
   47      cout << 
"ups .. no methods found in to plot training history for ... give up"  << endl;
 
   57      if (
ninst==0) cout << 
"hmm... sorry, but this printout was supposed to be only to keep the compiler quite.. never supposed to happen :(" << endl;
 
   72               if (
h->GetMaximum() > 
y2) 
y2 = 
h->GetMaximum()*1.1;
 
   73               if (
h->GetMinimum() < 
y1) 
y1 = 
h->GetMinimum();
 
   74               if (
h->GetBinLowEdge(0) < 
x1 ) 
x1 = 
h->GetBinLowEdge(0);
 
   75               if (
h->GetBinLowEdge(
h->GetNbinsX()+1 ) > 
x2 ) 
x2 = 
h->GetBinLowEdge(
h->GetNbinsX()+1 );
 
   84   if(
gROOT->FindObject(
"frame")!=0) 
gROOT->FindObject(
"frame")->Delete();
 
  100      cout << 
"ups .. no methods found in to plot ROC curve for ... give up"  << endl;
 
  107   while ((key = (
TKey*)next())) {
 
  111      if (
ninst==0) cout << 
"hmm...  sorry, but this printout was supposed to be only to keep the compiler quite.. never supposed to happen :(" << endl;
 
  126               h->SetLineColor(color);
 
  127               color++; 
if (color == 5 || color == 10 || color == 11) color++;
 
  136   while (
hists.GetSize()) {
 
  141      while ((hist = (
TH1*)
hIt())!=0) {
 
  142         Double_t integral = hist->Integral(1,hist->FindBin(0.9999));
 
  149         cout << 
"ERROR - unknown hist \"histWithLargestInt\" --> serious problem in ROOT file" << endl;
 
  153      histLabel.ReplaceAll(
"TrainingHistory_", 
"");
 
  164   frame->
Draw(
"sameaxis");
 
  178      fprepend.ReplaceAll(
"multicutMVA_",
"");
 
bool Bool_t
Boolean (0=false, 1=true) (bool)
 
int Int_t
Signed integer 4 bytes (int)
 
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int)
 
float Float_t
Float 4 bytes (float)
 
double Double_t
Double 8 bytes.
 
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 x2
 
Option_t Option_t TPoint TPoint const char x1
 
Option_t Option_t TPoint TPoint const char y2
 
Option_t Option_t TPoint TPoint const char y1
 
TDirectory * GetDirectory(const char *apath, Bool_t printError=false, const char *funcname="GetDirectory") override
Find a directory named "apath".
 
Describe directory structure in memory.
 
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
 
TH1 is the base class of all histogram classes in ROOT.
 
void Draw(Option_t *option="") override
Draw this histogram with options.
 
2-D histogram with a float per channel (see TH1 documentation)
 
Book space in a file, create I/O buffers, to fill them, (un)compress them.
 
virtual TObject * ReadObj()
To read a TObject* from the file.
 
This class displays a legend box (TPaveText) containing several legend entries.
 
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
 
TString & ReplaceAll(const TString &s1, const TString &s2)
 
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
 
UInt_t GetListOfTitles(TDirectory *rfdir, TList &titles)
 
void Initialize(Bool_t useTMVAStyle=kTRUE)
 
TKey * NextKey(TIter &keyIter, TString className)
 
void GetMethodTitle(TString &name, TKey *ikey)
 
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)
 
UInt_t GetListOfMethods(TList &methods, TDirectory *dir=nullptr)
 
void imgconv(TCanvas *c, const TString &fname)
 
void plot_training_history(TString dataset, TFile *file, TDirectory *BinDir=nullptr)
 
void training_history(TString dataset, TString fin="TMVA.root", Bool_t useTMVAStyle=kTRUE)