Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TMVA::ROCCalc Class Reference

Definition at line 25 of file ROCCalc.h.

Public Member Functions

 ROCCalc (TH1 *mvaS, TH1 *mvaB)
 
 ~ROCCalc ()
 destructor More...
 
void ApplySignalAndBackgroundStyle (TH1 *sig, TH1 *bkg, TH1 *any=0)
 
Double_t GetEffSForEffBof (Double_t effBref, Double_t &effSerr)
 get the signal efficiency for a particular background efficiency that will be the value of the efficiency retured (does not affect the efficiency-vs-bkg plot which is done anyway. More...
 
TH1GetMvaBpdf ()
 
TH1GetMvaSpdf ()
 
TH1GetPurity (Int_t nStot, Int_t nBtot)
 
TH1DGetROC ()
 get the ROC curve More...
 
Double_t GetROCIntegral ()
 code to compute the area under the ROC ( rej-vs-eff ) curve More...
 
Double_t GetSignalReferenceCut ()
 
TH1GetSignificance (Int_t nStot, Int_t nBtot)
 
Bool_t GetStatus ()
 
void ResetStatus ()
 

Private Member Functions

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

Private Attributes

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

#include <TMVA/ROCCalc.h>

Constructor & Destructor Documentation

◆ ROCCalc()

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

Definition at line 48 of file ROCCalc.cxx.

◆ ~ROCCalc()

TMVA::ROCCalc::~ROCCalc ( )

destructor

Definition at line 166 of file ROCCalc.cxx.

Member Function Documentation

◆ ApplySignalAndBackgroundStyle()

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

Definition at line 119 of file ROCCalc.cxx.

◆ GetEffForRoot()

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

returns efficiency as function of cut

Definition at line 329 of file ROCCalc.cxx.

◆ GetEffSForEffBof()

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

get the signal efficiency for a particular background 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 298 of file ROCCalc.cxx.

◆ GetMvaBpdf()

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

Definition at line 47 of file ROCCalc.h.

◆ GetMvaSpdf()

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

Definition at line 46 of file ROCCalc.h.

◆ GetPurity()

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

Definition at line 435 of file ROCCalc.cxx.

◆ GetROC()

TH1D * TMVA::ROCCalc::GetROC ( )

get the ROC curve

Definition at line 184 of file ROCCalc.cxx.

◆ GetROCIntegral()

Double_t TMVA::ROCCalc::GetROCIntegral ( )

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

Definition at line 274 of file ROCCalc.cxx.

◆ GetSignalReferenceCut()

Double_t TMVA::ROCCalc::GetSignalReferenceCut ( )
inline

Definition at line 37 of file ROCCalc.h.

◆ GetSignificance()

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

Definition at line 446 of file ROCCalc.cxx.

◆ GetStatus()

Bool_t TMVA::ROCCalc::GetStatus ( )
inline

Definition at line 50 of file ROCCalc.h.

◆ Log()

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

message logger

Definition at line 83 of file ROCCalc.h.

◆ ResetStatus()

void TMVA::ROCCalc::ResetStatus ( )
inline

Definition at line 51 of file ROCCalc.h.

◆ Root()

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

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

Definition at line 354 of file ROCCalc.cxx.

Member Data Documentation

◆ effBvsS

TH1D* TMVA::ROCCalc::effBvsS
private

Definition at line 76 of file ROCCalc.h.

◆ fAbsTol

Double_t TMVA::ROCCalc::fAbsTol
private

Definition at line 57 of file ROCCalc.h.

◆ fCutOrientation

Int_t TMVA::ROCCalc::fCutOrientation
private

Definition at line 68 of file ROCCalc.h.

◆ fLogger

MsgLogger* TMVA::ROCCalc::fLogger
mutableprivate

Definition at line 82 of file ROCCalc.h.

◆ fMaxIter

Int_t TMVA::ROCCalc::fMaxIter
private

Definition at line 56 of file ROCCalc.h.

◆ fmvaB

TH1 * TMVA::ROCCalc::fmvaB
private

Definition at line 64 of file ROCCalc.h.

◆ fmvaBcumul

TH1 * TMVA::ROCCalc::fmvaBcumul
private

Definition at line 72 of file ROCCalc.h.

◆ fmvaBpdf

TH1 * TMVA::ROCCalc::fmvaBpdf
private

Definition at line 65 of file ROCCalc.h.

◆ fmvaS

TH1* TMVA::ROCCalc::fmvaS
private

Definition at line 64 of file ROCCalc.h.

◆ fmvaScumul

TH1* TMVA::ROCCalc::fmvaScumul
private

Definition at line 72 of file ROCCalc.h.

◆ fmvaSpdf

TH1* TMVA::ROCCalc::fmvaSpdf
private

Definition at line 65 of file ROCCalc.h.

◆ fNbins

UInt_t TMVA::ROCCalc::fNbins
private

Definition at line 61 of file ROCCalc.h.

◆ fnBtot

Int_t TMVA::ROCCalc::fnBtot
private

Definition at line 73 of file ROCCalc.h.

◆ fNevtS

Double_t TMVA::ROCCalc::fNevtS
private

Definition at line 67 of file ROCCalc.h.

◆ fnStot

Int_t TMVA::ROCCalc::fnStot
private

Definition at line 73 of file ROCCalc.h.

◆ fPurity

TH1* TMVA::ROCCalc::fPurity
private

Definition at line 75 of file ROCCalc.h.

◆ fSignalCut

Double_t TMVA::ROCCalc::fSignalCut
private

Definition at line 80 of file ROCCalc.h.

◆ fSignificance

TH1* TMVA::ROCCalc::fSignificance
private

Definition at line 74 of file ROCCalc.h.

◆ fSplB

TSpline * TMVA::ROCCalc::fSplB
private

Definition at line 69 of file ROCCalc.h.

◆ fSpleffBvsS

TSpline* TMVA::ROCCalc::fSpleffBvsS
private

Definition at line 71 of file ROCCalc.h.

◆ fSplmvaCumB

TSpline * TMVA::ROCCalc::fSplmvaCumB
private

Definition at line 70 of file ROCCalc.h.

◆ fSplmvaCumS

TSpline* TMVA::ROCCalc::fSplmvaCumS
private

Definition at line 70 of file ROCCalc.h.

◆ fSplS

TSpline* TMVA::ROCCalc::fSplS
private

Definition at line 69 of file ROCCalc.h.

◆ fStatus

Bool_t TMVA::ROCCalc::fStatus
private

Definition at line 59 of file ROCCalc.h.

◆ fUseSplines

Bool_t TMVA::ROCCalc::fUseSplines
private

Definition at line 62 of file ROCCalc.h.

◆ fXmax

Float_t TMVA::ROCCalc::fXmax
private

Definition at line 66 of file ROCCalc.h.

◆ fXmin

Float_t TMVA::ROCCalc::fXmin
private

Definition at line 66 of file ROCCalc.h.

◆ inveffBvsS

TH1D* TMVA::ROCCalc::inveffBvsS
private

Definition at line 78 of file ROCCalc.h.

◆ rejBvsS

TH1D* TMVA::ROCCalc::rejBvsS
private

Definition at line 77 of file ROCCalc.h.

Libraries for TMVA::ROCCalc:
[legend]

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