Definition at line 17 of file TH1Merger.h.
#include </home/sftnight/build/workspace/root-makedoc-v618/rootspi/rdoc/src/v6-18-00-patches/hist/hist/src/TH1Merger.h>
◆ EMergerType
Enumerator |
---|
kNotCompatible | |
kAllSameAxes | |
kAllNoLimits | |
kHasNewLimits | |
kAllLabel | |
kAutoP2HaveLimits | |
kAutoP2NeedLimits | |
Definition at line 20 of file TH1Merger.h.
◆ TH1Merger()
◆ ~TH1Merger()
TH1Merger::~TH1Merger |
( |
| ) |
|
|
inline |
◆ AutoP2BufferMerge()
Bool_t TH1Merger::AutoP2BufferMerge |
( |
| ) |
|
|
private |
◆ AutoP2BuildAxes()
Determine final boundaries and number of bins for histograms created in power-of-2 autobin mode.
Return kTRUE if compatible, updating fNewXaxis accordingly; return kFALSE if something wrong.
The histograms are not merge-compatible if
1. have different variable-size bins
2. larger bin size is not an integer multiple of the smaller one
3. the final estimated range is smalle then the bin size
Definition at line 77 of file TH1Merger.cxx.
◆ AutoP2Merge()
Bool_t TH1Merger::AutoP2Merge |
( |
| ) |
|
|
private |
◆ AxesHaveLimits()
Bool_t TH1Merger::AxesHaveLimits |
( |
const TH1 * |
h | ) |
|
|
static |
◆ BufferMerge()
Bool_t TH1Merger::BufferMerge |
( |
| ) |
|
|
private |
◆ CheckForDuplicateLabels()
Int_t TH1Merger::CheckForDuplicateLabels |
( |
const TH1 * |
hist | ) |
|
|
static |
Check if histogram has duplicate labels Return an integer with bit set correponding on the axis that has duplicate labels e.g.
duplicate labels on x axis : return 1 duplicate labels on x and z axis : return 5
Definition at line 914 of file TH1Merger.cxx.
◆ CopyBuffer()
void TH1Merger::CopyBuffer |
( |
TH1 * |
hsrc, |
|
|
TH1 * |
hdes |
|
) |
| |
|
private |
◆ DefineNewAxes()
void TH1Merger::DefineNewAxes |
( |
| ) |
|
|
private |
Function to define new histogram axis when merging It is call only in case of merging with different axis or with the buffer (kHasNewLimits)
Definition at line 478 of file TH1Merger.cxx.
◆ DifferentAxesMerge()
Bool_t TH1Merger::DifferentAxesMerge |
( |
| ) |
|
|
private |
Merged histogram when axis can be different.
Histograms are merged looking at bin center positions
Definition at line 797 of file TH1Merger.cxx.
◆ ExamineHistograms()
Examine the list of histograms to find out which type of Merge we need to do Pass the input list containing the histogram to merge and h0 which is the initial histogram on which all the histogram of the list will be merged This are the possible cases:
- 1. All histogram have the same axis (allSameLimits = true)
- 2. Histogram have different axis but compatible (allSameLimits = false) and sameLimitsX,Y,Z specifies which axis has different limits
- 3. Histogram do not have limits (so the Buffer is used) allHaveLimits = false
- 3b. One histogram has limits the other not : allHaveLimits = false AND initialLimitsFound = true
- 4. Histogram Have labels = allHaveLabels = true
Definition at line 216 of file TH1Merger.cxx.
◆ FindBinNumber()
◆ FindFixBinNumber()
static Int_t TH1Merger::FindFixBinNumber |
( |
Int_t |
ibin, |
|
|
const TAxis & |
inAxis, |
|
|
const TAxis & |
outAxis |
|
) |
| |
|
inlinestatic |
◆ HasDuplicateLabels()
Find a duplicate labels in an axis label list.
Definition at line 887 of file TH1Merger.cxx.
◆ LabelMerge()
Bool_t TH1Merger::LabelMerge |
( |
| ) |
|
|
private |
◆ operator()()
Bool_t TH1Merger::operator() |
( |
| ) |
|
Function performing the actual merge.
Definition at line 27 of file TH1Merger.cxx.
◆ SameAxesMerge()
Bool_t TH1Merger::SameAxesMerge |
( |
| ) |
|
|
private |
◆ fH0
◆ fHClone
histogram on which the list is merged
Definition at line 108 of file TH1Merger.h.
◆ fInputList
TList TH1Merger::fInputList |
|
private |
copy of fH0 - managed by this class
Definition at line 109 of file TH1Merger.h.
◆ fNewAxisFlag
UInt_t TH1Merger::fNewAxisFlag |
|
private |
◆ fNewXAxis
TAxis TH1Merger::fNewXAxis |
|
private |
◆ fNewYAxis
TAxis TH1Merger::fNewYAxis |
|
private |
◆ fNewZAxis
TAxis TH1Merger::fNewZAxis |
|
private |
◆ fNoCheck
◆ fNoLabelMerge
The documentation for this class was generated from the following files: