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() Int_t GetOptFit() Int_t GetOptStat() virtual void InsertText(Text_t*) virtual TClass* IsA() virtual void ReadFile(Text_t*, Option_t*, Int_t, Int_t) virtual void SaveStyle() virtual void SetAllWith(Text_t*, Option_t*, Float_t) 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

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




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()
              Int_t GetOptFit()
              Int_t GetOptStat()
               void InsertText(Text_t*)
               void ReadFile(Text_t*, Option_t*, Int_t, Int_t)
               void SetAllWith(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()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
         TPaveStats TPaveStats(TPaveStats&)


Author: Rene Brun 15/03/99
Last update: 2.21/08 15/03/99 17.38.32 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.