Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
BDT.cxx
Go to the documentation of this file.
1#include "TMVA/BDT.h"
2#include <iostream>
3#include <fstream>
4
5#include "RQ_OBJECT.h"
6
7#include "TROOT.h"
8#include "TCanvas.h"
9#include "TLine.h"
10#include "TFile.h"
11#include "TColor.h"
12#include "TPaveText.h"
13#include "TObjString.h"
14#include "TControlBar.h"
15
16#include "TGWindow.h"
17#include "TGButton.h"
18#include "TGLabel.h"
19#include "TGNumberEntry.h"
20
21#include "TMVA/DecisionTree.h"
22#include "TMVA/Tools.h"
23#include "TXMLEngine.h"
24
25std::vector<TControlBar*> TMVA::BDT_Global__cbar;
26
28
30{
32}
33
35{
36 UpdateCanvases();
37}
38
40{
41 delete this;
42}
43
44TMVA::StatDialogBDT::StatDialogBDT(TString dataset, const TGWindow* p, TString wfile, TString methName, Int_t itree )
45 : fMain( 0 ),
46 fItree(itree),
47 fNtrees(0),
48 fCanvas(0),
49 fInput(0),
50 fButtons(0),
51 fDrawButton(0),
52 fCloseButton(0),
53 fWfile( wfile ),
54 fMethName( methName ),
55 fDataset(dataset)
56{
57 UInt_t totalWidth = 500;
58 UInt_t totalHeight = 200;
59
60 fThis = this;
61
63
64 // read number of decision trees from weight file
65 GetNtrees();
66
67 // main frame
68 fMain = new TGMainFrame(p, totalWidth, totalHeight, kMainFrame | kVerticalFrame);
69
70 TGLabel *sigLab = new TGLabel( fMain, Form( "Decision tree [%i-%i]",0,fNtrees-1 ) );
71 fMain->AddFrame(sigLab, new TGLayoutHints(kLHintsLeft | kLHintsTop,5,5,5,5));
72
75 fInput->Resize(100,24);
77
78 fButtons = new TGHorizontalFrame(fMain, totalWidth,30);
79
80 fCloseButton = new TGTextButton(fButtons,"&Close");
82
83 fDrawButton = new TGTextButton(fButtons,"&Draw");
85
87
88 fMain->SetWindowName("Decision tree");
89 fMain->SetWMPosition(0,0);
93
94 fInput->Connect("ValueSet(Long_t)","TMVA::StatDialogBDT",this, "SetItree()");
95
96 // doesn't seem to exist .. gives an 'error message' and seems to work just fine without ... :)
97 // fDrawButton->Connect("ValueSet(Long_t)","TGNumberEntry",fInput, "Clicked()");
98 fDrawButton->Connect("Clicked()", "TMVA::StatDialogBDT", this, "Redraw()");
99
100 fCloseButton->Connect("Clicked()", "TMVA::StatDialogBDT", this, "Close()");
101}
102
104{
105 DrawTree(fItree );
106}
107
109{
110 if(!fWfile.EndsWith(".xml") ){
111 std::ifstream fin( fWfile );
112 if (!fin.good( )) { // file not found --> Error
113 cout << "*** ERROR: Weight file: " << fWfile << " does not exist" << endl;
114 return;
115 }
116
117 TString dummy = "";
118
119 // read total number of trees, and check whether requested tree is in range
120 Int_t nc = 0;
121 while (!dummy.Contains("NTrees")) {
122 fin >> dummy;
123 nc++;
124 if (nc > 200) {
125 cout << endl;
126 cout << "*** Huge problem: could not locate term \"NTrees\" in BDT weight file: "
127 << fWfile << endl;
128 cout << "==> panic abort (please contact the TMVA authors)" << endl;
129 cout << endl;
130 exit(1);
131 }
132 }
133 fin >> dummy;
134 fNtrees = dummy.ReplaceAll("\"","").Atoi();
135 fin.close();
136 }
137 else{
138 void* doc = TMVA::gTools().xmlengine().ParseFile(fWfile);
139 void* rootnode = TMVA::gTools().xmlengine().DocGetRootElement(doc);
140 void* ch = TMVA::gTools().xmlengine().GetChild(rootnode);
141 while(ch){
142 TString nodeName = TString( TMVA::gTools().xmlengine().GetNodeName(ch) );
143 if(nodeName=="Weights") {
144 TMVA::gTools().ReadAttr( ch, "NTrees", fNtrees );
145 break;
146 }
147 ch = TMVA::gTools().xmlengine().GetNext(ch);
148 }
149 }
150 cout << "--- Found " << fNtrees << " decision trees in weight file" << endl;
151
152}
153
154////////////////////////////////////////////////////////////////////////////////
155/// recursively puts an entries in the histogram for the node and its daughters
156///
157
160 Double_t xscale, Double_t yscale, TString * vars)
161{
162 Float_t xsize=xscale*1.5;
163 Float_t ysize=yscale/3;
164 if (xsize>0.15) xsize=0.1; //xscale/2;
165 if (n->GetLeft() != NULL){
166 TLine *a1 = new TLine(x-xscale/4,y-ysize,x-xscale,y-ysize*2);
167 a1->SetLineWidth(2);
168 a1->Draw();
169 DrawNode((TMVA::DecisionTreeNode*) n->GetLeft(), x-xscale, y-yscale, xscale/2, yscale, vars);
170 }
171 if (n->GetRight() != NULL){
172 TLine *a1 = new TLine(x+xscale/4,y-ysize,x+xscale,y-ysize*2);
173 a1->SetLineWidth(2);
174 a1->Draw();
175 DrawNode((TMVA::DecisionTreeNode*) n->GetRight(), x+xscale, y-yscale, xscale/2, yscale, vars );
176 }
177
178 // TPaveText *t = new TPaveText(x-xscale/2,y-yscale/2,x+xscale/2,y+yscale/2, "NDC");
179 TPaveText *t = new TPaveText(x-xsize,y-ysize,x+xsize,y+ysize, "NDC");
180
181 t->SetBorderSize(1);
182
183 t->SetFillStyle(1001);
184
185
186 Double_t pur=n->GetPurity();
187 t->SetFillColor(fColorOffset+Int_t(pur*100));
188
189 char buffer[25];
190 sprintf( buffer, "N=%f", n->GetNEvents() );
191 if (n->GetNEvents()>0) t->AddText(buffer);
192 sprintf( buffer, "S/(S+B)=%4.3f", n->GetPurity() );
193 t->AddText(buffer);
194
195 if (n->GetNodeType() == 0){
196 if (n->GetCutType()){
197 t->AddText(TString(vars[n->GetSelector()]+">"+=::Form("%5.3g",n->GetCutValue())));
198 }else{
199 t->AddText(TString(vars[n->GetSelector()]+"<"+=::Form("%5.3g",n->GetCutValue())));
200 }
201 }
202
203 t->Draw();
204
205 return;
206}
208{
209 cout << "--- Reading Tree " << itree << " from weight file: " << fWfile << endl;
211 if(!fWfile.EndsWith(".xml") ){
212 std::ifstream fin( fWfile );
213 if (!fin.good( )) { // file not found --> Error
214 cout << "*** ERROR: Weight file: " << fWfile << " does not exist" << endl;
215 delete d;
216 d = nullptr;
217 return 0;
218 }
219
220 TString dummy = "";
221
222 if (itree >= fNtrees) {
223 cout << "*** ERROR: requested decision tree: " << itree
224 << ", but number of trained trees only: " << fNtrees << endl;
225 delete d;
226 d = nullptr;
227 return 0;
228 }
229
230 // file header with name
231 while (!dummy.Contains("#VAR")) fin >> dummy;
232 fin >> dummy >> dummy >> dummy; // the rest of header line
233
234 // number of variables
235 Int_t nVars;
236 fin >> dummy >> nVars;
237
238 // variable mins and maxes
239 vars = new TString[nVars+1]; // last one is if "fisher cut criterium"
240 for (Int_t i = 0; i < nVars; i++) fin >> vars[i] >> dummy >> dummy >> dummy >> dummy;
241 vars[nVars]="FisherCrit";
242
243 char buffer[20];
244 char line[256];
245 sprintf(buffer,"Tree %d",itree);
246
247 while (!dummy.Contains(buffer)) {
248 fin.getline(line,256);
249 dummy = TString(line);
250 }
251
252 d->Read(fin);
253
254 fin.close();
255 }
256 else{
257 if (itree >= fNtrees) {
258 cout << "*** ERROR: requested decision tree: " << itree
259 << ", but number of trained trees only: " << fNtrees << endl;
260 delete d;
261 d = nullptr;
262 return 0;
263 }
264 Int_t nVars;
265 void* doc = TMVA::gTools().xmlengine().ParseFile(fWfile);
266 void* rootnode = TMVA::gTools().xmlengine().DocGetRootElement(doc);
267 void* ch = TMVA::gTools().xmlengine().GetChild(rootnode);
268 while(ch){
269 TString nodeName = TString( TMVA::gTools().xmlengine().GetNodeName(ch) );
270 if(nodeName=="Variables"){
271 TMVA::gTools().ReadAttr( ch, "NVar", nVars);
272 vars = new TString[nVars+1];
273 void* varnode = TMVA::gTools().xmlengine().GetChild(ch);
274 for (Int_t i = 0; i < nVars; i++){
275 TMVA::gTools().ReadAttr( varnode, "Expression", vars[i]);
276 varnode = TMVA::gTools().xmlengine().GetNext(varnode);
277 }
278 vars[nVars]="FisherCrit";
279 }
280 if(nodeName=="Weights") break;
281 ch = TMVA::gTools().xmlengine().GetNext(ch);
282 }
283 ch = TMVA::gTools().xmlengine().GetChild(ch);
284 for (int i=0; i<itree; i++) ch = TMVA::gTools().xmlengine().GetNext(ch);
285 d->ReadXML(ch);
286 }
287 return d;
288}
289
290////////////////////////////////////////////////////////////////////////////////
291
293{
294 TString *vars;
295 TMVA::DecisionTree* d = ReadTree( vars, itree );
296 if (d == 0) return;
297
298 UInt_t depth = d->GetTotalTreeDepth();
299 Double_t ystep = 1.0/(depth + 1.0);
300
301 cout << "--- Tree depth: " << depth << endl;
302
303 TStyle* TMVAStyle = gROOT->GetStyle("Plain"); // our style is based on Plain
304
305
306
307 Double_t r[2] = {1., 0.};
308 Double_t g[2] = {0., 0.};
309 Double_t b[2] = {0., 1.};
310 Double_t stop[2] = {0., 1.0};
311 fColorOffset = TColor::CreateGradientColorTable(2, stop, r, g, b, 100);
312
313 Int_t MyPalette[100];
314 for (int i=0;i<100;i++) MyPalette[i] = fColorOffset+i;
315 TMVAStyle->SetPalette(100, MyPalette);
316
317
318
319 Int_t canvasColor = TMVAStyle->GetCanvasColor(); // backup
320
321 TString cbuffer = Form( "Reading weight file: %s", fWfile.Data() );
322 TString tbuffer = Form( "Decision Tree no.: %d", itree );
323 if (!fCanvas) fCanvas = new TCanvas( "c1", cbuffer, 200, 0, 1000, 600 );
324 else fCanvas->Clear();
325 fCanvas->Draw();
326
327 DrawNode( (TMVA::DecisionTreeNode*)d->GetRoot(), 0.5, 1.-0.5*ystep, 0.25, ystep ,vars);
328
329 // make the legend
330 Double_t yup=0.99;
331 Double_t ydown=yup-ystep/2.5;
332 Double_t dy= ystep/2.5 * 0.2;
333
334 TPaveText *whichTree = new TPaveText(0.85,ydown,0.98,yup, "NDC");
335 whichTree->SetBorderSize(1);
336 whichTree->SetFillStyle(1001);
337 whichTree->SetFillColor( TColor::GetColor( "#ffff33" ) );
338 whichTree->AddText( tbuffer );
339 whichTree->Draw();
340
341 TPaveText *signalleaf = new TPaveText(0.02,ydown ,0.15,yup, "NDC");
342 signalleaf->SetBorderSize(1);
343 signalleaf->SetFillStyle(1001);
344 signalleaf->SetFillColor( getSigColorF() );
345 signalleaf->AddText("Pure Signal Nodes");
346 signalleaf->SetTextColor( getSigColorT() );
347 signalleaf->Draw();
348
349 ydown = ydown - ystep/2.5 -dy;
350 yup = yup - ystep/2.5 -dy;
351 TPaveText *backgroundleaf = new TPaveText(0.02,ydown,0.15,yup, "NDC");
352 backgroundleaf->SetBorderSize(1);
353 backgroundleaf->SetFillStyle(1001);
354 backgroundleaf->SetFillColor( getBkgColorF() );
355
356 backgroundleaf->AddText("Pure Backgr. Nodes");
357 backgroundleaf->SetTextColor( getBkgColorT() );
358 backgroundleaf->Draw();
359
360
361 fCanvas->Update();
362 TString fname = fDataset+Form("/plots/%s_%i", fMethName.Data(), itree );
363 cout << "--- Creating image: " << fname << endl;
364 TMVAGlob::imgconv( fCanvas, fname );
365
366 TMVAStyle->SetCanvasColor( canvasColor );
367}
368
369// ========================================================================================
370
371
372// intermediate GUI
373void TMVA::BDT(TString dataset, const TString& fin )
374{
375 // --- read the available BDT weight files
376
377 // destroy all open cavases
379
380 // checks if file with name "fin" is already open, and if not opens one
381 TFile* file = TMVAGlob::OpenFile( fin );
382
383 TDirectory* dir = file->GetDirectory(dataset.Data())->GetDirectory( "Method_BDT" );
384 if (!dir) {
385 cout << "*** Error in macro \"BDT.C\": cannot find directory \"Method_BDT\" in file: " << fin << endl;
386 return;
387 }
388
389 // read all directories
390 TIter next( dir->GetListOfKeys() );
391 TKey *key(0);
392 std::vector<TString> methname;
393 std::vector<TString> path;
394 std::vector<TString> wfile;
395 while ((key = (TKey*)next())) {
396 TDirectory* mdir = dir->GetDirectory( key->GetName() );
397 if (!mdir) {
398 cout << "*** Error in macro \"BDT.C\": cannot find sub-directory: " << key->GetName()
399 << " in directory: " << dir->GetName() << endl;
400 return;
401 }
402
403 // retrieve weight file name and path
404 TObjString* strPath = (TObjString*)mdir->Get( "TrainingPath" );
405 TObjString* strWFile = (TObjString*)mdir->Get( "WeightFileName" );
406 if (!strPath || !strWFile) {
407 cout << "*** Error in macro \"BDT.C\": could not find TObjStrings \"TrainingPath\" and/or \"WeightFileName\" *** " << endl;
408 cout << "*** Maybe you are using TMVA >= 3.8.15 with an older training target file ? *** " << endl;
409 return;
410 }
411
412 methname.push_back( key->GetName() );
413 path .push_back( strPath->GetString() );
414 wfile .push_back( strWFile->GetString() );
415 }
416
417 // create the control bar
418 TControlBar* cbar = new TControlBar( "vertical", "Choose weight file:", 50, 50 );
419 BDT_Global__cbar.push_back(cbar);
420
421 for (UInt_t im=0; im<path.size(); im++) {
422 TString fname = path[im];
423 if (fname[fname.Length()-1] != '/') fname += "/";
424 fname += wfile[im];
425 TString macro = Form( "TMVA::BDT(\"%s\",0,\"%s\",\"%s\")",dataset.Data(), fname.Data(), methname[im].Data() );
426 cbar->AddButton( fname, macro, "Plot decision trees from this weight file", "button" );
427 }
428
429 // set the style
430 cbar->SetTextColor("blue");
431
432 // draw
433 cbar->Show();
434}
435
436void TMVA::BDT_DeleteTBar(int i)
437{
438 // destroy all open canvases
441
442 delete BDT_Global__cbar[i];
443 BDT_Global__cbar[i] = 0;
444}
445
446// input: - No. of tree
447// - the weight file from which the tree is read
448void TMVA::BDT(TString dataset, Int_t itree, TString wfile , TString methName , Bool_t useTMVAStyle )
449{
450 // destroy possibly existing dialog windows and/or canvases
453 if(wfile=="")
454 wfile = dataset+"/weights/TMVAnalysis_test_BDT.weights.txt";
455 // quick check if weight file exist
456 if(!wfile.EndsWith(".xml") ){
457 std::ifstream fin( wfile );
458 if (!fin.good( )) { // file not found --> Error
459 cout << "*** ERROR: Weight file: " << wfile << " does not exist" << endl;
460 return;
461 }
462 }
463 std::cout << "test1";
464 // set style and remove existing canvas'
465 TMVAGlob::Initialize( useTMVAStyle );
466
467 StatDialogBDT* gGui = new StatDialogBDT(dataset, gClient->GetRoot(), wfile, methName, itree );
468
469 gGui->DrawTree(itree );
470
471 gGui->RaiseDialog();
472}
@ kVerticalFrame
Definition GuiTypes.h:381
@ kMainFrame
Definition GuiTypes.h:380
ROOT::R::TRInterface & r
Definition Object.C:4
#define d(i)
Definition RSha256.hxx:102
#define b(i)
Definition RSha256.hxx:100
#define g(i)
Definition RSha256.hxx:105
int Int_t
Definition RtypesCore.h:45
unsigned int UInt_t
Definition RtypesCore.h:46
bool Bool_t
Definition RtypesCore.h:63
double Double_t
Definition RtypesCore.h:59
float Float_t
Definition RtypesCore.h:57
#define gClient
Definition TGClient.h:166
@ kLHintsRight
Definition TGLayout.h:33
@ kLHintsLeft
Definition TGLayout.h:31
@ kLHintsBottom
Definition TGLayout.h:36
@ kLHintsTop
Definition TGLayout.h:34
#define gROOT
Definition TROOT.h:406
char * Form(const char *fmt,...)
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
Definition TAttFill.h:37
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
Definition TAttFill.h:39
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
Definition TAttLine.h:43
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
Definition TAttText.h:43
The Canvas class.
Definition TCanvas.h:23
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb",...
Definition TColor.cxx:1769
static Int_t CreateGradientColorTable(UInt_t Number, Double_t *Stops, Double_t *Red, Double_t *Green, Double_t *Blue, UInt_t NColors, Float_t alpha=1.)
Static function creating a color table with several connected linear gradients.
Definition TColor.cxx:2228
A Control Bar is a fully user configurable tool which provides fast access to frequently used operati...
Definition TControlBar.h:26
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.:
Describe directory structure in memory.
Definition TDirectory.h:45
virtual TDirectory * GetDirectory(const char *namecycle, Bool_t printError=false, const char *funcname="GetDirectory")
Find a directory using apath.
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
virtual TList * GetListOfKeys() const
Definition TDirectory.h:177
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
Definition TFile.h:54
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Definition TGFrame.cxx:1102
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
Definition TGFrame.h:352
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
Definition TGFrame.cxx:1149
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
Definition TGFrame.cxx:590
virtual void MapWindow()
map window
Definition TGFrame.h:228
void SetWMPosition(Int_t x, Int_t y)
Give the window manager a window position hint.
Definition TGFrame.cxx:1840
void SetWindowName(const char *name=0)
Set window name. This is typically done via the window manager.
Definition TGFrame.cxx:1749
virtual void SetLimits(ELimit limits=TGNumberFormat::kNELNoLimits, Double_t min=0, Double_t max=1)
virtual Double_t GetNumber() const
Book space in a file, create I/O buffers, to fill them, (un)compress them.
Definition TKey.h:28
A simple line.
Definition TLine.h:22
static void SetIsTraining(bool on)
Implementation of a Decision Tree.
TGTextButton * fDrawButton
Definition BDT.h:79
TGMainFrame * fMain
Definition BDT.h:70
static void Delete()
Definition BDT.h:98
TMVA::DecisionTree * ReadTree(TString *&vars, Int_t itree)
Definition BDT.cxx:207
void DrawTree(Int_t itree)
Definition BDT.cxx:292
void SetItree()
Definition BDT.cxx:29
TGHorizontalFrame * fButtons
Definition BDT.h:78
StatDialogBDT(TString dataset, const TGWindow *p, TString wfile, TString methName="BDT", Int_t itree=0)
Definition BDT.cxx:44
TGNumberEntry * fInput
Definition BDT.h:76
void DrawNode(TMVA::DecisionTreeNode *n, Double_t x, Double_t y, Double_t xscale, Double_t yscale, TString *vars)
recursively puts an entries in the histogram for the node and its daughters
Definition BDT.cxx:158
Int_t fNtrees
Definition BDT.h:72
static StatDialogBDT * fThis
Definition BDT.h:107
TGTextButton * fCloseButton
Definition BDT.h:80
void UpdateCanvases()
Definition BDT.cxx:103
TXMLEngine & xmlengine()
Definition Tools.h:268
void ReadAttr(void *node, const char *, T &value)
read attribute from xml
Definition Tools.h:335
virtual const char * GetName() const
Returns name of object.
Definition TNamed.h:47
Collectable string class.
Definition TObjString.h:28
const TString & GetString() const
Definition TObjString.h:46
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
Definition TObject.cxx:197
A Pave (see TPave) with text, lines or/and boxes inside.
Definition TPaveText.h:21
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
virtual void SetBorderSize(Int_t bordersize=4)
Definition TPave.h:73
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
Definition TQObject.cxx:866
Basic string class.
Definition TString.h:136
Ssiz_t Length() const
Definition TString.h:410
Int_t Atoi() const
Return integer value of string.
Definition TString.cxx:1941
Bool_t EndsWith(const char *pat, ECaseCompare cmp=kExact) const
Return true if string ends with the specified string.
Definition TString.cxx:2197
const char * Data() const
Definition TString.h:369
TString & ReplaceAll(const TString &s1, const TString &s2)
Definition TString.h:692
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
Definition TString.h:624
TStyle objects may be created to define special styles.
Definition TStyle.h:29
void SetCanvasColor(Color_t color=19)
Definition TStyle.h:327
void SetPalette(Int_t ncolors=kBird, Int_t *colors=0, Float_t alpha=1.)
See TColor::SetPalette.
Definition TStyle.cxx:1782
Color_t GetCanvasColor() const
Definition TStyle.h:180
XMLNodePointer_t GetChild(XMLNodePointer_t xmlnode, Bool_t realnode=kTRUE)
returns first child of xmlnode
XMLNodePointer_t DocGetRootElement(XMLDocPointer_t xmldoc)
returns root node of document
XMLDocPointer_t ParseFile(const char *filename, Int_t maxbuf=100000)
Parses content of file and tries to produce xml structures.
XMLNodePointer_t GetNext(XMLNodePointer_t xmlnode, Bool_t realnode=kTRUE)
return next to xmlnode node if realnode==kTRUE, any special nodes in between will be skipped
TLine * line
Double_t y[n]
Definition legend1.C:17
Double_t x[n]
Definition legend1.C:17
const Int_t n
Definition legend1.C:16
void Initialize(Bool_t useTMVAStyle=kTRUE)
Definition tmvaglob.cxx:176
void DestroyCanvases()
Definition tmvaglob.cxx:166
TFile * OpenFile(const TString &fin)
Definition tmvaglob.cxx:192
void imgconv(TCanvas *c, const TString &fname)
Definition tmvaglob.cxx:212
Int_t getSigColorT()
Definition BDT.h:40
void BDT_DeleteTBar(int i)
Tools & gTools()
Int_t getSigColorF()
Definition BDT.h:35
void BDT(TString dataset, const TString &fin="TMVA.root")
Int_t getBkgColorT()
Definition BDT.h:41
Int_t getBkgColorF()
Definition BDT.h:36
Definition file.py:1