21      cout << 
"Problems with input file, tried to open " << 
fin << 
" but somehow did not succeed .." << endl;
 
   27   TString methodName = 
"Method_BDT";
 
   30      cout << 
"Could not locate directory 'Method_BDT' in file " << 
fin << endl;
 
   61   TString hname[
nPlots]={
"BoostMonitor",
"BoostWeight",
"BoostWeightVsTree",
"ErrFractHist",
"NodesBeforePruning",
titName+
"_FOMvsIterFrame"};
 
   71         h->SetMaximum(
h->GetMaximum()*1.3);
 
   73         h->SetMarkerColor(color);
 
   74         h->SetMarkerSize( 0.7 );
 
   75         h->SetMarkerStyle( 24 );
 
   77         h->SetLineColor(color);
 
   78         if(
hname[i]==
"NodesBeforePruning")
h->SetTitle(
"Nodes before/after pruning");
 
   80         if(
hname[i]==
"NodesBeforePruning"){
 
   86         if(
hname[i]==
"BoostMonitor"){ 
 
  111      while ( (key = (
TKey*)keys.Next()) && 
ipad < 26) {
 
  116            if (
hhname_.Contains(
"BoostWeightsInTreeB")){
 
  120               hhname_.ReplaceAll(
"TreeB",
"TreeS");
 
  153      while ( (key = (
TKey*)keys.Next()) && 
ipad < 26) {
 
  158            if (
hname_.Contains(
"SigVar0AtTree")){
 
  162               hname_.ReplaceAll(
"Sig",
"Bkg");
 
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
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...
A TGraph is an object made of two arrays X and Y with npoints each.
1-D histogram with a float per channel (see TH1 documentation)
TH1 is the base class of all histogram classes in ROOT.
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.
Mother of all ROOT objects.
virtual const char * GetTitle() const
Returns title of object.
virtual TClass * IsA() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
constexpr std::size_t bufferSize
UInt_t GetListOfTitles(TDirectory *rfdir, TList &titles)
void Initialize(Bool_t useTMVAStyle=kTRUE)
TKey * NextKey(TIter &keyIter, TString className)
TFile * OpenFile(const TString &fin)
void imgconv(TCanvas *c, const TString &fname)
void bdtcontrolplots(TString dataset, TDirectory *)
void BDTControlPlots(TString dataset, TString fin="TMVA.root", Bool_t useTMVAStyle=kTRUE)