00001 /***************************************************************************/ 00002 /* dEmcGeometry.idl */ 00010 /* 00011 Major overhaul Nov 98 G.D. 00012 Change all indices to run from 0 (including arm) 00013 00014 */ 00015 00016 00017 struct dEmcGeometry { 00018 short id; /* unique identifyer */ 00019 short hwkey; /* hardware database key for cross-referencing */ 00020 short swkey; /* software database key for cross-referencing */ 00021 short arm; /* West = 0 East = 1 */ 00022 short sector; /* sector number 0 - 3 */ 00023 short ind[2]; /* sector array indices 0 - 71 or 95 0 - 35 or 47 */ 00024 float nomxyz[3]; /* nominal absolute coord., center of front face */ 00025 float actxyz[3]; /* actual absolute coord., center of front face */ 00026 float nomunitv[3]; /* nominal directional (unit) vector of the tower */ 00027 float actunitv[3]; /* actual directional (unit) vector of the tower */ 00028 float nomtheta; /* nominal theta in (0,0,0) coo. system */ 00029 float nomphi; /* nominal phi in (0,0,0) coo. system */ 00030 float acttheta; /* actual theta in (0,0,0) coo. system */ 00031 float actphi; /* actual phi in (0,0,0) coo. system */ 00032 float nomdist; /* nominal distance from (0,0,0) */ 00033 float actdist; /* actual distance from (0,0,0) */ 00034 float nomflash; /* nominal flashtime from (0,0,0) */ 00035 float actflash; /* actual flashtime from (0,0,0) */ 00036 float sectheta; /* theta in sector-based coo. system */ 00037 float secphi; /* phi in sector-based coo. system */ 00038 }; 00039 00040 00041 00042 00043 00044