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 | |
TGMainFrame * | fMain |
Float_t | fNSignal |
Float_t | fNBackground |
TString | fFormula |
TList * | fInfoList |
TGNumberEntry * | fSigInput |
TGNumberEntry * | fBkgInput |
TGHorizontalFrame * | fButtons |
TGTextButton * | fDrawButton |
TGTextButton * | fCloseButton |
Int_t | maxLenTitle |
Definition at line 130 of file mvaeffs.C.
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.
void StatDialogMVAEffs::SetFormula | ( | const TString & | f | ) | [inline] |
TString StatDialogMVAEffs::GetFormula | ( | ) |
Definition at line 190 of file mvaeffs.C.
References fFormula.
Referenced by UpdateSignificanceHists().
TString StatDialogMVAEffs::GetLatexFormula | ( | ) |
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.
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::PrintResults | ( | const MethodInfo * | info | ) |
Definition at line 530 of file mvaeffs.C.
References TString::Data(), fNBackground, fNSignal, Form(), info, and maxLenTitle.
Referenced by UpdateSignificanceHists().
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] |
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().