currentMeasurement-XrayTube.py

Documentation

This documentation gives a short description of the additional used functions in the program “currentMeasurement-XrayTube.py” compared to “XrayTube-commands.py”

runXraytest(pXardir, datadirectory, ac, runnr, trimVcal)

Run pXar software to measure a Xray Spectrum in Xray Test and save in measurements a ”.root” file

Global variables can be choosen at the beginning of the program.

Parameters:
  • pXardir – directory, where pXar version is installed, e.g. (“/home/readout/psiexpert/pxar”)
  • datadirectory – directory, where the the configuration files from the fulltest are saved and the measurements will be saved (“~/pXar_output/...”)
  • ac – actual Current of the Xray tube (saved in the file name)
  • runnr – number of run (saved in the file name)
  • trimVcal – Vcal value at which the single chip assembly is trimmed to (e.g. 35)
Returns:

void