ROOT » TMVA » TMVA::ROCCalc

class TMVA::ROCCalc

Function Members (Methods)

Data Members

private:
Double_tfAbsTolabsolute tolerance deviation
Int_tfCutOrientation+1 if larger mva value means more signal like, -1 otherwise
TMVA::MsgLogger*fLogger! message logger
Int_tfMaxItermaximum number of iterations
UInt_tfNbins
Double_tfNevtSnumber of signal events (used in error calculation)
TH1*fPurity
Double_tfSignalCutMVA cut value for last demanded background rejection or signal efficiency
TH1*fSignificance
TSpline*fSplB
TSpline*fSplS
TSpline*fSpleffBvsS
TSpline*fSplmvaCumBspline of cumulated mva distributions
TSpline*fSplmvaCumSspline of cumulated mva distributions
Bool_tfUseSplines
Float_tfXmaxmin and max of the mva distribution
Float_tfXminmin and max of the mva distribution
TH1*fmvaBthe input mva distributions
TH1*fmvaBcumul
TH1*fmvaBpdfthe normalized (and rebinned) input mva distributions
TH1*fmvaSthe input mva distributions
TH1*fmvaScumul
TH1*fmvaSpdfthe normalized (and rebinned) input mva distributions
Int_tfnBtot
Int_tfnStot

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

ROCCalc(TH1* mvaS, TH1* mvaB)
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" );
~ROCCalc()
 destructor
TH1D* GetROC()
 get the ROC curve
Double_t GetROCIntegral()
 code to compute the area under the ROC ( rej-vs-eff ) curve
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.
Double_t GetEffForRoot(Double_t theCut)
 returns efficiency as function of cut
Double_t Root(Double_t )
 Root finding using Brents algorithm; taken from CERNLIB function RZERO
TH1* GetPurity(Int_t nStot, Int_t nBtot)
TH1* GetSignificance(Int_t nStot, Int_t nBtot)
ROCCalc(TH1* mvaS, TH1* mvaB)
Double_t GetSignalReferenceCut()
 return the cut value
{return fSignalCut;}
TH1* GetMvaSpdf()
{return fmvaSpdf;}
TH1* GetMvaBpdf()
{return fmvaBpdf;}