49 const char *
name=0,
const char *title=0,
virtual void Print(Option_t *chopt="") const
Print the list of histograms.
virtual void RecursiveRemove(TObject *obj)
Recursively remove object from the list of histograms.
TH1 * GetHistogram() const
Returns a pointer to the histogram used to draw the axis Takes into account the two following cases...
The Histogram stack class.
THStack & operator=(const THStack &)
TAxis * GetXaxis() const
Get x axis of the histogram used to draw the stack.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual Long64_t Merge(TCollection *li, TFileMergeInfo *info)
Merge the THStack in the TList into this stack.
virtual void Draw(Option_t *chopt="")
Draw this multihist with its current attributes.
virtual void Paint(Option_t *chopt="")
Paint the list of histograms.
#define ClassDef(name, id)
virtual Double_t GetMaximum(Option_t *option="")
returns the maximum of all added histograms returns the maximum of all histograms if option "nostack"...
TObjArray * GetStack()
Return pointer to Stack. Build it if not yet done.
The TNamed class is the base class for all named ROOT classes.
virtual void ls(Option_t *option="") const
List histograms in the stack.
virtual void Modified()
invalidate sum of histograms
virtual ~THStack()
THStack destructor.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to each graph.
void BuildStack()
build sum of all histograms Build a separate list fStack containing the running sum of all histograms...
Using a TBrowser one can browse all ROOT objects.
virtual void SetMinimum(Double_t minimum=-1111)
Set minimum.
virtual void SetHistogram(TH1 *h)
Class to manage histogram axis.
TIter begin() const
Get iterator over internal hists list.
Collection abstract base class.
THStack()
THStack default constructor.
static TIter End()
Pointing to the element after the last - to a nullptr value in our case.
virtual void Browse(TBrowser *b)
Browse.
virtual void Add(TH1 *h, Option_t *option="")
add a new histogram to the list Only 1-d and 2-d histograms currently supported.
Mother of all ROOT objects.
TAxis * GetYaxis() const
Get x axis of the histogram used to draw the stack.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Int_t GetNhists() const
Return the number of histograms in the stack.
virtual void SetMaximum(Double_t maximum=-1111)
Set maximum.
virtual Double_t GetMinimum(Option_t *option="")
returns the minimum of all added histograms returns the minimum of all histograms if option "nostack"...
TH1 * fHistogram
Pointer to array of sums of TH1.