TH1K


class description - source file - inheritance tree

class TH1K : public TH1, public TArrayF

    private:
void Sort() public:
TH1K TH1K() TH1K TH1K(const char* name, const char* title, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t k = 0) TH1K TH1K(const TH1K&) virtual void ~TH1K() static TClass* Class() virtual Int_t Fill(Axis_t x) virtual Int_t Fill(Axis_t x, Stat_t w) virtual Int_t Fill(const char* name, Stat_t w) virtual Stat_t GetBinContent(Int_t bin) const virtual Stat_t GetBinContent(Int_t bin, Int_t) const virtual Stat_t GetBinContent(Int_t bin, Int_t, Int_t) const virtual Stat_t GetBinError(Int_t bin) const virtual Stat_t GetBinError(Int_t bin, Int_t) const virtual Stat_t GetBinError(Int_t bin, Int_t, Int_t) const virtual TClass* IsA() const virtual void Reset(Option_t* option) virtual void SavePrimitive(ofstream& out, Option_t* option) void SetKOrd(Int_t k) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Int_t fReady ! Int_t fNIn Int_t fKOrd ! Int_t fKCur !

Class Description


TH1K(): TH1(), TArrayF()

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


~TH1K()

Int_t Fill(Axis_t x)
*-*-*-*-*-*-*-*-*-*Increment bin with abscissa X by 1*-*-*-*-*-*-*-*-*-*-*
*-*                ==================================
*-*
*-* if x is less than the low-edge of the first bin, the Underflow bin is incremented
*-* if x is greater than the upper edge of last bin, the Overflow bin is incremented
*-*
*-* If the storage of the sum of squares of weights has been triggered,
*-* via the function Sumw2, then the sum of the squares of weights is incremented
*-* by 1 in the bin corresponding to x.
*-*
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Stat_t GetBinContent(Int_t bin) const
*-*-*-*-*-*-*Return content of global bin number bin*-*-*-*-*-*-*-*-*-*-*-*
*-*          =======================================

Stat_t GetBinError(Int_t bin) const
*-*-*-*-*-*-*Return content of global bin error *-*-*-*-*-*-*-*-*-*-*-*
*-*          ===================================

void Reset(Option_t *option)

void SavePrimitive(ofstream &out, Option_t *option)
 Save primitive as a C++ statement(s) on output stream out

void Sort()



Inline Functions


              Int_t Fill(Axis_t x, Stat_t w)
              Int_t Fill(const char* name, Stat_t w)
             Stat_t GetBinContent(Int_t bin, Int_t) const
             Stat_t GetBinContent(Int_t bin, Int_t, Int_t) const
             Stat_t GetBinError(Int_t bin, Int_t) const
             Stat_t GetBinError(Int_t bin, Int_t, Int_t) const
               void SetKOrd(Int_t k)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
               TH1K TH1K(const TH1K&)


Author: Victor Perevoztchikov 21/02/2001
Last update: root/hist:$Name: $:$Id: TH1K.cxx,v 1.5 2002/01/24 11:39:29 rdm 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.