HOME ESR EXPERIMENTS LABS etc
E121 E127 E132 E125 E143 laser_cooling_2021 E142 Ê128 E146 E0052 E0018 E0028
  proton-capture on 118Te, Page 13 of 29  Not logged in ELOG logo
ID Date Author Category Subjectdown Year
  47   Sun Mar 15 17:12:40 2020 Laszlo, JanDetectorsnew Ortec spec amps  
We are now using new SpecAmps for the x-ray detectors from ORTEC, they deliver much improved resolution but have other strange effects as discribed in the next entry.
  368   Fri May 21 19:20:54 2021 LaszloGeneralmisalignment in the pattern2021
for some reason the event number of the target ON and OFF was misaligned with the pattern.
This means that the last few runs (run53, run52...) measured not in the target on phase but one before (at 10 instead of 11). Therefore, with these 
runs we measured the TargetOFF phase instead TargetON (that is why the pg peak seem to disappear...)
  269   Thu Mar 26 12:05:22 2020 LaszloCalibrationmeasurement of collimators 
The measurements were taken by using a caliper ruler, with precision of +/-0.05mm
  6   Fri Apr 5 06:05:55 2019 JanDAQmaking changes to the DAQ  
If you need to add or change a module of the VME crate you need to follow this proceedure:

1. stop DRASI
2. add/change module in esrdaq_2018/r4l-58/main.cfg 
   a. add module name and VME address: CAEN_V830 (0x00A00000) {}
   b. use BARRIER keyword between the modules
3. restart DRASI (e.g. ./pulser.sh)
4. check empty unpacker data output
   > empty --stream=r4l-58 --print --data
   should run without error and now have your new module event data
5. adjust unpacker in ~/e127/unpackexps/esr
   a. make sure you have a .spec file defining readout of you module, e.g. "vme_caen_v775.spec" 
   b. edit main_user_esr.spec
      - add module as e.g. "tdc[0] = VME_CAEN_V775(geom=0x2, crate=0);"
      - select "geom=0x1" value according to ascending order of all modules (0x1, 0x2, 0x3, ...)
   c. edit det_mapping.hh 
      - add SIGNAL() keyword for your module
      - e.g.: SIGNAL( TDC_1, esr.tdc[0].data[0],TDC_32, esr.tdc[0].data[31], DATA12); 
      - choose data format, e.g. "DATA12", as specified in module .spec-file
   d. compile your unpacker: 
      > make -j
   e. try it out:
      > ./esr --stream=r4l-58 --print --data
      - should run without errors 
      > ./esr --stream=r4l-58 --ntuple=RAW,/dir/file.root
      - root-file should have your new branches with your module data
  274   Wed Apr 8 23:02:24 2020 LaszloGenerallmd to measurement pairing list 
I use the following list of lmd files combined to a single root file for each measurement.
It is very important to highlight that sometimes the trigger==1 data got corrupted,massive number of trigger==2 like events appear on the detector as trigger==1 signal, because the gas jet target didn't switch off after its normal phase (gas jet remains ON during injection. Maybe some gas jet issue, maybe some bug in the pattern :/ ). To correct for this, one has to cut out these parts from the data. I did these cut outs by hand while looking at the event number vs I_ESR & density gas jet plot (see below). Probably this can be done also in a more automatized way, but I think this is not necessary. In the "124Xe with Scraper" data set it is only 1 time like this, in the 118Te data set 3 times. The other data sets seem fine to me.


-124Xe with scraper:
run090_0001.lmd run091_0001.lmd run092_0001.lmd run094_0001.lmd run095_0001.lmd run096_0001.lmd run098_0001.lmd run099_0001.lmd
if(!(i>1634880 && i<1652240)){do analysis} - (this if condition is valid only if one combines the lmd in numerical order)
(2. Xray calibration parameters)

-124Xe without scraper:

run100_0001.lmd run101_0001.lmd run102_0001.lmd run104_0001.lmd
if(true){do analysis}
(2. Xray calibration parameters)

