ROOT  6.06/08
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TMVA::ROCCalc Class Reference

Definition at line 22 of file ROCCalc.h.

Public Member Functions

 ROCCalc (TH1 *mvaS, TH1 *mvaB)
 
 ~ROCCalc ()
 destructor More...
 
TH1DGetROC ()
 get the ROC curve More...
 
Double_t GetEffSForEffBof (Double_t effBref, Double_t &effSerr)
 get the signal efficiency for a particular backgroud efficiency that will be the value of the efficiency retured (does not affect the efficiency-vs-bkg plot which is done anyway. More...
 
Double_t GetSignalReferenceCut ()
 
Double_t GetROCIntegral ()
 code to compute the area under the ROC ( rej-vs-eff ) curve More...
 
TH1GetSignificance (Int_t nStot, Int_t nBtot)
 
TH1GetPurity (Int_t nStot, Int_t nBtot)
 
void ApplySignalAndBackgroundStyle (TH1 *sig, TH1 *bkg, TH1 *any=0)
 Int_t c_Canvas = TColor::GetColor( "#f0f0f0" ); Int_t c_FrameFill = TColor::GetColor( "#fffffd" ); Int_t c_TitleBox = TColor::GetColor( "#5D6B7D" ); Int_t c_TitleBorder = TColor::GetColor( "#7D8B9D" ); Int_t c_TitleText = TColor::GetColor( "#FFFFFF" );. More...
 
TH1GetMvaSpdf ()
 
TH1GetMvaBpdf ()
 

Private Member Functions

Double_t Root (Double_t)
 Root finding using Brents algorithm; taken from CERNLIB function RZERO. More...
 
Double_t GetEffForRoot (Double_t theCut)
 returns efficiency as function of cut More...
 
MsgLoggerLog () const
 message logger More...
 

Private Attributes

Int_t fMaxIter
 
Double_t fAbsTol
 
UInt_t fNbins
 
Bool_t fUseSplines
 
TH1fmvaS
 
TH1fmvaB
 
TH1fmvaSpdf
 
TH1fmvaBpdf
 
Float_t fXmin
 
Float_t fXmax
 
Double_t fNevtS
 
Int_t fCutOrientation
 
TSplinefSplS
 
TSplinefSplB
 
TSplinefSplmvaCumS
 
TSplinefSplmvaCumB
 
TSplinefSpleffBvsS
 
TH1fmvaScumul
 
TH1fmvaBcumul
 
Int_t fnStot
 
Int_t fnBtot
 
TH1fSignificance
 
TH1fPurity
 
Double_t fSignalCut
 
MsgLoggerfLogger
 

#include <TMVA/ROCCalc.h>

+ Collaboration diagram for TMVA::ROCCalc:

Constructor & Destructor Documentation

§ ROCCalc()

TMVA::ROCCalc::ROCCalc ( TH1 mvaS,
TH1 mvaB 
)

Definition at line 56 of file ROCCalc.cxx.

§ ~ROCCalc()

TMVA::ROCCalc::~ROCCalc ( )

destructor

Definition at line 164 of file ROCCalc.cxx.

Member Function Documentation

§ ApplySignalAndBackgroundStyle()

void TMVA::ROCCalc::ApplySignalAndBackgroundStyle ( TH1 sig,
TH1 bkg,
TH1 any = 0 
)

Int_t c_Canvas = TColor::GetColor( "#f0f0f0" ); Int_t c_FrameFill = TColor::GetColor( "#fffffd" ); Int_t c_TitleBox = TColor::GetColor( "#5D6B7D" ); Int_t c_TitleBorder = TColor::GetColor( "#7D8B9D" ); Int_t c_TitleText = TColor::GetColor( "#FFFFFF" );.

Definition at line 116 of file ROCCalc.cxx.

Referenced by GetSignalReferenceCut(), and ROCCalc().

§ GetEffForRoot()

Double_t TMVA::ROCCalc::GetEffForRoot ( Double_t  theCut)
private

returns efficiency as function of cut

Definition at line 324 of file ROCCalc.cxx.

Referenced by GetMvaBpdf(), and Root().

§ GetEffSForEffBof()

Double_t TMVA::ROCCalc::GetEffSForEffBof ( Double_t  effBref,
Double_t effSerr 
)

get the signal efficiency for a particular backgroud efficiency that will be the value of the efficiency retured (does not affect the efficiency-vs-bkg plot which is done anyway.

Definition at line 293 of file ROCCalc.cxx.

§ GetMvaBpdf()

TH1* TMVA::ROCCalc::GetMvaBpdf ( )
inline

Definition at line 44 of file ROCCalc.h.

§ GetMvaSpdf()

TH1* TMVA::ROCCalc::GetMvaSpdf ( )
inline

Definition at line 43 of file ROCCalc.h.

§ GetPurity()

TH1 * TMVA::ROCCalc::GetPurity ( Int_t  nStot,
Int_t  nBtot 
)

Definition at line 430 of file ROCCalc.cxx.

Referenced by GetSignalReferenceCut().

§ GetROC()

TH1D * TMVA::ROCCalc::GetROC ( )

get the ROC curve

Definition at line 180 of file ROCCalc.cxx.

Referenced by GetEffSForEffBof(), and GetROCIntegral().

§ GetROCIntegral()

Double_t TMVA::ROCCalc::GetROCIntegral ( )

code to compute the area under the ROC ( rej-vs-eff ) curve

Definition at line 269 of file ROCCalc.cxx.

Referenced by GetSignalReferenceCut().

§ GetSignalReferenceCut()

Double_t TMVA::ROCCalc::GetSignalReferenceCut ( )
inline

Definition at line 34 of file ROCCalc.h.

§ GetSignificance()

TH1 * TMVA::ROCCalc::GetSignificance ( Int_t  nStot,
Int_t  nBtot 
)

Definition at line 441 of file ROCCalc.cxx.

Referenced by GetPurity(), and GetSignalReferenceCut().

§ Log()

MsgLogger& TMVA::ROCCalc::Log ( ) const
inlineprivate

message logger

Definition at line 71 of file ROCCalc.h.

Referenced by GetROC(), ROCCalc(), and Root().

§ Root()

Double_t TMVA::ROCCalc::Root ( Double_t  refValue)
private

Root finding using Brents algorithm; taken from CERNLIB function RZERO.

Definition at line 349 of file ROCCalc.cxx.

Referenced by GetMvaBpdf(), and GetROC().

Member Data Documentation

§ fAbsTol

Double_t TMVA::ROCCalc::fAbsTol
private

Definition at line 50 of file ROCCalc.h.

Referenced by Root().

§ fCutOrientation

Int_t TMVA::ROCCalc::fCutOrientation
private

Definition at line 59 of file ROCCalc.h.

Referenced by GetEffForRoot(), and ROCCalc().

§ fLogger

MsgLogger* TMVA::ROCCalc::fLogger
mutableprivate

Definition at line 70 of file ROCCalc.h.

Referenced by Log(), and ~ROCCalc().

§ fMaxIter

Int_t TMVA::ROCCalc::fMaxIter
private

Definition at line 49 of file ROCCalc.h.

Referenced by Root().

§ fmvaB

TH1 * TMVA::ROCCalc::fmvaB
private

Definition at line 55 of file ROCCalc.h.

Referenced by GetROC(), and ROCCalc().

§ fmvaBcumul

TH1 * TMVA::ROCCalc::fmvaBcumul
private

Definition at line 63 of file ROCCalc.h.

Referenced by GetROC(), GetSignificance(), and ~ROCCalc().

§ fmvaBpdf

TH1 * TMVA::ROCCalc::fmvaBpdf
private

Definition at line 56 of file ROCCalc.h.

Referenced by GetMvaBpdf(), and ROCCalc().

§ fmvaS

TH1* TMVA::ROCCalc::fmvaS
private

Definition at line 55 of file ROCCalc.h.

Referenced by GetROC(), and ROCCalc().

§ fmvaScumul

TH1* TMVA::ROCCalc::fmvaScumul
private

Definition at line 63 of file ROCCalc.h.

Referenced by GetEffForRoot(), GetROC(), GetSignificance(), and ~ROCCalc().

§ fmvaSpdf

TH1* TMVA::ROCCalc::fmvaSpdf
private

Definition at line 56 of file ROCCalc.h.

Referenced by GetMvaSpdf(), and ROCCalc().

§ fNbins

UInt_t TMVA::ROCCalc::fNbins
private

Definition at line 52 of file ROCCalc.h.

Referenced by GetROC(), and ROCCalc().

§ fnBtot

Int_t TMVA::ROCCalc::fnBtot
private

Definition at line 64 of file ROCCalc.h.

Referenced by GetPurity(), and GetSignificance().

§ fNevtS

Double_t TMVA::ROCCalc::fNevtS
private

Definition at line 58 of file ROCCalc.h.

Referenced by GetEffSForEffBof(), GetROC(), and ROCCalc().

§ fnStot

Int_t TMVA::ROCCalc::fnStot
private

Definition at line 64 of file ROCCalc.h.

Referenced by GetPurity(), and GetSignificance().

§ fPurity

TH1* TMVA::ROCCalc::fPurity
private

Definition at line 66 of file ROCCalc.h.

Referenced by GetPurity(), and GetSignificance().

§ fSignalCut

Double_t TMVA::ROCCalc::fSignalCut
private

Definition at line 68 of file ROCCalc.h.

Referenced by GetROC(), and GetSignalReferenceCut().

§ fSignificance

TH1* TMVA::ROCCalc::fSignificance
private

Definition at line 65 of file ROCCalc.h.

Referenced by GetPurity(), and GetSignificance().

§ fSplB

TSpline * TMVA::ROCCalc::fSplB
private

Definition at line 60 of file ROCCalc.h.

Referenced by ~ROCCalc().

§ fSpleffBvsS

TSpline* TMVA::ROCCalc::fSpleffBvsS
private

Definition at line 62 of file ROCCalc.h.

Referenced by GetEffSForEffBof(), GetROC(), GetROCIntegral(), and ~ROCCalc().

§ fSplmvaCumB

TSpline * TMVA::ROCCalc::fSplmvaCumB
private

Definition at line 61 of file ROCCalc.h.

Referenced by GetROC(), and ~ROCCalc().

§ fSplmvaCumS

TSpline* TMVA::ROCCalc::fSplmvaCumS
private

Definition at line 61 of file ROCCalc.h.

Referenced by GetEffForRoot(), GetROC(), and ~ROCCalc().

§ fSplS

TSpline* TMVA::ROCCalc::fSplS
private

Definition at line 60 of file ROCCalc.h.

Referenced by ~ROCCalc().

§ fUseSplines

Bool_t TMVA::ROCCalc::fUseSplines
private

Definition at line 53 of file ROCCalc.h.

Referenced by GetEffForRoot(), GetROC(), and ROCCalc().

§ fXmax

Float_t TMVA::ROCCalc::fXmax
private

Definition at line 57 of file ROCCalc.h.

Referenced by GetEffForRoot(), ROCCalc(), and Root().

§ fXmin

Float_t TMVA::ROCCalc::fXmin
private

Definition at line 57 of file ROCCalc.h.

Referenced by GetEffForRoot(), ROCCalc(), and Root().


The documentation for this class was generated from the following files: