#-------------------------------------------------------------
#calculates
the middle value from two LineEdgeFinder tools
#and sets
the value in an ExternalScalar
#------------------------------------------------------------
gap1 =
GetTagValue('Gap 1.Width');
gap2 =
GetTagValue('Gap 5.Width');
SetTagValue('Gap.Value',(gap2+gap1)/2);
|