framework
framework copied to clipboard
REST standard pressure units
I am wondering if the standard units for pressure is atm or bar. They have slight difference. In TRestDetectorGas it stores pressure in atm, but in TRestSystemOfUnits the units with scale 1 is bar. Also in TRestSystemOfUnits the conversion to torr is wrong. 760 torr = 1 atm, not 1 bar
Right, I believe bar should be the standard unit pressure for REST. Just because we are used to measure the pressure chamber in bar. However, for gas calculations I believe Magboltz and Garfield use atm.
This should be fixed.