#include <TPaveStats.h>
Inheritance diagram for TPaveStats:
Public Member Functions | |
TPaveStats () | |
TPaveStats (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="br") | |
virtual | ~TPaveStats () |
virtual TBox * | AddBox (Double_t, Double_t, Double_t, Double_t) |
virtual TLine * | AddLine (Double_t, Double_t, Double_t, Double_t) |
virtual void | DeleteText () |
virtual void | EditText () |
virtual const char * | GetFitFormat () const |
virtual const char * | GetStatFormat () const |
Int_t | GetOptFit () const |
Int_t | GetOptStat () const |
TObject * | GetParent () const |
virtual void | Paint (Option_t *option="") |
virtual void | InsertText (const char *) |
virtual void | InsertLine () |
virtual void | ReadFile (const char *, Option_t *, Int_t, Int_t) |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | SaveStyle () |
virtual void | SetAllWith (const char *, Option_t *, Double_t) |
virtual void | SetMargin (Float_t) |
virtual void | SetFitFormat (const char *format="5.4g") |
virtual void | SetStatFormat (const char *format="6.4g") |
void | SetOptFit (Int_t fit=1) |
void | SetOptStat (Int_t stat=1) |
void | SetParent (TObject *obj) |
virtual void | UseCurrentStyle () |
TPaveStats () | |
TPaveStats (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="br") | |
virtual | ~TPaveStats () |
virtual TBox * | AddBox (Double_t, Double_t, Double_t, Double_t) |
virtual TLine * | AddLine (Double_t, Double_t, Double_t, Double_t) |
virtual void | DeleteText () |
virtual void | EditText () |
virtual const char * | GetFitFormat () const |
virtual const char * | GetStatFormat () const |
Int_t | GetOptFit () const |
Int_t | GetOptStat () const |
TObject * | GetParent () const |
virtual void | Paint (Option_t *option="") |
virtual void | InsertText (const char *) |
virtual void | InsertLine () |
virtual void | ReadFile (const char *, Option_t *, Int_t, Int_t) |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | SaveStyle () |
virtual void | SetAllWith (const char *, Option_t *, Double_t) |
virtual void | SetMargin (Float_t) |
virtual void | SetFitFormat (const char *format="5.4g") |
virtual void | SetStatFormat (const char *format="6.4g") |
void | SetOptFit (Int_t fit=1) |
void | SetOptStat (Int_t stat=1) |
void | SetParent (TObject *obj) |
virtual void | UseCurrentStyle () |
Protected Attributes | |
Int_t | fOptFit |
Int_t | fOptStat |
TString | fFitFormat |
TString | fStatFormat |
TObject * | fParent |
TObject * | fParent |
Definition at line 28 of file TPaveStats.h.
TPaveStats::TPaveStats | ( | ) |
Definition at line 205 of file TPaveStats.cxx.
References TStyle::GetOptFit(), TStyle::GetOptStat(), and gStyle.
TPaveStats::TPaveStats | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | x2, | |||
Double_t | y2, | |||
Option_t * | option = "br" | |||
) |
Definition at line 218 of file TPaveStats.cxx.
References fOptFit, fOptStat, fParent, TStyle::GetFitFormat(), TStyle::GetOptFit(), TStyle::GetOptStat(), TStyle::GetStatFormat(), gStyle, SetFitFormat(), and SetStatFormat().
TPaveStats::~TPaveStats | ( | ) | [virtual] |
Definition at line 234 of file TPaveStats.cxx.
References fParent, TObject::kInvalidObject, TObject::RecursiveRemove(), and TObject::TestBit().
TPaveStats::TPaveStats | ( | ) |
TPaveStats::TPaveStats | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | x2, | |||
Double_t | y2, | |||
Option_t * | option = "br" | |||
) |
virtual TPaveStats::~TPaveStats | ( | ) | [virtual] |
virtual void TPaveStats::DeleteText | ( | ) | [inline, virtual] |
virtual void TPaveStats::EditText | ( | ) | [inline, virtual] |
virtual const char* TPaveStats::GetFitFormat | ( | ) | const [inline, virtual] |
Definition at line 45 of file TPaveStats.h.
References TString::Data(), and fFitFormat.
Referenced by THistPainter::PaintStat(), TGraphPainter::PaintStats(), and UseCurrentStyle().
virtual const char* TPaveStats::GetStatFormat | ( | ) | const [inline, virtual] |
Definition at line 46 of file TPaveStats.h.
References TString::Data(), and fStatFormat.
Referenced by THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), and UseCurrentStyle().
Int_t TPaveStats::GetOptFit | ( | ) | const |
Definition at line 245 of file TPaveStats.cxx.
References fOptFit, TStyle::GetOptFit(), gStyle, kTakeStyle, and TObject::TestBit().
Referenced by THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), SavePrimitive(), TPaveStatsEditor::SetModel(), and UseCurrentStyle().
Int_t TPaveStats::GetOptStat | ( | ) | const |
Definition at line 257 of file TPaveStats.cxx.
References fOptStat, TStyle::GetOptStat(), gStyle, kTakeStyle, and TObject::TestBit().
Referenced by THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), SavePrimitive(), TPaveStatsEditor::SetModel(), and UseCurrentStyle().
TObject* TPaveStats::GetParent | ( | ) | const [inline] |
void TPaveStats::Paint | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TPaveText.
Definition at line 329 of file TPaveStats.cxx.
References TMath::Abs(), xmlio::Class, TPave::ConvertNDCtoPad(), TString::Data(), TPaveText::fLabel, TPaveText::fLines, TPaveText::fMargin, fOptStat, TBox::fX1, TBox::fX2, TBox::fY1, TBox::fY2, TPave::GetBorderSize(), TObject::GetDrawOption(), TAttFill::GetFillColor(), TPaveText::GetSize(), TAttText::GetTextColor(), TAttText::GetTextFont(), TAttText::GetTextSize(), TLatex::GetXsize(), gPad, latex(), TString::Length(), line, TMath::Max(), TMath::Min(), nlines, TPave::PaintPave(), TIter::Reset(), TAttText::SetTextFont(), TAttText::SetTextSize(), strlcpy(), title, w, x1, and x2.
virtual void TPaveStats::InsertText | ( | const char * | ) | [inline, virtual] |
virtual void TPaveStats::InsertLine | ( | ) | [inline, virtual] |
void TPaveStats::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TPaveText.
Definition at line 516 of file TPaveStats.cxx.
References xmlio::Class, TObject::ClassName(), TROOT::ClassSaved(), TString::Contains(), TPave::fBorderSize, TPave::fOption, TBox::fX1, TPave::fX1NDC, TBox::fX2, TPave::fX2NDC, TBox::fY1, TPave::fY1NDC, TBox::fY2, TPave::fY2NDC, TPave::GetName(), GetOptFit(), GetOptStat(), gROOT, TAttFill::SaveFillAttributes(), TAttLine::SaveLineAttributes(), TPaveText::SaveLines(), and TAttText::SaveTextAttributes().
void TPaveStats::SaveStyle | ( | ) | [virtual] |
Definition at line 269 of file TPaveStats.cxx.
References TString::Data(), fFitFormat, fOptFit, fOptStat, fStatFormat, gStyle, TStyle::SetFitFormat(), TStyle::SetOptFit(), TStyle::SetOptStat(), and TStyle::SetStatFormat().
virtual void TPaveStats::SetMargin | ( | Float_t | ) | [inline, virtual] |
void TPaveStats::SetFitFormat | ( | const char * | format = "5.4g" |
) | [virtual] |
Definition at line 283 of file TPaveStats.cxx.
References fFitFormat.
Referenced by THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), TPaveStats(), and UseCurrentStyle().
void TPaveStats::SetStatFormat | ( | const char * | format = "6.4g" |
) | [virtual] |
Definition at line 318 of file TPaveStats.cxx.
References fStatFormat.
Referenced by THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), TPaveStats(), and UseCurrentStyle().
void TPaveStats::SetOptFit | ( | Int_t | fit = 1 |
) |
Definition at line 294 of file TPaveStats.cxx.
References fOptFit, kTakeStyle, and TObject::ResetBit().
Referenced by TPaveStatsEditor::DoFitOptions(), THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), and UseCurrentStyle().
void TPaveStats::SetOptStat | ( | Int_t | stat = 1 |
) |
Definition at line 306 of file TPaveStats.cxx.
References fOptStat, kTakeStyle, and TObject::ResetBit().
Referenced by TPaveStatsEditor::DoStatOptions(), h1analysisProxy_Terminate(), THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), h1analysis::Terminate(), and UseCurrentStyle().
void TPaveStats::SetParent | ( | TObject * | obj | ) | [inline] |
Definition at line 62 of file TPaveStats.h.
References fParent.
Referenced by THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), and TGraphPainter::PaintStats().
void TPaveStats::UseCurrentStyle | ( | ) | [virtual] |
Reimplemented from TPaveText.
Definition at line 587 of file TPaveStats.cxx.
References TPave::GetBorderSize(), TAttFill::GetFillColor(), TAttFill::GetFillStyle(), GetFitFormat(), TStyle::GetFitFormat(), TStyle::GetOptFit(), GetOptFit(), GetOptStat(), TStyle::GetOptStat(), TStyle::GetStatBorderSize(), TStyle::GetStatColor(), TStyle::GetStatFont(), TStyle::GetStatFontSize(), GetStatFormat(), TStyle::GetStatFormat(), TStyle::GetStatH(), TStyle::GetStatStyle(), TStyle::GetStatTextColor(), TStyle::GetStatW(), TStyle::GetStatX(), TStyle::GetStatY(), TAttText::GetTextColor(), TAttText::GetTextFont(), TAttText::GetTextSize(), TPave::GetX1NDC(), TPave::GetX2NDC(), TPave::GetY1NDC(), TPave::GetY2NDC(), gStyle, TStyle::IsReading(), TPave::SetBorderSize(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), SetFitFormat(), TStyle::SetFitFormat(), TStyle::SetOptFit(), SetOptFit(), SetOptStat(), TStyle::SetOptStat(), TStyle::SetStatBorderSize(), TStyle::SetStatColor(), TStyle::SetStatFontSize(), SetStatFormat(), TStyle::SetStatFormat(), TStyle::SetStatH(), TStyle::SetStatStyle(), TStyle::SetStatTextColor(), TStyle::SetStatW(), TStyle::SetStatX(), TStyle::SetStatY(), TAttText::SetTextColor(), TAttText::SetTextFont(), TAttText::SetTextSize(), TPave::SetX1NDC(), TPave::SetX2NDC(), TPave::SetY1NDC(), and TPave::SetY2NDC().
virtual void TPaveStats::DeleteText | ( | ) | [inline, virtual] |
virtual void TPaveStats::EditText | ( | ) | [inline, virtual] |
virtual const char* TPaveStats::GetFitFormat | ( | ) | const [inline, virtual] |
virtual const char* TPaveStats::GetStatFormat | ( | ) | const [inline, virtual] |
Int_t TPaveStats::GetOptFit | ( | ) | const |
Int_t TPaveStats::GetOptStat | ( | ) | const |
TObject* TPaveStats::GetParent | ( | ) | const [inline] |
virtual void TPaveStats::InsertText | ( | const char * | ) | [inline, virtual] |
virtual void TPaveStats::InsertLine | ( | ) | [inline, virtual] |
virtual void TPaveStats::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TPaveText.
virtual void TPaveStats::SaveStyle | ( | ) | [virtual] |
virtual void TPaveStats::SetMargin | ( | Float_t | ) | [inline, virtual] |
virtual void TPaveStats::SetFitFormat | ( | const char * | format = "5.4g" |
) | [virtual] |
virtual void TPaveStats::SetStatFormat | ( | const char * | format = "6.4g" |
) | [virtual] |
void TPaveStats::SetOptFit | ( | Int_t | fit = 1 |
) |
void TPaveStats::SetOptStat | ( | Int_t | stat = 1 |
) |
void TPaveStats::SetParent | ( | TObject * | obj | ) | [inline] |
virtual void TPaveStats::UseCurrentStyle | ( | ) | [virtual] |
Reimplemented from TPaveText.
Int_t TPaveStats::fOptFit [protected] |
Definition at line 31 of file TPaveStats.h.
Referenced by GetOptFit(), SaveStyle(), SetOptFit(), and TPaveStats().
Int_t TPaveStats::fOptStat [protected] |
Definition at line 32 of file TPaveStats.h.
Referenced by GetOptStat(), Paint(), SaveStyle(), SetOptStat(), and TPaveStats().
TString TPaveStats::fFitFormat [protected] |
Definition at line 33 of file TPaveStats.h.
Referenced by GetFitFormat(), SaveStyle(), and SetFitFormat().
TString TPaveStats::fStatFormat [protected] |
Definition at line 34 of file TPaveStats.h.
Referenced by GetStatFormat(), SaveStyle(), and SetStatFormat().
TObject* TPaveStats::fParent [protected] |
Definition at line 35 of file TPaveStats.h.
Referenced by GetParent(), SetParent(), TPaveStats(), and ~TPaveStats().
TObject* TPaveStats::fParent [protected] |
Definition at line 35 of file TPaveStats.h.