27 #ifndef ROOT_TObjArray
53 const char *
name=0,
const char *title=0,
virtual void RecursiveRemove(TObject *obj)
Recursively remove object from the list of histograms.
The Histogram stack class.
TAxis * GetXaxis() const
Get x axis of the histogram used to draw the stack.
THStack & operator=(const THStack &)
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 Modified()
invalidate sum of histograms
Int_t GetNhists() const
Return the number of histograms in the stack.
virtual ~THStack()
THStack destructor.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to each graph.
TAxis * GetYaxis() const
Get x axis of the histogram used to draw the stack.
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.
Collection abstract base class.
virtual void ls(Option_t *option="") const
List histograms in the stack.
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.
TH1 * GetHistogram() const
Returns a pointer to the histogram used to draw the axis Takes into account the two following cases...
Mother of all ROOT objects.
virtual void Print(Option_t *chopt="") const
Print the list of histograms.
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.