StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StMultiH1F Class Reference

#include <StMultiH1F.h>

Inheritance diagram for StMultiH1F:

Public Member Functions

 StMultiH1F (const char *name, const char *title, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy)
 
 StMultiH1F (const char *name, const char *title, Int_t nbinsx, Double_t *xbins, Int_t nbinsy)
 
virtual void Draw (Option_t *option="")
 
virtual void Draw2F (Option_t *option="")
 
virtual void SetNames (Int_t ybin, const char *name)
 
virtual void SetNames (Float_t ybin, const char *name)
 
virtual const char * GetNames (Int_t ybin) const
 
virtual const char * GetNames (Float_t ybin) const
 
virtual TH2 * Rebin (Int_t ngroup, const char *newname)
 
virtual TH2 * Rebin (Int_t ngroup, const char *newname, const Double_t *xbins)
 
virtual void SetBarOffset (Float_t offset)
 
virtual Double_t GetNonZeroMinimum () const
 
virtual Double_t GetNonZeroMaximum () const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
virtual TH1F * GetSubHist (Int_t ybin)
 
virtual TH1F * GetAHist ()
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Saves subhistograms (TH1F) along with this composite object.
 

Protected Member Functions

virtual TH1F * XProjection (const char *name, Int_t ybin=-1)
 

Protected Attributes

TString names [StMultiH1FMaxBins]
 
Float_t fMOffset
 
TH1F ** subHists
 
TH1F * aHist
 

Detailed Description

StMultiH1F allows multiple similar TH1F histograms to be easily plotted on one graph

Definition at line 17 of file StMultiH1F.h.


The documentation for this class was generated from the following files: