framework icon indicating copy to clipboard operation
framework copied to clipboard

REST standard pressure units

Open nkx111 opened this issue 4 years ago • 1 comments

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

nkx111 avatar Dec 07 '21 08:12 nkx111

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.

jgalan avatar Dec 07 '21 16:12 jgalan