TH1S
class description - source file - inheritance tree
protected:
TH1S TH1S(Int_t dim, Text_t* name, Text_t* title, Int_t nbinsx, Axis_t xlow, Axis_t xup)
TH1S TH1S(Int_t dim, Text_t* name, Text_t* title, Int_t nbinsx, Axis_t* xbins)
public:
TH1S TH1S()
TH1S TH1S(Text_t* name, Text_t* title, Int_t nbinsx, Axis_t xlow, Axis_t xup)
TH1S TH1S(Text_t* name, Text_t* title, Int_t nbinsx, Axis_t* xbins)
TH1S TH1S(TH1S& h1s)
virtual void ~TH1S()
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()
TH1S& operator=(TH1S& 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)
See also
-
TH2S, TH3S
*-*-*-*-*-*-*-*-*-*-*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
*-*
/*
*/
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
TH1S(): TH1(), TArrayS()
TH1S(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), TArrayS()
TH1S(Int_t dim,const Text_t *name,const Text_t *title,Int_t nbins,Axis_t *xbins)
: TH1(name,title,nbins,xbins), TArrayS()
TH1S(const Text_t *name,const Text_t *title,Int_t nbins,Axis_t xlow,Axis_t xup)
: TH1(name,title,nbins,xlow,xup), TArrayS()
Create a 1-Dim histogram with fix bins of type short
====================================================
(see TH1::TH1 for explanation of parameters)
TH1S(const Text_t *name,const Text_t *title,Int_t nbins,Axis_t *xbins)
: TH1(name,title,nbins,xbins), TArrayS()
Create a 1-Dim histogram with variable bins of type short
=========================================================
(see TH1::TH1 for explanation of parameters)
~TH1S()
TH1S(const TH1S &h1s)
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 &newth1)
TH1* DrawCopy(Option_t *option)
Stat_t GetBinContent(Int_t bin)
void Reset(Option_t *option)
Inline Functions
void SetBinContent(Int_t bin, Stat_t content)
void SetBinsLength(Int_t nx)
TH1S& operator=(TH1S& 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.