StatDialogMVAEffs Class Reference

List of all members.

Public Member Functions

 StatDialogMVAEffs (const TGWindow *p, Float_t ns, Float_t nb)
virtual ~StatDialogMVAEffs ()
void SetFormula (const TString &f)
TString GetFormula ()
TString GetLatexFormula ()
void ReadHistograms (TFile *file)
void UpdateSignificanceHists ()
void DrawHistograms ()
void RaiseDialog ()
void SetNSignal ()
void SetNBackground ()
void Redraw ()
void Close ()
void PrintResults (const MethodInfo *info)

Private Member Functions

void UpdateCanvases ()

Private Attributes

TGMainFramefMain
Float_t fNSignal
Float_t fNBackground
TString fFormula
TListfInfoList
TGNumberEntryfSigInput
TGNumberEntryfBkgInput
TGHorizontalFramefButtons
TGTextButtonfDrawButton
TGTextButtonfCloseButton
Int_t maxLenTitle

Detailed Description

Definition at line 130 of file mvaeffs.C.


Constructor & Destructor Documentation

StatDialogMVAEffs::StatDialogMVAEffs ( const TGWindow p,
Float_t  ns,
Float_t  nb 
)

Definition at line 241 of file mvaeffs.C.

References TGCompositeFrame::AddFrame(), TQObject::Connect(), fBkgInput, fButtons, fCloseButton, fDrawButton, fMain, fNBackground, fNSignal, fSigInput, TGCompositeFrame::GetDefaultSize(), kLHintsBottom, kLHintsLeft, kLHintsRight, kLHintsTop, kMainFrame, TGNumberFormat::kNELLimitMin, kVerticalFrame, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), p, TGFrame::Resize(), TGNumberEntry::SetLimits(), TGMainFrame::SetWindowName(), and TGMainFrame::SetWMPosition().

StatDialogMVAEffs::~StatDialogMVAEffs (  )  [virtual]

Definition at line 218 of file mvaeffs.C.

References TGCompositeFrame::Cleanup(), TGMainFrame::CloseWindow(), TQObject::Disconnect(), fBkgInput, fCloseButton, fDrawButton, fInfoList, fMain, fSigInput, and info.


Member Function Documentation

void StatDialogMVAEffs::SetFormula ( const TString f  )  [inline]

Definition at line 139 of file mvaeffs.C.

References fFormula.

Referenced by mvaeffs().

TString StatDialogMVAEffs::GetFormula (  ) 

Definition at line 190 of file mvaeffs.C.

References fFormula.

Referenced by UpdateSignificanceHists().

TString StatDialogMVAEffs::GetLatexFormula (  ) 

Definition at line 198 of file mvaeffs.C.

References fFormula.

void StatDialogMVAEffs::ReadHistograms ( TFile file  ) 

Definition at line 351 of file mvaeffs.C.

References TList::Add(), fInfoList, TDirectory::Get(), TROOT::GetClass(), TDirectoryFile::GetListOfKeys(), TDirectory::GetListOfKeys(), TMVAGlob::GetMethodName(), TMVAGlob::GetMethodTitle(), gROOT, info, and maxLenTitle.

Referenced by mvaeffs().

void StatDialogMVAEffs::UpdateSignificanceHists (  ) 

Definition at line 320 of file mvaeffs.C.

References B, TString::Data(), fInfoList, fNBackground, fNSignal, Form(), GetFormula(), i, info, TString::Length(), maxLenTitle, PrintResults(), RooFitShortHand::S(), and str.

Referenced by mvaeffs(), and Redraw().

void StatDialogMVAEffs::DrawHistograms (  ) 

Definition at line 404 of file mvaeffs.C.

References TLegend::AddEntry(), c, TObject::Draw(), TLegend::Draw(), TLatex::DrawLatex(), fInfoList, fNBackground, fNSignal, Form(), TColor::GetColor(), TROOT::GetStyle(), gROOT, TMVAGlob::imgconv(), info, kTRUE, TPave::SetBorderSize(), TAttFill::SetFillStyle(), TMVAGlob::SetFrameStyle(), TAttLine::SetLineColor(), TStyle::SetLineStyleString(), TAttLine::SetLineWidth(), TLegend::SetMargin(), TText::SetNDC(), TAttText::SetTextSize(), and width.

