added moench03 T CPU data structure

This commit is contained in:
2016-12-05 16:00:34 +01:00
parent ed7d6b2995
commit 37ba8f9a71
12 changed files with 5214 additions and 3 deletions

View File

@@ -317,6 +317,16 @@ class energyCalibration {
TF1 *fitSpectrum(TH1 *h1, Double_t *mypar, Double_t *emypar);
/**
fits histogram with the spectrum
\param h1 1d-histogram to be fitted
\param mypar pointer to fit parameters array
\param emypar pointer to fit parameter errors
\returns the fitted function - can be used e.g. to get the Chi2 or similar
*/
TF1 *fitSpectrumPixel(TH1 *h1, Double_t *mypar, Double_t *emypar);
/**
calculates gain and offset for the set of inflection points
\param nscan number of energy scans