-118Te with scraper:
run051_0001.lmd run053_0001.lmd run055_0001.lmd run057_0001.lmd run059_0001.lmd run064_0001.lmd run066_0001.lmd
run052_0001.lmd run054_0001.lmd run056_0001.lmd run058_0001.lmd run060_0001.lmd run065_0001.lmd run067_0001.lmd
Changing Xray cables!
run068_0001.lmd run070_0001.lmd run072_0001.lmd run074_0001.lmd run076_0001.lmd run078_0001.lmd run080_0001.lmd run082_0001.lmd run084_0001.lmd run086_0001.lmd
run069_0001.lmd run071_0001.lmd run073_0001.lmd run075_0001.lmd run077_0001.lmd run079_0001.lmd run081_0001.lmd run083_0001.lmd run085_0001.lmd run087_0001.lmd

For Xray analysis:
1. dataset:
Xray[2] = 90 degree Xray[1]=145degree. The timing is switched:
if(!(i>1801830 && i<1807810) && !(i>2348370 && i<2355110)){
if(t_Xray[2]>0) Xray[1] ->Fill();
if(t_Xray[1]>0) Xray[2] ->Fill();
}
(1. Xray calibration parameters --> invalid!)
2. dataset:
if(!(i>5488450-2507171 && i<6125720-2507171)){do analysis}
(2. Xray calibration parameters)

For Si analysis:
if(trigger==1 && !(i>1801830 && i<1807810) && !(i>2348370 && i<2355110) && !(i>5488450 && i<6125720) ){do analysis}
(1. Xray calibration parameters)

-124Xe with scraper - low rate measurement
run046_0001.lmd run047_0001.lmd run047_0003.lmd run048_0002.lmd run049_0002.lmd run050_0001.lmd
run046_0002.lmd run047_0002.lmd run048_0001.lmd run049_0001.lmd run049_0003.lmd run050_0002.lmd
if(true){do analysis}
(1. Xray calibration parameters --> invalid!)


Regarding the gain matching, I assumed that the same 2*16 factors can be used for all data sets, since we didn't change bias voltage (the current remained roughly also the same) and also the detector didn't get any serious radiation damage (this needs to be confirmed!).
A more detailed anaylsis will come on the gain matching after the Easter holiday.

  439   Tue May 25 08:36:15 2021 JanGenerallessons learned2021
1. before using stoch. cooling in ESR, boot and update the windows PC
2. better diagnostics for low energy/intensity beam-target overlapp in ESR is needed (either a clever analysis or a new detector)
more to come
  280   Thu Apr 30 22:55:45 2020 LaszloCalibrationinverse square law test 
I have made also the inverse square law fits. We have data only for 90degre with the 241Am source, but both for the 1. and 2. calibrations. The 1. and 2. calibration data sets treated separate.
2 peaks were investigated, 59.5keV and 26.3keV, at two distances 184.8mm and 217.3mm. These distances are the sum of 4 distances:
a = width of plastic head. uncert.: +/- 0.05mm, measured with caliper.
b = width of the brass collimator. uncert.: +/- 0.05mm, measured with caliper.
c = width of protector plastic ring. uncert.: +/- 0.05mm, measured with caliper.
d= distance of the paper head. uncert: +/- 0.5mm, judged by the eye :)

The Be window and the dead layer of the Ge detector is not taken into account.

The distances calculated as D=a+b+c+d.

The conclusion is that the uncertainty coming from the distance measurements are negligible compared to the other uncertainties. The data obey the inverse square law.


> For all 3 detector the calibration data sets were combined to include the systematics in the fit results directly. Combining means not a weighted average, just simple all data points were included into the fit --> doubled efficiency value for most of the energies.
> The g(x) = a * (1-exp(-(x-c)/b)) * exp(-x/d) function was used to describe the behavior of the Germanium detectors for the whole range of energies (global behavior). From these fits the 80keV outlier point was excluded. This is very strange that it doesn't follow the trend, it would be nice to find out why not.
> Between 40-75keV a linear fit was carried out as well. This can also approximate quite well this local energy range, what we need for the K-REC peaks.
> l(x) = m*x+e
> 
> All the fits were done by gnuplot, but it was also confirmed that ROOT gives us the same parameters + errors + chisquare. One just need to choose well the starting values :)
> 
> 
> 90° fits:
> degrees of freedom    (FIT_NDF)                        : 8
> rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.419915
> variance of residuals (reduced chisquare) = WSSR/ndf   : 0.176329
> p-value of the Chisq distribution (FIT_P)              : 0.994094
> 
> Final set of parameters            Asymptotic Standard Error
> =======================            ==========================
> a               = 0.00308376       +/- 0.0005144    (16.68%)
> c               = 15.6259          +/- 2.035        (13.03%)
> b               = 9.36888          +/- 3.16         (33.73%)
> d               = 177.141          +/- 84.95        (47.95%)
> 
> degrees of freedom    (FIT_NDF)                        : 4
> rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.283372
> variance of residuals (reduced chisquare) = WSSR/ndf   : 0.0802998
> p-value of the Chisq distribution (FIT_P)              : 0.988405
> 
> Final set of parameters            Asymptotic Standard Error
> =======================            ==========================
> m               = -6.22672e-06     +/- 1.836e-06    (29.48%)
> e               = 0.00256426       +/- 9.873e-05    (3.85%)
> 
> 
> 
> 145° fits:
> degrees of freedom    (FIT_NDF)                        : 6
> rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.379472
> variance of residuals (reduced chisquare) = WSSR/ndf   : 0.143999
> p-value of the Chisq distribution (FIT_P)              : 0.990247
> 
> Final set of parameters            Asymptotic Standard Error
> =======================            ==========================
> a               = 0.0012346        +/- 0.0006794    (55.03%)
> c               = 11.3754          +/- 4.075        (35.82%)
> b               = 15.6961          +/- 13.2         (84.1%)
> d               = 116.084          +/- 99.83        (86%)
> 
> degrees of freedom    (FIT_NDF)                        : 2
> rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.327728
> variance of residuals (reduced chisquare) = WSSR/ndf   : 0.107405
> p-value of the Chisq distribution (FIT_P)              : 0.898161
> 
> Final set of parameters            Asymptotic Standard Error
> =======================            ==========================
> m               = -2.39246e-06     +/- 1.278e-06    (53.42%)
> e               = 0.000848859      +/- 7.329e-05    (8.634%)
> 
> 
> 
> 35° fit:
> degrees of freedom    (FIT_NDF)                        : 7
> rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 1.40676
> variance of residuals (reduced chisquare) = WSSR/ndf   : 1.97896
> p-value of the Chisq distribution (FIT_P)              : 0.0538635
> 
> Final set of parameters            Asymptotic Standard Error
> =======================            ==========================
> a               = 0.000114396      +/- 0.0002367    (206.9%)
> c               = 14.3178          +/- 8.322        (58.13%)
> b               = 16.7454          +/- 43.21        (258%)
> d               = 79.7991          +/- 173.2        (217.1%)
> 
> degrees of freedom    (FIT_NDF)                        : 3
> rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 1.21233
> variance of residuals (reduced chisquare) = WSSR/ndf   : 1.46975
> p-value of the Chisq distribution (FIT_P)              : 0.220529
> 
> Final set of parameters            Asymptotic Standard Error
> =======================            ==========================
> m               = -3.7879e-07      +/- 3.143e-07    (82.99%)
> e               = 7.31447e-05      +/- 1.788e-05    (24.45%)
> 
> 
> 
> > For the efficiency vs E fit of the 90degree Xray detector I have used the following phenomenological funciton:
> > 
> > f(x) = a * (1-exp(-(x-c)/b)) * exp(-x/d)
> > 
> > Here the first exponent member is a saturation curve. This part describes the passing through of the two Be windows (chamber + before detector) and through the dead layer of Ge crystal. One needs a minimum energy to enter to the detecting Ge crystal = C parameter. b parameter = characteristic absorbtion E of these nondetecting layers.
> > The second exponent is an exponential decrease of the detector efficiency. Photons with higher energy are less detectable by the germaniums. The d parameter is the characteristic E for hard Xray and gamma (>40keV) detectability. 
> > 
> > https://www.amptek.com/internal-products/si-pin-vs-cdte-comparison
> > 
> > //Jan's comment: the tail of this function should more or less follow a linear trend a bit above than 40 keV.
> > 
> > 
> > In the attachment there is an example fit for 90 degree with combined 1. and 2. (before and after beamtime) calibration datasets. 
> > I made the fit with gnuplot:
> > 
> > degrees of freedom    (FIT_NDF)                        : 8
> > rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.419915
> > variance of residuals (reduced chisquare) = WSSR/ndf   : 0.176329
> > p-value of the Chisq distribution (FIT_P)              : 0.994094
> > 
> > Final set of parameters            Asymptotic Standard Error
> > =======================            ==========================
> > a               = 0.00308376       +/- 0.0005144    (16.68%)
> > c               = 15.6259          +/- 2.035        (13.03%)
> > b               = 9.36888          +/- 3.16         (33.73%)
> > d               = 177.141          +/- 84.95        (47.95%)
> > 
> > Laszlo's out.
  134   Sat Mar 21 15:30:34 2020 SergiyGeneralgo into the ESR 
We are going into the ESR to check the electronics.
Use calibration sources (133Ba etc).
  84   Fri Mar 20 16:48:00 2020 LaszloGeneralflipped Si shaper output in x and y 
Yesterday evening we have found out that the energy signals from the silicon are negative --> wrong polarity of the shapers was chosen while using the jumpers.
Cables coming from the preamp are switched now. --> in the recorded data the X and Y coordinates of the Si strip detector is the other way around!
Hopefully, the left and right side we can judge well...
  233   Mon Mar 23 09:47:05 2020 LaszloGeneralexplanation of an ESR cycle 
  345   Sun May 16 12:55:48 2021 Jan GloriusDAQevent server lxg1299:60032021
new event server is set up at lxg1299 on port 6003
It runs as:
/data.local1/gstore/mrevserv64 lxg1275
  304   Sat May 1 22:34:16 2021 Jan GloriusCalibrationefficiency xray 90deg2021
the attached efficiency curve for the 90 deg. xray detector is made with the runs
e127b_run0008.lmd
e127b_run0009.lmd
e127b_run0010.lmd

All of them were taken in the lab (not in ESR).

This is a very preliminary analysis!
E.g. deadtime has been estimated and was not cleanly determined.
  317   Thu May 6 13:39:02 2021 Jan GloriusCalibrationefficiency xray 35deg2021
the attached efficiency curve for the 35 deg. xray detector is made with the runs
e127b_run0015.lmd
e127b_run0016.lmd
e127b_run0017.lmd + e127b_run0019.lmd

All of them were taken in the lab (not in ESR).

This is a very preliminary analysis!
E.g. deadtime has been estimated and was not cleanly determined.
  281   Wed May 6 23:02:42 2020 LaszloCalibrationefficiency values 
I have calculated the efficiency values by putting the energies of the K-REC peaks into the phenomenological (empirical) function and into the linear function (see below). The K-REC peak's position I got from a Gaussian-fit on the peak. There are 5 data sets in total:
With 1. E-calibration parameters:
-124Xe low rate measurement
-118Te 1. data set (before cable-swap)
With 2. E-calibration parameters:
-118Te 2. data set (after cable-swap)
-124Xe with scraper
-124Xe without scraper

When using the 1. E-calibration parameters, the obtained K-REC energies were much offset (124Xe_lowRate E_KREC=4.00577e+01keV, 118Te_1dataset: E_KREC=3.70922e+01keV), even though I tried all possible linear combinations of the parameters for 90° and 145°. Therefore, at the end I used the theoretical energies of the K-REC peaks from Thomas's website: http://www-ap.gsi.de/Thomas/ap_html_research/energy/index.php
Most probably, the problem is not with the 1. E-calibration itself (the source measurement looks consistent), but with the changing gate width during these measurements. These problematic data sets I marked with a " * " in the tables.

90°:
124Xe_wScraper124Xe_woScraper118Te_wScraper_part1118Te_wScraper_part2124Xe_wScraper_lowRate
K-REC E [keV]4,6093E+014,6116E+01*4,3241E+014,3135E+01*4,6336E+01
g(E_KREC) (phenomenology)0,0022850,002285*0,0022890,002289*0,002284
l(E_KREC) (linear)0,0022770,002277*0,0022950,002296*0,002276
diff. betw. f(E_KREC) and g(E_KREC)0,35%0,35%0,26%0,29%0,38%


145°:
124Xe_wScraper124Xe_woScraper
K-REC E [keV]4,1292E+014,1275E+01
g(E_KREC) (phenomenology)0,0007360,000736
l(E_KREC) (linear)0,0007500,000750
diff. betw. f(E_KREC) and g(E_KREC)1,82%1,83%


35°:
124Xe_wScraper124Xe_woScraper
K-REC E [keV]5,2309E+015,2478E+01
g(E_KREC) (phenomenology)0,00005320,0000532
l(E_KREC) (linear)0,00005330,0000533
diff. betw. f(E_KREC) and g(E_KREC)0,15%0,13%



> I have made also the inverse square law fits. We have data only for 90degre with the 241Am source, but both for the 1. and 2. calibrations. The 1. and 2. calibration data sets treated separate.
> 2 peaks were investigated, 59.5keV and 26.3keV, at two distances 184.8mm and 217.3mm. These distances are the sum of 4 distances:
> a = width of plastic head. uncert.: +/- 0.05mm, measured with caliper.
> b = width of the brass collimator. uncert.: +/- 0.05mm, measured with caliper.
> c = width of protector plastic ring. uncert.: +/- 0.05mm, measured with caliper.
> d= distance of the paper head. uncert: +/- 0.5mm, judged by the eye Smile
>
> The Be window and the dead layer of the Ge detector is not taken into account.
>
> The distances calculated as D=a+b+c+d.
>
> The conclusion is that the uncertainty coming from the distance measurements are negligible compared to the other uncertainties. The data obey the inverse square law.
>
>
> > For all 3 detector the calibration data sets were combined to include the systematics in the fit results directly. Combining means not a weighted average, just simple all data points were included into the fit --> doubled efficiency value for most of the energies.
> > The g(x) = a * (1-exp(-(x-c)/b)) * exp(-x/d) function was used to describe the behavior of the Germanium detectors for the whole range of energies (global behavior). From these fits the 80keV outlier point was excluded. This is very strange that it doesn't follow the trend, it would be nice to find out why not.
> > Between 40-75keV a linear fit was carried out as well. This can also approximate quite well this local energy range, what we need for the K-REC peaks.
> > l(x) = m*x+e
> >
> > All the fits were done by gnuplot, but it was also confirmed that ROOT gives us the same parameters + errors + chisquare. One just need to choose well the starting values Smile
> >
> >
> > 90° fits:
> > degrees of freedom (FIT_NDF) : 8
> > rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 0.419915
> > variance of residuals (reduced chisquare) = WSSR/ndf : 0.176329
> > p-value of the Chisq distribution (FIT_P) : 0.994094
> >
> > Final set of parameters Asymptotic Standard Error
> > ======================= ==========================
> > a = 0.00308376 +/- 0.0005144 (16.68%)
> > c = 15.6259 +/- 2.035 (13.03%)
> > b = 9.36888 +/- 3.16 (33.73%)
> > d = 177.141 +/- 84.95 (47.95%)
> >
> > degrees of freedom (FIT_NDF) : 4
> > rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 0.283372
> > variance of residuals (reduced chisquare) = WSSR/ndf : 0.0802998
> > p-value of the Chisq distribution (FIT_P) : 0.988405
> >
> > Final set of parameters Asymptotic Standard Error
> > ======================= ==========================
> > m = -6.22672e-06 +/- 1.836e-06 (29.48%)
> > e = 0.00256426 +/- 9.873e-05 (3.85%)
> >
> >
> >
> > 145° fits:
> > degrees of freedom (FIT_NDF) : 6
> > rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 0.379472
> > variance of residuals (reduced chisquare) = WSSR/ndf : 0.143999
> > p-value of the Chisq distribution (FIT_P) : 0.990247
> >
> > Final set of parameters Asymptotic Standard Error
> > ======================= ==========================
> > a = 0.0012346 +/- 0.0006794 (55.03%)
> > c = 11.3754 +/- 4.075 (35.82%)
> > b = 15.6961 +/- 13.2 (84.1%)
> > d = 116.084 +/- 99.83 (86%)
> >
> > degrees of freedom (FIT_NDF) : 2
> > rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 0.327728
> > variance of residuals (reduced chisquare) = WSSR/ndf : 0.107405
> > p-value of the Chisq distribution (FIT_P) : 0.898161
> >
> > Final set of parameters Asymptotic Standard Error
> > ======================= ==========================
> > m = -2.39246e-06 +/- 1.278e-06 (53.42%)
> > e = 0.000848859 +/- 7.329e-05 (8.634%)
> >
> >
> >
> > 35° fit:
> > degrees of freedom (FIT_NDF) : 7
> > rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 1.40676
> > variance of residuals (reduced chisquare) = WSSR/ndf : 1.97896
> > p-value of the Chisq distribution (FIT_P) : 0.0538635
> >
> > Final set of parameters Asymptotic Standard Error
> > ======================= ==========================
> > a = 0.000114396 +/- 0.0002367 (206.9%)
> > c = 14.3178 +/- 8.322 (58.13%)
> > b = 16.7454 +/- 43.21 (258%)
> > d = 79.7991 +/- 173.2 (217.1%)
> >
> > degrees of freedom (FIT_NDF) : 3
> > rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 1.21233
> > variance of residuals (reduced chisquare) = WSSR/ndf : 1.46975
> > p-value of the Chisq distribution (FIT_P) : 0.220529
> >
> > Final set of parameters Asymptotic Standard Error
> > ======================= ==========================
> > m = -3.7879e-07 +/- 3.143e-07 (82.99%)
> > e = 7.31447e-05 +/- 1.788e-05 (24.45%)
> >
> >
> >
> > > For the efficiency vs E fit of the 90degree Xray detector I have used the following phenomenological funciton:
> > >
> > > f(x) = a * (1-exp(-(x-c)/b)) * exp(-x/d)
> > >
> > > Here the first exponent member is a saturation curve. This part describes the passing through of the two Be windows (chamber + before detector) and through the dead layer of Ge crystal. One needs a minimum energy to enter to the detecting Ge crystal = C parameter. b parameter = characteristic absorbtion E of these nondetecting layers.
> > > The second exponent is an exponential decrease of the detector efficiency. Photons with higher energy are less detectable by the germaniums. The d parameter is the characteristic E for hard Xray and gamma (>40keV) detectability.
> > >
> > > https://www.amptek.com/internal-products/si-pin-vs-cdte-comparison
> > >
> > > //Jan's comment: the tail of this function should more or less follow a linear trend a bit above than 40 keV.
> > >
> > >
> > > In the attachment there is an example fit for 90 degree with combined 1. and 2. (before and after beamtime) calibration datasets.
> > > I made the fit with gnuplot:
> > >
> > > degrees of freedom (FIT_NDF) : 8
> > > rms of residuals (FIT_STDFIT) = sqrt(WSSR/ndf) : 0.419915
> > > variance of residuals (reduced chisquare) = WSSR/ndf : 0.176329
> > > p-value of the Chisq distribution (FIT_P) : 0.994094
> > >
> > > Final set of parameters Asymptotic Standard Error
> > > ======================= ==========================
> > > a = 0.00308376 +/- 0.0005144 (16.68%)
> > > c = 15.6259 +/- 2.035 (13.03%)
> > > b = 9.36888 +/- 3.16 (33.73%)
> > > d = 177.141 +/- 84.95 (47.95%)
> > >
> > > Laszlo's out.
  279   Thu Apr 30 17:40:57 2020 LaszloCalibrationefficiency fits 
For all 3 detector the calibration data sets were combined to include the systematics in the fit results directly. Combining means not a weighted average, just simple all data points were included into the fit --> doubled efficiency value for most of the energies.
The g(x) = a * (1-exp(-(x-c)/b)) * exp(-x/d) function was used to describe the behavior of the Germanium detectors for the whole range of energies (global behavior). From these fits the 80keV outlier point was excluded. This is very strange that it doesn't follow the trend, it would be nice to find out why not.
Between 40-75keV a linear fit was carried out as well. This can also approximate quite well this local energy range, what we need for the K-REC peaks.
l(x) = m*x+e

All the fits were done by gnuplot, but it was also confirmed that ROOT gives us the same parameters + errors + chisquare. One just need to choose well the starting values :)


90° fits:
degrees of freedom    (FIT_NDF)                        : 8
rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.419915
variance of residuals (reduced chisquare) = WSSR/ndf   : 0.176329
p-value of the Chisq distribution (FIT_P)              : 0.994094

Final set of parameters            Asymptotic Standard Error
=======================            ==========================
a               = 0.00308376       +/- 0.0005144    (16.68%)
c               = 15.6259          +/- 2.035        (13.03%)
b               = 9.36888          +/- 3.16         (33.73%)
d               = 177.141          +/- 84.95        (47.95%)

degrees of freedom    (FIT_NDF)                        : 4
rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.283372
variance of residuals (reduced chisquare) = WSSR/ndf   : 0.0802998
p-value of the Chisq distribution (FIT_P)              : 0.988405

Final set of parameters            Asymptotic Standard Error
=======================            ==========================
m               = -6.22672e-06     +/- 1.836e-06    (29.48%)
e               = 0.00256426       +/- 9.873e-05    (3.85%)



145° fits:
degrees of freedom    (FIT_NDF)                        : 6
rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.379472
variance of residuals (reduced chisquare) = WSSR/ndf   : 0.143999
p-value of the Chisq distribution (FIT_P)              : 0.990247

Final set of parameters            Asymptotic Standard Error
=======================            ==========================
a               = 0.0012346        +/- 0.0006794    (55.03%)
c               = 11.3754          +/- 4.075        (35.82%)
b               = 15.6961          +/- 13.2         (84.1%)
d               = 116.084          +/- 99.83        (86%)

degrees of freedom    (FIT_NDF)                        : 2
rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.327728
variance of residuals (reduced chisquare) = WSSR/ndf   : 0.107405
p-value of the Chisq distribution (FIT_P)              : 0.898161

Final set of parameters            Asymptotic Standard Error
=======================            ==========================
m               = -2.39246e-06     +/- 1.278e-06    (53.42%)
e               = 0.000848859      +/- 7.329e-05    (8.634%)



35° fit:
degrees of freedom    (FIT_NDF)                        : 7
rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 1.40676
variance of residuals (reduced chisquare) = WSSR/ndf   : 1.97896
p-value of the Chisq distribution (FIT_P)              : 0.0538635

Final set of parameters            Asymptotic Standard Error
=======================            ==========================
a               = 0.000114396      +/- 0.0002367    (206.9%)
c               = 14.3178          +/- 8.322        (58.13%)
b               = 16.7454          +/- 43.21        (258%)
d               = 79.7991          +/- 173.2        (217.1%)

degrees of freedom    (FIT_NDF)                        : 3
rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 1.21233
variance of residuals (reduced chisquare) = WSSR/ndf   : 1.46975
p-value of the Chisq distribution (FIT_P)              : 0.220529

Final set of parameters            Asymptotic Standard Error
=======================            ==========================
m               = -3.7879e-07      +/- 3.143e-07    (82.99%)
e               = 7.31447e-05      +/- 1.788e-05    (24.45%)



> For the efficiency vs E fit of the 90degree Xray detector I have used the following phenomenological funciton:
> 
> f(x) = a * (1-exp(-(x-c)/b)) * exp(-x/d)
> 
> Here the first exponent member is a saturation curve. This part describes the passing through of the two Be windows (chamber + before detector) and through the dead layer of Ge crystal. One needs a minimum energy to enter to the detecting Ge crystal = C parameter. b parameter = characteristic absorbtion E of these nondetecting layers.
> The second exponent is an exponential decrease of the detector efficiency. Photons with higher energy are less detectable by the germaniums. The d parameter is the characteristic E for hard Xray and gamma (>40keV) detectability. 
> 
> https://www.amptek.com/internal-products/si-pin-vs-cdte-comparison
> 
> //Jan's comment: the tail of this function should more or less follow a linear trend a bit above than 40 keV.
> 
> 
> In the attachment there is an example fit for 90 degree with combined 1. and 2. (before and after beamtime) calibration datasets. 
> I made the fit with gnuplot:
> 
> degrees of freedom    (FIT_NDF)                        : 8
> rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.419915
> variance of residuals (reduced chisquare) = WSSR/ndf   : 0.176329
> p-value of the Chisq distribution (FIT_P)              : 0.994094
> 
> Final set of parameters            Asymptotic Standard Error
> =======================            ==========================
> a               = 0.00308376       +/- 0.0005144    (16.68%)
> c               = 15.6259          +/- 2.035        (13.03%)
> b               = 9.36888          +/- 3.16         (33.73%)
> d               = 177.141          +/- 84.95        (47.95%)
> 
> Laszlo's out.
  278   Wed Apr 29 16:06:28 2020 LaszloCalibrationefficiency fit - 90degree, combined dataset 
For the efficiency vs E fit of the 90degree Xray detector I have used the following phenomenological funciton:

f(x) = a * (1-exp(-(x-c)/b)) * exp(-x/d)

Here the first exponent member is a saturation curve. This part describes the passing through of the two Be windows (chamber + before detector) and through the dead layer of Ge crystal. One needs a minimum energy to enter to the detecting Ge crystal = C parameter. b parameter = characteristic absorbtion E of these nondetecting layers.
The second exponent is an exponential decrease of the detector efficiency. Photons with higher energy are less detectable by the germaniums. The d parameter is the characteristic E for hard Xray and gamma (>40keV) detectability. 

https://www.amptek.com/internal-products/si-pin-vs-cdte-comparison

//Jan's comment: the tail of this function should more or less follow a linear trend a bit above than 40 keV.


In the attachment there is an example fit for 90 degree with combined 1. and 2. (before and after beamtime) calibration datasets. 
I made the fit with gnuplot:

degrees of freedom    (FIT_NDF)                        : 8
rms of residuals      (FIT_STDFIT) = sqrt(WSSR/ndf)    : 0.419915
variance of residuals (reduced chisquare) = WSSR/ndf   : 0.176329
p-value of the Chisq distribution (FIT_P)              : 0.994094

Final set of parameters            Asymptotic Standard Error
=======================            ==========================
a               = 0.00308376       +/- 0.0005144    (16.68%)
c               = 15.6259          +/- 2.035        (13.03%)
b               = 9.36888          +/- 3.16         (33.73%)
d               = 177.141          +/- 84.95        (47.95%)

Laszlo's out.
  191   Sun Mar 22 14:58:59 2020 LaszloGeneraldropping density of Gasjet 
after like 20min run, the density of the gasjet already dropped from 10^14 to 8.7*10^13. Now it seems to remain in that value

Below in arbitrary units one can see the trend of the gas jet density starting from 10^14 to 8.7*10^13
  97   Sat Mar 21 02:36:44 2020 LaszloGeneraldetector and scraper position 
For the 124Xe primary beam measurement:
-with the DSSSD we scraped the beam at position -40
-position of the detector is set to -25. (1.5cm away from the beam)
-with the scraper (at Eggelhof 1 position) we scraped the beam at ~(-15)-(-13)
-position of the scraper is set to +20 (3.5cm away from beam axis (sollbahn))

For the 118Te fragment measurement:
-with the DSSSD we scraped the beam at position -39
-position of the detector is set to -24 (1.5cm away from the beam)
-with the scraper (at Eggelhof 1 position) we scraped the beam at ~ -14
-position of the scraper is set to +19 (3.5cm away from beam axis (sollbahn))
  36   Fri Feb 21 11:29:59 2020 JanDetectorsdet. distances at target chamber 
This is the lookup table for the distance of each x-ray detector to the target.
See attched foto for explanation.

Detector A (dA) [mm] B (dB) [mm] C (dC) [mm] calculate result [mm]
35° 136.0 (1.0) 20.0 (0.2) 450.0 (0.5) C + B - A 334.0 (?)
90° 76.0 (0.5) 20.0 (0.2) 447.0/2 = 223.5 (1.0) C + B - A 167.5 (?)
145° 165.0 (1.0) 20.0 (0.2) 450.0 (0.5) C + B - A 305.0 (?)

Errors are estimated after measurement, final errorbars have to be double checked!
  60   Tue Mar 17 08:15:49 2020 JanGeneralcurrent grids & screen in TE  
measured beam diagnosis with 124Xe48+ at 326 MeV/u
ELOG V3.1.5-fc6679b