Jungfrau stuff updated

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorCalibration@48 113b152e-814d-439b-b186-022a431db7b5
This commit is contained in:
jungmann_j
2014-04-08 12:42:57 +00:00
parent 0f881677d2
commit 9297b14500
9 changed files with 91 additions and 41 deletions

View File

@ -235,7 +235,7 @@ energyCalibration::energyCalibration() :
fspectrum(NULL),
#endif
funcs(NULL),
plot_flag(1),
plot_flag(1), // fit parameters output to screen
cs_flag(1)
{
@ -441,7 +441,7 @@ TF1* energyCalibration::fitFunction(TF1 *fun, TH1 *h1, Double_t *mypar, Double_t
strcpy(fname, fun->GetName());
if (plot_flag) {
h1->Fit(fname,"R");
h1->Fit(fname,"R0Q");
} else
h1->Fit(fname,"R0Q");
@ -526,4 +526,4 @@ TGraphErrors* energyCalibration::calibrate(int nscan, Double_t *en, Double_t *ee
Fit data is empty