TPaveStats


class description - source file - inheritance tree

class TPaveStats : public TPaveText


    public:
TPaveStats TPaveStats() TPaveStats TPaveStats(Coord_t x1, Coord_t y1, Coord_t x2, Coord_t y2, Option_t* option = br) TPaveStats TPaveStats(TPaveStats&) virtual void ~TPaveStats() virtual TBox* AddBox(Float_t, Float_t, Float_t, Float_t) virtual TLine* AddLine(Float_t, Float_t, Float_t, Float_t) TClass* Class() virtual void DeleteText() virtual void EditText() virtual const Text_t* GetFormatFit() const virtual const Text_t* GetFormatStats() const Int_t GetOptFit() Int_t GetOptStat() virtual void InsertText(const Text_t*) virtual TClass* IsA() const virtual void ReadFile(const Text_t*, Option_t*, Int_t, Int_t) virtual void SaveStyle() virtual void SetAllWith(const Text_t*, Option_t*, Float_t) virtual void SetFormatFit(const Text_t* format = 5.4g) virtual void SetFormatStats(const Text_t* format = 6.4g) virtual void SetMargin(Float_t) void SetOptFit(Int_t fit = 1) void SetOptStat(Int_t stat = 1) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
Int_t fOptFit option Fit Int_t fOptStat option Stat TString fFormatFit Printing format for fit parameters TString fFormatStats Printing format for stats

Class Description

  A PaveStats is a PaveText to draw histogram statistics
 The type of information printed in the histogram statistics box
  can be selected via gStyle->SetOptStat(mode).
  or by editing an existing TPaveStats object via TPaveStats::SetOptStat(mode).
  The parameter mode can be = ourmen  (default = 001111)
    n = 1;  name of histogram is printed
    e = 1;  number of entries printed
    m = 1;  mean value printed
    r = 1;  rms printed
    u = 1;  number of underflows printed
    o = 1;  number of overflows printed
  Example: gStyle->SetOptStat(11);
           print only name of histogram and number of entries.

 The type of information about fit parameters printed in the histogram
 statistics box can be selected via the parameter mode.
  The parameter mode can be = pcev  (default = 0111)
    v = 1;  print name/values of parameters
    e = 1;  print errors (if e=1, v must be 1)
    c = 1;  print Chisquare/Number of degress of freedom
    p = 1;  print Probability
  Example: gStyle->SetOptFit(1011);
        or this->SetOptFit(1011);
           print fit probability, parameter names/values and errors.


TPaveStats(): TPaveText()
*-*-*-*-*-*-*-*-*-*-*pavetext default constructor*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  =============================

TPaveStats(Coord_t x1, Coord_t y1,Coord_t x2, Coord_t y2, Option_t *option) :TPaveText(x1,y1,x2,y2,option)
*-*-*-*-*-*-*-*-*-*-*pavetext normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================


~TPaveStats()
*-*-*-*-*-*-*-*-*-*-*pavetext default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ============================

void SaveStyle()
  Save This TPaveStats options in current style


void SetFormatFit(const Text_t *form)
 Change (i.e. set) the format for printing fit parameters in statistics box

void SetFormatStats(const Text_t *form)
 Change (i.e. set) the format for printing statistics

void Streamer(TBuffer &R__b)
 Stream an object of class TPaveStats.



Inline Functions


                TBox* AddBox(Float_t, Float_t, Float_t, Float_t)
               TLine* AddLine(Float_t, Float_t, Float_t, Float_t)
                 void DeleteText()
                 void EditText()
        const Text_t* GetFormatFit() const
        const Text_t* GetFormatStats() const
                Int_t GetOptFit()
                Int_t GetOptStat()
                 void InsertText(const Text_t*)
                 void ReadFile(const Text_t*, Option_t*, Int_t, Int_t)
                 void SetAllWith(const Text_t*, Option_t*, Float_t)
                 void SetMargin(Float_t)
                 void SetOptFit(Int_t fit = 1)
                 void SetOptStat(Int_t stat = 1)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
           TPaveStats TPaveStats(TPaveStats&)


Author: Rene Brun 15/03/99
Last update: 2.23/05 18/10/99 19.08.08 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.