TH1F


class description - source file - inheritance tree

class TH1F : public TH1, public TArrayF


    protected:
TH1F TH1F(Int_t dim, Text_t* name, Text_t* title, Int_t nbinsx, Axis_t xlow, Axis_t xup) TH1F TH1F(Int_t dim, Text_t* name, Text_t* title, Int_t nbinsx, Axis_t* xbins) public:
TH1F TH1F() TH1F TH1F(Text_t* name, Text_t* title, Int_t nbinsx, Axis_t xlow, Axis_t xup) TH1F TH1F(Text_t* name, Text_t* title, Int_t nbinsx, Axis_t* xbins) TH1F TH1F(TH1F& h1f) virtual void ~TH1F() virtual void AddBinContent(Int_t bin) virtual void AddBinContent(Int_t bin, Stat_t w) TClass* Class() virtual void Copy(TObject& hnew) virtual TH1* DrawCopy(Option_t* option) virtual Stat_t GetBinContent(Int_t bin) virtual TClass* IsA() TH1F& operator=(TH1F& 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)

Data Members



See also

TH2F, TH3F

Class Description

*-*-*-*-*-*-*-*-*-*-*The H I S T O G R A M   Classes*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ===============================
*-*
*-*  ROOT supports the following histogram types:
*-*
*-*   1-D histograms:
*-*      TH1C : histograms with one byte per channel. Maximum bin content = 255
*-*      TH1S : histograms with one short per channel. Maximum bin content = 65535
*-*      TH1F : histograms with one float per channel. Maximum precision 7 digits
*-*      TH1D : histograms with one double per channel. Maximum precision 14 digits
*-*
*-*   2-D histograms:
*-*      TH2C : histograms with one byte per channel. Maximum bin content = 255
*-*      TH2S : histograms with one short per channel. Maximum bin content = 65535
*-*      TH2F : histograms with one float per channel. Maximum precision 7 digits
*-*      TH2D : histograms with one double per channel. Maximum precision 14 digits
*-*
*-*   3-D histograms:
*-*      TH3C : histograms with one byte per channel. Maximum bin content = 255
*-*      TH3S : histograms with one short per channel. Maximum bin content = 65535
*-*      TH3F : histograms with one float per channel. Maximum precision 7 digits
*-*      TH3D : histograms with one double per channel. Maximum precision 14 digits
*-*
*-*   Profile histograms: See class TProfile
*-*
*-*- All histogram classes are derived from the base class TH1
*-*   The TH*C classes also inherit from the array class TArrayC.
*-*   The TH*S classes also inherit from the array class TArrayS.
*-*   The TH*F classes also inherit from the array class TArrayF.
*-*   The TH*D classes also inherit from the array class TArrayD.
*-*
*-*   Convention for numbering bins
*-*   =============================
*-*   For all histogram types: nbins, xlow, xup
*-*     bin = 0;       underflow bin
*-*     bin = 1;       first bin with low-edge xlow INCLUDED
*-*     bin = nbins;   last bin with upper-edge xup EXCLUDED
*-*     bin = nbins+1; overflow bin
*-*

/*

*/

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

TH1F(): TH1(), TArrayF()

TH1F(Int_t dim,const Text_t *name,const Text_t *title,Int_t nbins,Axis_t xlow,Axis_t xup) : TH1(name,title,nbins,xlow,xup), TArrayF()

TH1F(Int_t dim,const Text_t *name,const Text_t *title,Int_t nbins,Axis_t *xbins) : TH1(name,title,nbins,xbins), TArrayF()

TH1F(const Text_t *name,const Text_t *title,Int_t nbins,Axis_t xlow,Axis_t xup) : TH1(name,title,nbins,xlow,xup), TArrayF()
    Create a 1-Dim histogram with fix bins of type float
    ====================================================
           (see TH1::TH1 for explanation of parameters)


TH1F(const Text_t *name,const Text_t *title,Int_t nbins,Axis_t *xbins) : TH1(name,title,nbins,xbins), TArrayF()
    Create a 1-Dim histogram with variable bins of type float
    =========================================================
           (see TH1::TH1 for explanation of parameters)


TH1F(const TH1F &h)

~TH1F()

void Copy(TObject &newth1)

TH1* DrawCopy(Option_t *option)

Stat_t GetBinContent(Int_t bin)

void Reset(Option_t *option)



Inline Functions


               void AddBinContent(Int_t bin)
               void AddBinContent(Int_t bin, Stat_t w)
               void SetBinContent(Int_t bin, Stat_t content)
               void SetBinsLength(Int_t nx)
              TH1F& operator=(TH1F& h1)
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)


Author: Rene Brun 26/12/94
Last update: 2.22/09 13/07/99 11.20.05 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.