Berkeley Nuclear Data Software
|
#include <HistHelpers.h>
Static Public Member Functions | |
static TH1 * | scintResConvolve (TH1 *a_hist, double a_A, double a_B, double a_C) |
static double | getIntegralCounts (double a_start, double a_stop, TH1 *a_hist, double &a_error) |
static double | getBinWeightedAvg (double a_start, double a_stop, TH1 *a_hist, double &a_error) |
static std::vector< double > | getGaussSeed (TH1 *a_hist) |
this namespace is intended to hold function generically useful for manipulating cern root histograms
|
static |
|
static |
this function attempts to guess at pararmters for a gaussian fit of the supplied histogram. No attempt at estimating background is included
|
static |
this function computes the approximate integral of a histogram from start to stop in the user range not the bin number. The error of the integral is made available via the a_error argument. It is assumed in the function that the start value is less than the stop value additionally the value of the bins should be a number quantity not normalizd by the axis (ie counts, not counts/MeV)
this function computes the approximate integral of a histogram from start to stop in the user range not the bin number. If bins don't fully overlap with the edge of the
|
static |
this function is used to convolve a histogram with a scintillator resolution function using a Monte Carlo method.
create a copy of the hist with a new name