|
ATLAS Offline Software
|
Go to the documentation of this file.
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);
virtual double rnd_to_fct(double rnd) const
Function gets random number rnd in the range [0,1) as argument and returns function value.
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...
static double sample_from_histo(TH1 *hist, double)
static TH1D * smart_rebin(TH1D *)
std::vector< float > m_HistoContents
void smart_rebin_loop(TH1 *hist, double)
const std::vector< float > & get_HistoBorders()
static double linear(double y1, double y2, double x1, double x2, double x)
static double get_change(TH1 *)
static double non_linear(double y1, double y2, double x1, double x2, double x)
std::vector< float > m_HistoBorders
static double get_maxdev(TH1 *, TH1D *)
TFCS1DFunctionHistogram()
double sample_from_histovalues(double)
static std::unique_ptr< double[]> histo_to_array(TH1 *)
void Initialize(TH1 *hist, double)
const std::vector< float > & get_HistoContents()
double get_inverse(double rnd) const