Changeset 923 for trunk/MagicSoft/Simulation/Detector/ReflectorII
- Timestamp:
- 09/05/01 19:09:29 (23 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector/ReflectorII
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/ReflectorII/atm.c
r725 r923 28 28 29 29 Log(ATM__SET___LOG, AtmModelNames[atmModel]); 30 31 /* 'erfc' must be inited, so keep the following line. */ 32 Debug("Initing 'erfc': ret=%g\n", erfc(M_PI)); 30 33 } /* end of SetAtmModel */ 31 34 … … 51 54 52 55 int absorption(float wlen, float height, float theta) 53 { int 54 55 if ( RandomNumber > atm(wlen, height, theta)) return1;56 { int ret = 0; /* 0: passed, 1: absorbed */ 57 58 if (RandomNumber > atm(wlen, height, theta)) ret=1; 56 59 57 60 return ret; -
trunk/MagicSoft/Simulation/Detector/ReflectorII/geometry.c
r725 r923 1 1 #include <stdio.h> 2 2 #include <string.h> 3 #include <stdlib.h> 3 4 #include <math.h> 4 5 #include "diag.h" … … 69 70 fclose(ct_BinaryData); } 70 71 } /* end of if: reading ASCII data */ 71 72 72 } /* end of ReadMirrorTable */ 73 73 -
trunk/MagicSoft/Simulation/Detector/ReflectorII/parms.c
r725 r923 1 1 #include <stdio.h> 2 2 #include <string.h> 3 #include <stdlib.h> 3 4 #include <math.h> 4 5 #include "diag.h"
Note:
See TracChangeset
for help on using the changeset viewer.