5#ifndef ISF_FASTCALOSIMEVENT_TFCS1DFunctionHistogram_h
6#define ISF_FASTCALOSIMEVENT_TFCS1DFunctionHistogram_h
25 static double linear(
double y1,
double y2,
double x1,
double x2,
double x);
26 static double non_linear(
double y1,
double y2,
double x1,
double x2,
static double linear(double y1, double y2, double x1, double x2, double x)
double sample_from_histovalues(double)
std::vector< float > m_HistoBorders
virtual double rnd_to_fct(double rnd) const
Function gets random number rnd in the range [0,1) as argument and returns function value.
static std::unique_ptr< double[]> histo_to_array(TH1 *)
double get_inverse(double rnd) const
static double get_maxdev(TH1 *, TH1D *)
TFCS1DFunctionHistogram()
static double sample_from_histo(TH1 *hist, double)
const std::vector< float > & get_HistoContents()
void Initialize(TH1 *hist, double)
std::vector< float > m_HistoContents
static double get_change(TH1 *)
static double non_linear(double y1, double y2, double x1, double x2, double x)
void smart_rebin_loop(TH1 *hist, double)
static TH1D * smart_rebin(TH1D *)
const std::vector< float > & get_HistoBorders()
virtual void rnd_to_fct(float value[], const float rnd[]) const
Function gets array of random numbers rnd[] in the range [0,1) as arguments and returns function valu...