97 |
|
h->SetLineColor(color); |
98 |
|
color++; if (color == 5 || color == 10 || color == 11) color++; |
99 |
|
h->Draw("csame"); |
100 |
+ |
cout << "Area under ROC: " << h.Integral("width") << endl; |
101 |
+ |
cout << "Ratio over/under ROC: " << (1.0-h.Integral("width"))/h.Integral("width") << endl; |
102 |
|
hists.Add(h); |
103 |
|
nmva++; |
104 |
|
} |
156 |
|
return; |
157 |
|
} |
158 |
|
|
159 |
< |
void efficiencies( TString fin = "TMVA.root", Int_t type = 2, Bool_t useTMVAStyle = kTRUE ) |
159 |
> |
void efficiencies( TString fin = "TMVA.root", Int_t type = 2, Bool_t useTMVAStyle = kFALSE ) |
160 |
|
{ |
161 |
|
// argument: type = 1 --> plot efficiency(B) versus eff(S) |
162 |
|
// type = 2 --> plot rejection (B) versus efficiency (S) |