1 #ifndef KV_LIGHT_ENERGY_CSI_H
2 #define KV_LIGHT_ENERGY_CSI_H
4 #include "KVCalibrator.h"
5 #include "KVValueRange.h"
#define ClassDefOverride(name, id)
Base class for all detector calibrations.
Light-energy calibration function for CsI detectors using a Fermi-function dependence on energy for d...
void fit_with_a3_fixed(double a3)
void fit_with_a3_range(double a3_min, double a3_max)
KVLightEnergyCsI(Bool_t make_func=kTRUE)
std::unique_ptr< TF1 > inv_fit_func
Double_t CalculLumiere(Double_t *, Double_t *)
std::optional< KVValueRange< double > > a3_range
default fixed value of a4 parameter for fits
Double_t Compute(Double_t chan, const KVNameValueList &z_and_a="") const override
std::optional< KVValueRange< double > > a4_range
optional range for a3 parameter
Bool_t CheckParameters(const KVNameValueList &z_and_a) const
optional range for a4 parameter
void fit_with_a4_range(double a4_min, double a4_max)
void SetZandA(double z, double a)
Double_t Invert(Double_t, const KVNameValueList &z_and_a="") const override
void invFit(TH1 *, int z, int a, std::optional< KVValueRange< Double_t >> fit_lite_range={})
void Fit(TH1 *, int z, int a, std::optional< KVValueRange< Double_t >> fit_e_range={})
Double_t a4_fit
default fixed value of a3 parameter for fits
Double_t InvCalc(Double_t *, Double_t *)
void fit_with_a4_fixed(double a4)
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Range of values specified by minimum, maximum.