#ifndef ROOT_TH1K
#define ROOT_TH1K
#include "TH1.h"
class TH1K : public TH1, public TArrayF {
private:
void Sort();
protected:
Int_t fReady;
Int_t fNIn;
Int_t fKOrd;
Int_t fKCur;
public:
TH1K();
TH1K(const char *name,const char *title,Int_t nbinsx,Double_t xlow,Double_t xup,Int_t k=0);
virtual ~TH1K();
virtual Int_t Fill(Double_t x);
virtual Int_t Fill(Double_t x,Double_t w){return TH1::Fill(x,w);}
virtual Int_t Fill(const char *name,Double_t w){return TH1::Fill(name,w);}
virtual Double_t GetBinContent(Int_t bin) const;
virtual Double_t GetBinContent(Int_t bin,Int_t) const {return GetBinContent(bin);}
virtual Double_t GetBinContent(Int_t bin,Int_t,Int_t) const {return GetBinContent(bin);}
virtual Double_t GetBinError(Int_t bin) const;
virtual Double_t GetBinError(Int_t bin,Int_t) const {return GetBinError(bin);}
virtual Double_t GetBinError(Int_t bin,Int_t,Int_t) const {return GetBinError(bin);}
virtual void Reset(Option_t *option="");
virtual void SavePrimitive(ostream &out, Option_t *option = "");
void SetKOrd(Int_t k){fKOrd=k;}
ClassDef(TH1K,1)
};
#endif
Last change: Wed Jun 25 08:46:43 2008
Last generated: 2008-06-25 08:46
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.