TH3S


class description - source file - inheritance tree

class TH3S : public TH3, public TArrayS


    public:
TH3S TH3S() TH3S TH3S(const char* name, const char* title, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t ylow, Axis_t yup, Int_t nbinsz, Axis_t zlow, Axis_t zup) TH3S TH3S(const char* name, const char* title, Int_t nbinsx, Float_t* xbins, Int_t nbinsy, Float_t* ybins, Int_t nbinsz, Float_t* zbins) TH3S TH3S(const char* name, const char* title, Int_t nbinsx, Double_t* xbins, Int_t nbinsy, Double_t* ybins, Int_t nbinsz, Double_t* zbins) TH3S TH3S(const TH3S& h3s) virtual void ~TH3S() virtual void AddBinContent(Int_t bin) virtual void AddBinContent(Int_t bin, Stat_t w) static TClass* Class() virtual void Copy(TObject& hnew) virtual TH1* DrawCopy(Option_t* option) virtual Stat_t GetBinContent(Int_t bin) const virtual TClass* IsA() const TH3S& operator=(const TH3S& h1) virtual void Reset(Option_t* option) virtual void SetBinContent(Int_t bin, Stat_t content) virtual void SetBinsLength(Int_t nx) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


Class Description

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*
*-*  The 3-D histogram classes derived from the 1-D histogram classes.
*-*  all operations are supported (fill, fit).
*-*  Drawing is currently restricted to one single option.
*-*  A cloud of points is drawn. The number of points is proportional to
*-*  cell content.
*-*

  TH3C a 3-D histogram with one byte per cell (char)
  TH3S a 3-D histogram with two bytes per cell (short integer)
  TH3F a 3-D histogram with four bytes per cell (float)
  TH3D a 3-D histogram with eight bytes per cell (double)

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

TH3S(): TH3()

~TH3S()

TH3S(const char *name,const char *title,Int_t nbinsx,Axis_t xlow,Axis_t xup ,Int_t nbinsy,Axis_t ylow,Axis_t yup ,Int_t nbinsz,Axis_t zlow,Axis_t zup) :TH3(name,title,nbinsx,xlow,xup,nbinsy,ylow,yup,nbinsz,zlow,zup)
*-*-*-*-*-*-*-*-*Normal constructor for fix bin size 3-D histograms*-*-*-*-*
*-*              ==================================================

TH3S(const char *name,const char *title,Int_t nbinsx,Float_t *xbins ,Int_t nbinsy,Float_t *ybins ,Int_t nbinsz,Float_t *zbins) :TH3(name,title,nbinsx,xbins,nbinsy,ybins,nbinsz,zbins)
*-*-*-*-*-*-*-*Normal constructor for variable bin size 3-D histograms*-*-*-*
*-*            =======================================================

TH3S(const char *name,const char *title,Int_t nbinsx,Double_t *xbins ,Int_t nbinsy,Double_t *ybins ,Int_t nbinsz,Double_t *zbins) :TH3(name,title,nbinsx,xbins,nbinsy,ybins,nbinsz,zbins)
*-*-*-*-*-*-*-*Normal constructor for variable bin size 3-D histograms*-*-*-*
*-*            =======================================================

TH3S(const TH3S &h3s)

void AddBinContent(Int_t bin)
*-*-*-*-*-*-*-*-*-*Increment bin content by 1*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                ==========================

void AddBinContent(Int_t bin, Stat_t w)
*-*-*-*-*-*-*-*-*-*Increment bin content by w*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                ==========================

void Copy(TObject &newth3)
*-*-*-*-*-*-*Copy this 3-D histogram structure to newth3*-*-*-*-*-*-*-*-*-*
*-*          ===========================================

TH1* DrawCopy(Option_t *option)

Stat_t GetBinContent(Int_t bin) const

void Reset(Option_t *option)
*-*-*-*-*-*-*-*Reset this histogram: contents, errors, etc*-*-*-*-*-*-*-*
*-*            ===========================================

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



Inline Functions


               void SetBinContent(Int_t bin, Stat_t content)
               void SetBinsLength(Int_t nx)
              TH3S& operator=(const TH3S& h1)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)


Author: Rene Brun 27/10/95
Last update: root/hist:$Name: $:$Id: TH3.cxx,v 1.8 2000/12/13 15:13:51 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.