ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/LJMet/MultivariateAnalysis/macros/efficiencies.C
(Generate patch)

Comparing UserCode/LJMet/MultivariateAnalysis/macros/efficiencies.C (file contents):
Revision 1.1 by kukartse, Thu Nov 20 22:34:49 2008 UTC vs.
Revision 1.3 by kukartse, Thu May 7 01:08:26 2009 UTC

# Line 97 | Line 97 | void plot_efficiencies( TFile* file, Int
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              }
# Line 154 | Line 156 | void plot_efficiencies( TFile* file, Int
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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines