|
Class Reference for E1039 Core & Analysis Software
|
Functions | |
| void | FindFilledRange (TH1 *h1, int &bin_lo, int &bin_hi) |
| Find the lowest and highest bins ("bin_lo" and "bin_hi") out of non-empty bins of "h1". More... | |
| void | AutoSetRange (TH1 *h1, const int margin_lo=5, const int margin_hi=5) |
| Adjust the axis range via "h1->GetXaxis()->SetRange(bin_lo, bin_hi)" to zoom up non-empty bins. More... | |
| void | AutoSetRangeX (TH2 *h2, const int margin_lo=5, const int margin_hi=5) |
| void | AutoSetRangeY (TH2 *h2, const int margin_lo=5, const int margin_hi=5) |
| void UtilHist::AutoSetRange | ( | TH1 * | h1, |
| const int | margin_lo = 5, |
||
| const int | margin_hi = 5 |
||
| ) |
Adjust the axis range via "h1->GetXaxis()->SetRange(bin_lo, bin_hi)" to zoom up non-empty bins.
Definition at line 17 of file UtilHist.cc.
References FindFilledRange().
Referenced by AnaChamHit::AnalyzeTree(), and CalibData::DrawHistHit().
Here is the call graph for this function:
Here is the caller graph for this function:| void UtilHist::AutoSetRangeX | ( | TH2 * | h2, |
| const int | margin_lo = 5, |
||
| const int | margin_hi = 5 |
||
| ) |
Definition at line 29 of file UtilHist.cc.
References FindFilledRange().
Referenced by AnaTrigSignal::End().
Here is the call graph for this function:
Here is the caller graph for this function:| void UtilHist::AutoSetRangeY | ( | TH2 * | h2, |
| const int | margin_lo = 5, |
||
| const int | margin_hi = 5 |
||
| ) |
Definition at line 43 of file UtilHist.cc.
References FindFilledRange().
Here is the call graph for this function:| void UtilHist::FindFilledRange | ( | TH1 * | h1, |
| int & | bin_lo, | ||
| int & | bin_hi | ||
| ) |
Find the lowest and highest bins ("bin_lo" and "bin_hi") out of non-empty bins of "h1".
Definition at line 7 of file UtilHist.cc.
Referenced by AutoSetRange(), AutoSetRangeX(), and AutoSetRangeY().
Here is the caller graph for this function: