- Timestamp:
- 04/29/03 23:47:38 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/ReflectorII/geometry.c
r1908 r2046 49 49 if (12 != fscanf(geofile, "%d %f %f %f %f %f %f %f %f %f %f %f", 50 50 &ct_data[i].i, &ct_data[i].f, 51 &ct_data[i].sx, 52 &ct_data[i].x, &ct_data[i].y, 53 &ct_data[i].theta, 54 &ct_data[i].xn, 51 &ct_data[i].sx, &ct_data[i].sy, 52 &ct_data[i].x, &ct_data[i].y, &ct_data[i].z, 53 &ct_data[i].theta, &ct_data[i].phi, 54 &ct_data[i].xn, &ct_data[i].yn, &ct_data[i].zn)) 55 55 break; 56 56 57 ct_max_radius = (ct_data[i].sx > ct_max_radius? ct_data[i].sx : 58 ct_max_radius); 59 ct_max_radius = (ct_data[i].sy > ct_max_radius? ct_data[i].sy : 60 ct_max_radius); 57 ct_max_radius = 58 (fabs(ct_data[i].sx) > ct_max_radius? fabs(ct_data[i].sx) : 59 ct_max_radius); 60 ct_max_radius = 61 (fabs(ct_data[i].sy) > ct_max_radius? fabs(ct_data[i].sy) : 62 ct_max_radius); 61 63 } 62 64
Note:
See TracChangeset
for help on using the changeset viewer.