[gate-users] Re: gate-users Digest, Vol 13, Issue 19
Ananth Ravi
ananth.ravi at sw.ca
Fri Apr 22 22:16:04 CEST 2005
Hello,
Recently i found a bug, when trying to create an angular repeater that
used an off-centered axis of rotation primarily
/gate/SPECThead/ring/setPoint1 1. 0. -22.5 cm
/gate/SPECThead/ring/setPoint2 0. 0. -22.5 cm
however when executing this code I realized that it does not recognize
the units. Being a complete newbie, I tried to look at the code and
came to these lines in GateAngularRepeaterMessenger.cc
68 Point1Cmd->SetParameterName("X1","Y1","Z1",false);
73 Point2Cmd->SetParameterName("X2","Y2","Z2",false);
should they altered to:
Point1Cmd->SetParameterName("X1","Y1","Z1",true);
Point2Cmd->SetParameterName("X1","Y1","Z1",true);
in order to account for units.
Thanks,
Ananth Ravi
More information about the Gate-users
mailing list