library: libHist
#include "TH3.h"

TH3S


class description - header file - source file - inheritance tree (.pdf)

class TH3S : public TH3, public TArrayS

Inheritance Chart:
TObject
<-
TNamed
TAttLine
TAttFill
TAttMarker
<-
TH1
TAtt3D
<-
TH3
TArray
<-
TArrayS
<-
TH3S

    public:
TH3S() TH3S(const char* name, const char* title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup, Int_t nbinsz, Double_t zlow, Double_t zup) TH3S(const char* name, const char* title, Int_t nbinsx, const Float_t* xbins, Int_t nbinsy, const Float_t* ybins, Int_t nbinsz, const Float_t* zbins) TH3S(const char* name, const char* title, Int_t nbinsx, const Double_t* xbins, Int_t nbinsy, const Double_t* ybins, Int_t nbinsz, const Double_t* zbins) TH3S(const TH3S& h3s) virtual ~TH3S() virtual void AddBinContent(Int_t bin) virtual void AddBinContent(Int_t bin, Double_t w) static TClass* Class() virtual void Copy(TObject& hnew) const virtual TH1* DrawCopy(Option_t* option = "") const virtual Double_t GetBinContent(Int_t bin) const virtual Double_t GetBinContent(Int_t bin, Int_t) const virtual Double_t GetBinContent(Int_t binx, Int_t biny, Int_t binz) const virtual TClass* IsA() const TH3S& operator=(const TH3S& h1) virtual void Reset(Option_t* option = "") virtual void SetBinContent(Int_t bin, Double_t content) virtual void SetBinContent(Int_t bin, Int_t, Double_t content) virtual void SetBinContent(Int_t binx, Int_t biny, Int_t binz, Double_t content) virtual void SetBinsLength(Int_t n = -1) 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)
  TH3I a 3-D histogram with four bytes per cell (32 bits integer)
  TH3F a 3-D histogram with four bytes per cell (float)
  TH3D a 3-D histogram with eight bytes per cell (double)

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
TH3S()
 Constructor.
~TH3S()
 Destructor.
TH3S(const char *name,const char *title,Int_t nbinsx,Double_t xlow,Double_t xup ,Int_t nbinsy,Double_t ylow,Double_t yup ,Int_t nbinsz,Double_t zlow,Double_t zup)
*-*-*-*-*-*-*-*-*Normal constructor for fix bin size 3-D histograms*-*-*-*-*
*-*              ==================================================
TH3S(const char *name,const char *title,Int_t nbinsx,const Float_t *xbins ,Int_t nbinsy,const Float_t *ybins ,Int_t nbinsz,const Float_t *zbins)
*-*-*-*-*-*-*-*Normal constructor for variable bin size 3-D histograms*-*-*-*
*-*            =======================================================
TH3S(const char *name,const char *title,Int_t nbinsx,const Double_t *xbins ,Int_t nbinsy,const Double_t *ybins ,Int_t nbinsz,const Double_t *zbins)
*-*-*-*-*-*-*-*Normal constructor for variable bin size 3-D histograms*-*-*-*
*-*            =======================================================
TH3S(const TH3S &h3s)
 Copy Constructor.
void AddBinContent(Int_t bin)
*-*-*-*-*-*-*-*-*-*Increment bin content by 1*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                ==========================
void AddBinContent(Int_t bin, Double_t w)
*-*-*-*-*-*-*-*-*-*Increment bin content by w*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                ==========================
void Copy(TObject &newth3)
*-*-*-*-*-*-*Copy this 3-D histogram structure to newth3*-*-*-*-*-*-*-*-*-*
*-*          ===========================================
TH1 * DrawCopy(Option_t *option)
 Draw copy.
Double_t GetBinContent(Int_t bin)
 Get bin content.
void Reset(Option_t *option)
*-*-*-*-*-*-*-*Reset this histogram: contents, errors, etc*-*-*-*-*-*-*-*
*-*            ===========================================
void SetBinContent(Int_t bin, Double_t content)
 Set bin content
void SetBinsLength(Int_t n)
 Set total number of bins including under/overflow
 Reallocate bin contents array
void Streamer(TBuffer &R__b)
 Stream an object of class TH3S.
TH3S& operator=(const TH3S &h1)
 Operator =
Double_t GetBinContent(Int_t bin)
Double_t GetBinContent(Int_t bin, Int_t)
void SetBinContent(Int_t bin, Double_t content)
void SetBinContent(Int_t bin, Int_t, Double_t content)

Author: Rene Brun 27/10/95
Last update: root/hist:$Name: $:$Id: TH3.cxx,v 1.81 2006/06/16 13:47:57 couet Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.