Changeset 407 for trunk/MagicSoft/Simulation/Detector/Reflector
- Timestamp:
- 07/03/00 11:39:39 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Reflector/attenu.f
r398 r407 11 11 c @T \newpage 12 12 13 13 14 c @section Source code of {\tt attenu.f} 14 15 … … 39 40 real trr, trm, tro 40 41 REAL LONG(12) 41 c fs define obervation level42 c fs: define obervation level 42 43 double precision obslev 43 44 INTEGER I,CON_OZ,CON_MI J, ROW … … 277 278 DATA BATM / 1222.6562D0,1144.9069D0,1305.5948D0,540.1778D0,0.D0 / 278 279 DATA CATM / 994186.38D0,878153.55D0,636143.04D0,772170.16D0,1.D-9/ 279 c fs 190400 unterster Layer ist2200.d0 (observation level)280 c fs 190400: lowest Layer is 2200.d0 (observation level) 280 281 c DATA LAHG / 2000.0D2,4.0D5,1.0D6,4.0D6,1.0D7 / 281 282 DATA LAHG / 2200.0D2,4.0D5,1.0D6,4.0D6,1.0D7 / … … 315 316 T_Oz = 1.0 316 317 317 c fs : hier fehler: hoehe mitobslev = 0. !!!!318 c fs : error: height with obslev = 0. !!!! 318 319 c H = -RT + SQRT(RT**2 + (height/COS(theta))**2 + 319 320 c + (2.0D0*RT*height)) … … 328 329 * LARGE ZENITH ANGLE FACTOR (AIR MASS): 329 330 330 c fs : Korrekturfaktor fuer falsche Hoehe richtig??? 331 c (H is hier 'wahre Hoehe'; oben: height: apparent height) 332 c aber: fuer curved-version nicht noetig => raus 331 c fs : air mass factor = path_lenght(za) / path_lenght(vertical) 332 c at point of emission of cherenkov photon 333 c => pure geometric correction on 334 c absorption lenght measured at vertical height [km^-1] 333 335 c m= (1.D0/H)*(SQRT((RT*COS(theta))**2+(2*RT*H)+H**2)- 334 336 c + (RT*COS(theta))) 337 m = (1.d0/(h-obslev)) * 338 & ( -(rt+obslev)*cos(theta) 339 & +sqrt( (rt+h)**2 - ((rt+obslev)*sin(theta))**2) ) 335 340 ********************************************************************** 336 341 … … 356 361 91 CONTINUE 357 362 358 c fs : curved-version => kein m-Faktor! 359 c 92 RHO_FI = m*RHOTOT 360 92 rho_fi = rhotot 363 364 92 RHO_FI = m*RHOTOT 361 365 362 366 T_Ray = EXP(-(RHO_FI/XR)*(400.D0/wavelength)**4) … … 395 399 GOTO 1001 396 400 ENDIF 397 c fs : curved-version => kein m-Faktor! 398 c T_Mie = EXP(-(m*TOT_AE)) 399 t_mie = exp(-(tot_ae)) 401 402 T_Mie = EXP(-(m*TOT_AE)) 400 403 401 404 … … 423 426 ENDIF 424 427 425 c fs : curved-version => kein m-Faktor! 426 c T_Oz = EXP(-(m*TOT_OZ)) 427 t_oz = exp(-(tot_oz)) 428 T_Oz = EXP(-(m*TOT_OZ)) 428 429 429 430 ************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.