Referenced by mvaeffs(), and UpdateCanvases().

void StatDialogMVAEffs::RaiseDialog (  )  [inline]

Definition at line 147 of file mvaeffs.C.

References fMain, TGCompositeFrame::Layout(), TGFrame::MapWindow(), and TGWindow::RaiseWindow().

Referenced by mvaeffs().

void StatDialogMVAEffs::UpdateCanvases (  )  [private]

Definition at line 301 of file mvaeffs.C.

References DrawHistograms(), fInfoList, TList::First(), info, and kTRUE.

Referenced by Redraw().

void StatDialogMVAEffs::SetNSignal (  ) 

Definition at line 180 of file mvaeffs.C.

References fNSignal, fSigInput, and TGNumberEntry::GetNumber().

void StatDialogMVAEffs::SetNBackground (  ) 

Definition at line 185 of file mvaeffs.C.

References fBkgInput, fNBackground, and TGNumberEntry::GetNumber().

void StatDialogMVAEffs::Redraw (  ) 

Definition at line 207 of file mvaeffs.C.

References UpdateCanvases(), and UpdateSignificanceHists().

void StatDialogMVAEffs::Close (  ) 

Definition at line 213 of file mvaeffs.C.

void StatDialogMVAEffs::PrintResults ( const MethodInfo info  ) 

Definition at line 530 of file mvaeffs.C.

References TString::Data(), fNBackground, fNSignal, Form(), info, and maxLenTitle.

Referenced by UpdateSignificanceHists().


Member Data Documentation

TGMainFrame* StatDialogMVAEffs::fMain [private]

Definition at line 151 of file mvaeffs.C.

Referenced by RaiseDialog(), StatDialogMVAEffs(), and ~StatDialogMVAEffs().

Float_t StatDialogMVAEffs::fNSignal [private]

Definition at line 152 of file mvaeffs.C.

Referenced by DrawHistograms(), PrintResults(), SetNSignal(), StatDialogMVAEffs(), and UpdateSignificanceHists().

Float_t StatDialogMVAEffs::fNBackground [private]

Definition at line 153 of file mvaeffs.C.

Referenced by DrawHistograms(), PrintResults(), SetNBackground(), StatDialogMVAEffs(), and UpdateSignificanceHists().

TString StatDialogMVAEffs::fFormula [private]

Definition at line 154 of file mvaeffs.C.

Referenced by GetFormula(), GetLatexFormula(), and SetFormula().

TList* StatDialogMVAEffs::fInfoList [private]

Definition at line 155 of file mvaeffs.C.

Referenced by DrawHistograms(), ReadHistograms(), UpdateCanvases(), UpdateSignificanceHists(), and ~StatDialogMVAEffs().

TGNumberEntry* StatDialogMVAEffs::fSigInput [private]

Definition at line 157 of file mvaeffs.C.

Referenced by SetNSignal(), StatDialogMVAEffs(), and ~StatDialogMVAEffs().

TGNumberEntry* StatDialogMVAEffs::fBkgInput [private]

Definition at line 158 of file mvaeffs.C.

Referenced by SetNBackground(), StatDialogMVAEffs(), and ~StatDialogMVAEffs().

TGHorizontalFrame* StatDialogMVAEffs::fButtons [private]

Definition at line 160 of file mvaeffs.C.

Referenced by StatDialogMVAEffs().

TGTextButton* StatDialogMVAEffs::fDrawButton [private]

Definition at line 161 of file mvaeffs.C.

Referenced by StatDialogMVAEffs(), and ~StatDialogMVAEffs().

TGTextButton* StatDialogMVAEffs::fCloseButton [private]

Definition at line 162 of file mvaeffs.C.

Referenced by StatDialogMVAEffs(), and ~StatDialogMVAEffs().

Int_t StatDialogMVAEffs::maxLenTitle [private]

Definition at line 164 of file mvaeffs.C.

Referenced by PrintResults(), ReadHistograms(), and UpdateSignificanceHists().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:34:21 2011 for ROOT_528-00b_version by  doxygen 1.5.1