[Gate-users] Unit of gps/centre problem
lizhi
lizhi_1125 at hotmail.com
Tue Dec 4 11:21:34 CET 2007
Dear GATERS:
I found there might be a bug in the Unit definition of /gate/source/SOURCENAME/gps/centre .
When I use Unit "um"
/gate/source/beamsource/gps/centre 0 40000 0 um
GATE give me error as:
parameter value is not listed in the candidate List.
***** Illegal parameter (3) *****
***** Command ignored *****
But if I change to Unit "mum":
/gate/source/beamsource/gps/centre 0 40000 0 mum
Gate can run, but with warning:
Warning from G4UnitDefinition::GetValueOf(mum). The unit mum does not exist in UnitsTable. Return Value = 0.
and my source is set at (0 ,0 ,0 ) point
Is this a little bug in Unit definition?
Regards
Zhi LI
VUB
More information about the Gate-users
mailing list