Changeset 1722 for trunk/MagicSoft/Simulation/Detector/ReflectorII/doc
- Timestamp:
- 01/21/03 15:02:35 (22 years ago)
- Location:
- trunk/MagicSoft/Simulation/Detector/ReflectorII/doc
- Files:
-
- 8 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/ReflectorII/doc/Tdas0211.tex
r1672 r1722 33 33 34 34 \usepackage{magic-tdas} 35 \usepackage{amssymb} 35 36 36 37 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 46 47 \author{A.Moralejo\\ 47 48 \texttt{<moralejo@pd.infn.it>}} 48 \date{ December 6, 2002\\}49 \TDAScode{MAGIC-TDAS 02-11\\ 0 21206/AMoralejo}49 \date{January 20, 2003\\} 50 \TDAScode{MAGIC-TDAS 02-11\\ 030120/AMoralejo} 50 51 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 51 52 … … 61 62 been included here for clarity. Two important bugs regarding the 62 63 ray-tracing routine have been corrected in this new version. 64 \par 65 NOTE: In December 2002, a first release of Reflector 0.6 was made, 66 together with a first version of the present TDAS note. Immediately 67 after that (too short a time to justify a new version number), some 68 other changes were implemented in the program to improve the 69 atmospheric absorption routines, and the dependence of mirror 70 reflectivity with wavelength was introduced. This document is the 71 manual of the final 0.6 version of the reflector, including 72 explanations of these last modifications. 73 63 74 \end{abstract} 64 75 76 \newpage 65 77 %% contents %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 66 78 \thetableofcontents … … 161 173 see the resulting spot in fig. \ref{spot_inf_f1697}. A completely 162 174 independent ray-tracing program was used to verify that this is the 163 spot that our 17 mtesellated paraboloid should produce.175 spot that a f/1 16.97 m $\varnothing$ tesellated paraboloid should produce. 164 176 % 165 177 \begin{figure}[h] … … 182 194 possible mirror misalignments and surface irregularities (by the way, 183 195 a feature which somehow optimistically was not included in the 184 simulations shown in the proposal). In this way we can check just the185 ray tracing.196 simulations shown in the MAGIC proposal). In this way we can check 197 just the ray tracing. 186 198 % 187 199 \begin{figure}[h!] … … 242 254 intended, and looks more like an error, but anyway we checked that this 243 255 was not the reason for the problems in the ray tracing: a test 244 magic.def file was created with all parameters calculated as for a f = 245 1697 cm paraboloid, and no significant difference could be seen. That 256 magic.def file was created with {\it all} the mirror parameters 257 (positions, orientations and radii of curvature) 258 calculated as for a f = 1697 cm paraboloid, and no significant 259 difference could be seen. That 246 260 is: i) the individual mirror orientations are the dominant factor, and 247 261 the overall dish in the old reflector behaved indeed like a f = 1697 … … 288 302 determine the particle's trajectory as long as one knows that they 289 303 refer to a downgoing versor, in which case one gets the third 290 direction cosine as $w = -\sqrt{ u^2+v^2}$, with a minus sign. However,304 direction cosine as $w = -\sqrt{1-u^2-v^2}$, with a minus sign. However, 291 305 in {\it ph2cph.c} we found exactly the opposite (lines 116 to 118 in 292 306 v.05): … … 341 355 The general transformation between both is a simple rotation, 342 356 since for the sake of simplicity we assume in the simulation that the 343 origins always coincide. In Reflector v.05 or older the rotation357 origins always coincide. As we have said, in Reflector v.05 or older the rotation 344 358 matrix was wrong: it had been written assuming that ($\Phi$, $\Theta$) 345 359 indicated the direction towards which the telescope pointed. Actually, … … 383 397 The bug was certainly present in versions 0.4 and 0.5, but may be even 384 398 older. Nevertheless, there is no doubt that the reflector program used 385 for the simulation shown in the MAGIC design report (which must have been386 an early version of the present one) was working fine. Extensive proof 399 for the simulation shown in the MAGIC design report was working 400 fine. Extensive proof 387 401 of this is provided in an appendix of the design report. A plausible 388 402 explanation could be that, up to some date, the data being read in by … … 395 409 file shows no record of any change in this respect, but given that we 396 410 have always used a slightly modified Corsika, it would not be 397 surprising if the Cherenkov output was modified at some point . There398 is no documentation on this, so if anyone has any relevant information, 399 please make it public.411 surprising if the Cherenkov output was modified at some point in the 412 MAGIC version of Corsika (MMCS). There is no documentation on this, so 413 if anyone has any relevant information, please make it public. 400 414 % 401 415 \paragraph {Influence of the bug on image analysis\\} … … 413 427 dramatic effect than the defocusing which the bug was producing. 414 428 % 429 \subsection {Performance of ray-tracing in the new version} 430 In figure \ref{coma} we show the images of a point-like source at 10 431 km from the telescope, produced with the Reflector version 0.6, 432 and using the new version of the magic.def file (see see next 433 section). No noise has been introduced in the reflection, the observed 434 spots are just the result of optical aberrations. The light source has 435 been put at slightly different viewing angles 436 from the telescope. The results are comparable to those in the design 437 report, actually these are a bit better, the difference probably being 438 that the focal lengths of the mirror tiles in the older magic.def file 439 were discretized in only eight values, while now they change rather 440 continuously. Some images of a point source at infinity (a star) can be 441 seen in fig. \ref{coma_star}. We can see that for any incidence angle, 442 the area within which 50$\%$ of the light is concentrated is smaller 443 than that of a small pixel. 444 \par 445 In figure \ref{refl06images} the images of three gamma events ($\theta 446 = 10^\circ$, E = 16, 46, 232 GeV), the same of fig. \ref{evcompare} 447 are shown. They have been produced with Reflector 0.6 assuming perfect 448 spherical mirrors (left) and realistic ones (right). The images look 449 reasonable, much sharper than with the older versions, even when the 450 mirror imperfections are taken into account. 451 % 452 \begin{figure}[h!] 453 \begin{center} 454 \epsfig{file=eps/timing.eps,width=\textwidth} 455 \caption{Test of reflector isochrony. The arrival time 456 distributions of photons in the camera are shown for (buggy) Reflector 457 0.5 and for Reflector 0.6. The sketch in the center shows the test for 458 the case in which the light beam is paralel to the telescope axis 459 (left plot). On the right, the same test has been made with light 460 arriving 1 degree off axis. 461 \label{timing}} 462 \end{center} 463 \vspace*{-1cm} 464 \end{figure} 465 % 415 466 \subsection {Second bug: photon timing} 467 % 416 468 After a first release of Reflector 0.6 had been made public, another 417 469 important bug was found. We tried to check whether the simulated … … 438 490 from scratch!). 439 491 % 440 \begin{figure}[h] 492 \subsection{The new magic.def file} 493 A new magic.def file (see sect. \ref{neededfiles}) has been created 494 and included in the Reflector 0.6 package. Now the number of 495 individual mirror tiles is 956, matching 496 the number and distribution of the final MAGIC design. The mirror 497 centers and orientations are those corresponding to a paraboloid of 498 1697 cm focal (hence the camera plane is placed at 1700 cm from the 499 dish). The focal lengths have been calculated by R. Mirzoyan taking 500 into account the so called ``shortening effect'' (see design report). 501 A new axisdev.dat file (se again \ref{neededfiles}) with data for the 502 956 mirrors is also included. 503 % 504 \subsection{The new reflectivity.dat file} 505 Up to version 0.5 of the program, the reflectivity of the mirrors 506 (which the program reads in from the file reflectivity.dat) was 507 considered to be equal to $90\%$ for all wavelengths. Following 508 measurements performed in Padua of a mirror sample, the reflectivity 509 has been found to be between 80 and 90$\%$ in the range from 280 to 650 nm, 510 with a dependence on wavelength which is shown in figure \ref{reflec}. 511 % 512 \begin{figure}[h!] 441 513 \begin{center} 442 \epsfig{file=eps/timing.eps,width=\textwidth} 443 \caption{Test of reflector isochrony. The arrival time 444 distributions of photons in the camera are shown for (buggy) Reflector 445 0.5 and for Reflector 0.6. The sketch in the center shows the test for 446 the case in which the light beam is paralel to the telescope axis 447 (left plot). On the right, the same test has been made with light 448 arriving 1 degree off axis. 449 \label{timing}} 514 \epsfig{file=eps/reflec.eps,width=0.7\textwidth,height=0.4\textwidth} 515 \caption{Reflectivity of the MAGIC telescope mirrors as a 516 function of the wavelength of the incident light. The dip around 350 517 nm is due to destructive interference of the light reflected on the 518 aluminum plate with that reflected on the protective coating of the 519 mirror. \label{reflec}} 450 520 \end{center} 451 \vspace*{-1cm} 452 \end{figure} 453 454 \subsection {Performance of the new version} 455 In figure \ref{coma} we show the images of a point-like source at 10 456 km from the telescope, produced with the Reflector version 0.6, 457 and using the new version of the magic.def file (see see next 458 section). No noise has been introduced in the reflection, the observed 459 spots are just the result of optical aberrations. The light source has 460 been put at slightly different viewing angles 461 from the telescope. The results are comparable to those in the design 462 report, actually these are a bit better, the difference probably being 463 that the focal lengths of the mirror tiles in the older magic.def file 464 were discretized in only eight values, while now they change rather 465 continuously. Some images of a point source at infinity (a star) can be 466 seen in fig. \ref{coma_star}. We can see that for any incidence angle, 467 the area within which 50$\%$ of the light is concentrated is smaller 468 than that of a small pixel. 469 \par 470 In figure \ref{refl06images} the images of three gamma events ($\theta 471 = 10^\circ$, E = 16, 46, 232 GeV), the same of fig. \ref{evcompare} 472 are shown. They have been produced with Reflector 0.6 assuming perfect 473 spherical mirrors (left) and realistic ones (right). The images look 474 reasonable, much sharper than with the older versions, even when the 475 mirror imperfections are taken into account. 476 \par 521 \end{figure} 477 522 % 478 523 \begin{figure}[p] … … 515 560 \end{figure} 516 561 % 517 \subsection{The new magic.def file}518 A new magic.def file (see sect. \ref{neededfiles}) has been created519 and included in the Reflector 0.6 package. Now the number of520 individual mirror tiles is 956, matching521 the number and distribution of the final MAGIC design. The mirror522 centers and orientations are those corresponding to a paraboloid of523 1697 cm focal (hence the camera plane is placed at 1700 cm from the524 dish). The focal lengths have been calculated by R. Mirzoyan taking525 into account the so called ``shortening effect'' (see design report).526 A new axisdev.dat file (se again \ref{neededfiles}) with data for the527 956 mirrors is also included.528 %529 562 \subsection{The {\itshape cermaker} program} 530 563 A test program to produce cer files (input for the reflector) … … 539 572 file is called {\it cer000001}, and can be read by the reflector program. 540 573 % 574 \subsection{Changes in the atmospheric absorption routines} 575 % 576 In the present version of the program, the simulation of atmospheric 577 absorption has undergone major changes with respect to the original 578 implementation by J.C. Gonz\'alez and Aitor Ibarra. Three options are 579 available in the simulation: ATM\_NOATMOSPHERE, ATM\_90PERCENT and 580 ATM\_CORSIKA (see section \ref{commands}). In the 581 first two, 100$\%$ and 90$\%$ of the emitted light respectively 582 reaches the telescope mirror, regardless of the emission height. The 583 changes in the present version affect only the third option, which is 584 the recommended one for running reflector in the standard MAGIC MC 585 production. In this case, a detailed estimate of the atmospheric 586 transmission is done. 587 \par 588 Three contributions to the atmospheric opacity 589 are considered: Rayleigh scattering, Mie scattering by aerosols, and 590 absorption by ozone. Details on how the effect of these three 591 components is calculated are given in appendix A. In reflector 592 versions older than 0.6, 593 due to a bug, the contribution of Mie scattering and Ozone absorption 594 was slightly overestimated because the vertical height of the emission 595 point above sea level was interpreted as height above the 596 telescope. The difference is small, since the density of the aerosols 597 responsible for Mie scattering decreases very fast with height and 598 therefore the absorption is hardly increased by going up 2.2 km in the 599 region were most of the Cherenkov light is produced. In the case of 600 ozone, its contribution is only important in the very low end of the 601 Cherenkov light spectrum, and so the effect of the bug in the total 602 amount of light reaching the telescope is negligible. Another change 603 is that now the observation level is read in from the cer file, instead 604 of being a fixed parameter in the routines. In this way the reflector 605 program has become more flexible, and can now be used to process cer 606 files produced for a detector at a different observation level. 607 \par 608 Another problem in the old implementation of absorption was that the 609 variation of the optical depth of the atmosphere with the zenith angle 610 $\theta$ was assumed to be the same for Mie scattering, ozone 611 absorption and Rayleigh scattering: the so called {\it air 612 mass} (see appendix A for details) was therefore calculated only once, 613 using the overall density profile of air molecules (which does not 614 match that of aerosols or ozone), and used to account for the 615 variation of all three effects with $\theta$, while rigorously 616 speaking it is only valid for Rayleigh scattering. Now, the simulation 617 of Mie scattering and ozone absorption has been moved from {\it 618 attenu.f} to {\it atm.c} and is done in a more accurate way which 619 takes into account the vertical profile of aerosols and ozone (see 620 appendix A for details). 621 % 541 622 \subsection{Other changes in Reflector 0.6} 542 623 … … 557 638 section \ref{opt}). 558 639 559 \item New output format (see sect. \ref{out}): added a Run header, 560 which is like that of Corsika, plus a couple of variables concerning 561 the reflector parameters: the wobble mode and the atmospheric model 640 \item New output format (see sect. \ref{out}): we have removed a null 641 byte that was written immediately after the ascii label containing the 642 reflector program version number at the begining of the file. This 643 byte was there for historical reasons and had no function 644 whatsoever. Then we have added a Run header, which is like that of 645 Corsika, plus a couple of variables concerning the reflector 646 parameters: the wobble mode and the atmospheric model 562 647 used for the simulation. The event header has also been changed to 563 648 include all the information present in the Corsika event … … 634 719 \end{itemize} 635 720 636 All these files are usually in the {\bf 637 MagicProgs/Simulation/Detector/Data/} directory and {\it in principle} you 638 should {\bf not} make any change in them to run the program. 721 All these files (included in the reflector package) are usually kept 722 in the {\bf MagicProgs/Simulation/Detector/Data/} directory and {\it 723 in principle} you should {\bf not} make any change in them to run the 724 program. 639 725 640 726 %------------------------------------------------------------ … … 676 762 Wobble-observation mode (see TDAS 01-05 by W. Wittek). 677 763 678 \item[ct\_file ../Data/magic.def]764 \item[ct\_file /path/magic.def] 679 765 680 766 The ct\_file statement defines where the program can find the 681 telescope characteristics. The path in the example above is 682 correct to run reflector in 683 MagicProgs/Simu\-la\-tion/De\-tector/Reflector\_0.6/ directory. 684 If you want to run it in a different directory you have to modify the 685 path accordingly. 767 telescope characteristics. Usually, the magic.def file is kept in 768 MagicProgs/Simulation/Detector/Data 686 769 687 770 \item[atm\_model ATM\_CORSIKA] 688 The atm\_model statement says to the program what kind of 771 772 The atm\_model statement tells the program what kind of 689 773 atmospheric absorption model to use. Possible choices are: 690 ATM\_CORSIKA, ATM\_ISO\-THERMAL, ATM\_90\-PER\-CENT and 691 ATM\_NO\-ATMO\-SPHE\-RE. 692 774 ATM\_NOATMOSPHERE,\\ ATM\_90PERCENT and ATM\_CORSIKA, 775 corresponding respectively to no absorption, a 10$\%$ 776 absorption and a model using the US Standard atmosphere (see 777 Corsika manual, appendix C) for the Rayleigh scattering and a 778 model by L. Elterman \cite{elterman64,elterman65} for the Mie 779 scattering and ozone absorption (see appendix A). The third 780 model should be chosen for the standard MC MAGIC production. 781 693 782 \item[cer\_files] 694 783 … … 755 844 File containing mirror reflectivity as a function of 756 845 wavelength (see section \ref{neededfiles}). If this option is 757 not supplied, the program will look for 846 not supplied, the program will look for \\ 758 847 ``../Data/reflectivity.dat'' as previous versions of 759 848 Reflector did. … … 796 885 %------------------------------------------------------------ 797 886 798 \newpage799 887 \section{Output file \label{out}} 800 The output file begins with two ascii lines:\\ 888 The reflector output file begins with two ascii lines, the first of 889 which informs us of the program version with which it has been 890 produced (NOTE: in the following, the dollar symbol \verb"$" stands 891 for a carriage return):\\ 801 892 \\ 802 \verb"reflector 0.6 " \\803 \ verb"START---RUN" \\804 After the \verb"START---RUN" flag there is a carriage return, and then 805 t he run header which is basically the one from Corsika with two added806 variables, {\it wobble\_mode} and {\it atmospheric\_model}. Check the 807 Corsika manual for the meaning and units of the rest of them. All of the 808 variables 4-byte real numbers except the first, which is a 4 character 809 string containing the runheader ascii label from Corsika:893 \verb"reflector 0.6$START---RUN$" \\ 894 \\ 895 Then there is run header which is basically the one from Corsika with 896 two added variables, {\it wobble\_mode} and {\it 897 atmospheric\_model}. Check the Corsika manual for the meaning and 898 units of the rest of them. All of the variables are 4-byte real numbers 899 except the first, which is a 4 character string containing the run 900 header ascii label from Corsika: 810 901 \vspace*{0.5cm} 811 902 \\ 812 903 % 813 \begin{tabular}{ll }814 \ parbox{5cm}{Variable} & Description \\904 \begin{tabular}{lll} 905 \multicolumn{2}{c}{Variable} & Description \\ 815 906 \hline 816 & \\ 817 ASCII Label & 'RUNH' \\ 818 RunNumber & \\ 819 date & \\ 820 Corsika\_version & \\ 821 NumObsLev & \\ 822 HeightLev[10] & \\ 823 SlopeSpec & \\ 824 ELowLim & \\ 825 EUppLim & \\ 826 EGS4\_flag & \\ 827 NKG\_flag & \\ 828 Ecutoffh & \\ 829 Ecutoffe & \\ 830 Ecutoffg & \\ 831 C[50] & \\ 832 wobble\_mode & Wobble mode with which the reflector was run (TDAS 907 && \\ 908 1 & ASCII Label & 'RUNH' \\ 909 2 & RunNumber & \\ 910 3 & date & \\ 911 4 & Corsika\_version & \\ 912 5 & NumObsLev & \\ 913 6 to 15 & HeightLev[10] & \\ 914 16 & SlopeSpec & \\ 915 17 & ELowLim & \\ 916 18 & EUppLim & \\ 917 19 & EGS4\_flag & \\ 918 20 & NKG\_flag & \\ 919 21 & Ecutoffh & \\ 920 22 & Ecutoffm & \\ 921 23 & Ecutoffe & \\ 922 24 & Ecutoffg & \\ 923 25 to 74 & C[50] & \\ 924 75 & wobble\_mode & Wobble mode with which the reflector was run (TDAS 833 925 01-05) \\ 834 atmospheric\_model & Atmospheric model used for the absorption926 76 & atmospheric\_model & Atmospheric model used for the absorption 835 927 simulation \\ 836 & 0 = no atmosphere; 1 = atm\_90percent; \\ 837 & 2 = atm\_isothermal; 3 = atm\_corsika. \\ 838 dummy1[18] & not used \\ 839 CKA[40] & \\ 840 CETA[5] & \\ 841 CSTRBA[11] & \\ 842 dummy2[104] & not used \\ 843 AATM[5] & \\ 844 BATM[5] & \\ 845 CATM[5] & \\ 846 NFL[4] & \\ 928 && 0 = no atmosphere; 1 = atm\_90percent; \\ 929 && 2 = atm\_corsika. \\ 930 77 to 94 & dummy1[18] & not used \\ 931 95 to 134 & CKA[40] & \\ 932 135 to 139 & CETA[5] & \\ 847 933 &\\ 848 934 \hline … … 851 937 \newpage 852 938 853 Then there comes a ``\verb"START-EVENT"'' flag, followed by a carriage 854 return and then the binary event header. Each variable is a 4-byte 939 \begin{tabular}{lll} 940 \multicolumn{2}{c}{Variable} & \parbox{11cm}{Description} \\ 941 \hline 942 && \\ 943 140 to 140 & CSTRBA[11] & \\ 944 151 to 254 & dummy2[104] & not used \\ 945 255 to 259 & AATM[5] & \\ 946 260 to 264 & BATM[5] & \\ 947 265 to 269 & CATM[5] & \\ 948 270 to 273 & NFL[4] & \\ 949 &\\ 950 \hline 951 \end{tabular} 952 \vspace*{0.5cm} 953 \\ 954 % 955 Then there comes a carriage return followed by the ascii flag which 956 indicates the start of an event, and again a carriage return:\\ 957 \\ 958 \verb"$START-EVENT$"\\ 959 \\ 960 and then the binary event header. Each variable is a 4-byte 855 961 float number except for the first one which is the event header label 856 962 from Corsika (a string of 4 characters). Some of of the variables from … … 858 964 \vspace*{0.5cm} 859 965 \\ 860 \begin{tabular}{ll }861 \ parbox{5cm}{Variable} & Description \\966 \begin{tabular}{lll} 967 \multicolumn{2}{c}{Variable} & Description \\ 862 968 \hline 863 & \\864 ASCII label & 'EVTH' \\865 EvtNumber & Event Number \\866 PrimaryID & Primary particle identification code \\867 Etotal & Primary particle total energy (GeV) \\868 Thick0 & CORSIKA's starting altitude in g/cm2 \\869 FirstTarget & CORSIKA's number of first target if fixed \\870 zFirstInt & Height of first interaction in cm \\871 p[3] & Primary particle momentum in x,y,-z directions (GeV) \\872 Theta & Primary particle zenith angle (rad) \\873 Phi & Primary particle azimuth angle (rad) \\874 875 NumRndSeq & Number of different CORSIKA random sequences (max. 10) \\876 RndData[10][3] & RndData[i][0]: integer seed of sequence i \\877 & RndData[i][1]: number of offset random calls (mod $10^6$) of sequence i. \\878 & RndData[i][2]: number of offset random calls ($/10^6$) of sequence i. \\879 880 RunNumber & Run number \\881 DateRun & Date of run yymmdd \\882 Corsika\_version & Version of {\it CORSIKA} \\883 884 NumObsLev & Number of observation levels (should be always 1 for969 && \\ 970 1 & ASCII label & 'EVTH' \\ 971 2 & EvtNumber & Event Number \\ 972 3 & PrimaryID & Primary particle identification code \\ 973 4 & Etotal & Primary particle total energy (GeV) \\ 974 5 & Thick0 & CORSIKA's starting altitude in g/cm2 \\ 975 6 & FirstTarget & CORSIKA's number of first target if fixed \\ 976 7 & zFirstInt & Height of first interaction in cm \\ 977 8 to 10 & p[3] & Primary particle momentum in x,y,-z directions (GeV) \\ 978 11 & Theta & Primary particle zenith angle (rad) \\ 979 12 & Phi & Primary particle azimuth angle (rad) \\ 980 981 13 & NumRndSeq & Number of different CORSIKA random sequences (max. 10) \\ 982 14 to 43 & RndData[10][3] & RndData[i][0]: integer seed of sequence i \\ 983 & & RndData[i][1]: number of offset random calls (mod $10^6$) of sequence i. \\ 984 & & RndData[i][2]: number of offset random calls ($/10^6$) of sequence i. \\ 985 986 44 & RunNumber & Run number \\ 987 45 & DateRun & Date of run yymmdd \\ 988 46 & Corsika\_version & Version of {\it CORSIKA} \\ 989 990 47 & NumObsLev & Number of observation levels (should be always 1 for 885 991 us) \\ 886 HeightLev[10] & Height of observation levels in cm \\ 887 888 SlopeSpec & Energy spectrum slope \\ 889 ELowLim & Energy lower limit (GeV) \\ 890 EUppLim & Energy upper limit (GeV) \\ 891 Ecutoffh & \\ 892 Ecutoffm & \\ 893 Ecutoffe & \\ 894 Ecutoffg & \\ 895 NFLAIN & \\ 896 NFLDIF & \\ 897 NFLPI0 & \\ 898 NFLPIF & \\ 899 NFLCHE & \\ 900 NFRAGM & \\ 901 Bx & \\ 902 By & \\ 903 EGS4yn & \\ 904 NKGyn & \\ 905 GHEISHAyn & \\ 906 VENUSyn & \\ 992 48 to 57 & HeightLev[10] & Height of observation levels in cm \\ 993 994 58 & SlopeSpec & Energy spectrum slope \\ 995 59 & ELowLim & Energy lower limit (GeV) \\ 996 60 & EUppLim & Energy upper limit (GeV) \\ 997 61 & Ecutoffh & \\ 998 62 & Ecutoffm & \\ 999 63 & Ecutoffe & \\ 907 1000 & \\ 908 1001 \hline … … 912 1005 % 913 1006 914 \begin{tabular}{ll }915 916 \ parbox{5cm}{Variable} & Description\\1007 \begin{tabular}{lll} 1008 1009 \multicolumn{2}{c}{Variable} & \parbox{11cm}{Description} \\ 917 1010 \hline 918 & \\ 919 CERENKOVyn & \\ 920 NEUTRINOyn & \\ 921 HORIZONTyn & \\ 922 COMPUTER & \\ 923 924 ThetaMin & Minimum Theta of primaries (deg) \\ 925 ThetaMax & Maximum Theta of primaries (deg) \\ 926 PhiMin & Minimum Phi of primaries (deg) \\ 927 PhiMax & Maximum Phi of primaries (deg) \\ 928 CBunchSize & \\ 929 CDetInX & \\ 930 CDetInY & \\ 931 CSpacInX & \\ 932 CSpacInY & \\ 933 CLenInX & \\ 934 CLenInY & \\ 935 COutput & \\ 936 AngleNorthX & \\ 937 MuonInfo & \\ 938 StepLength & \\ 939 CWaveLower & Wavelength lower limit (nm) \\ 940 CWaveUpper & Wavelength upper limit (nm) \\ 941 Multipl & \\ 942 CorePos[2][20] & Core positions of randomized shower \\ 943 SIBYLL[2] & \\ 944 QGSJET[2] & \\ 945 DPMJET[2] & \\ 946 VENUS\_cross & \\ 947 mu\_mult\_scat & \\ 948 NKG\_range & \\ 949 EFRCTHN[2] & \\ 950 WMAX[2] & \\ 951 rthin\_rmax & \\ 952 viewcone\_angles[2] & Inner and outer angles of Corsika's VIEWCONE 953 option. \\ 954 telescopePhi & Telescope azimuth (rad). Measured from South, counter-clockwise \\ 955 telescopeTheta & Telescope zenith angle (rad) \\ 956 TimeFirst & Arrival time on camera of first photon (ns) \\ 957 TimeLast & Arrival time on camera of last photon (ns) \\ 958 959 & 6 next variables: CORSIKA longitudinal particle fit parameters \\ 960 & \hspace{0.5cm} (see CORSIKA manual for precise meaning and units)\\ 961 longi\_Nmax & Numer of charged particles at maximum \\ 962 longi\_t0 & Atmospheric depth of shower starting point (N=0) \\ 963 longi\_tmax & Atmospheric depth of shower maximum (g/cm$^2$) \\ 964 longi\_a & \\ 965 longi\_b & For {\bf longi\_a}, {\bf longi\_b}, {\bf longi\_c}, see CORSIKA manual \\ 966 longi\_c & \\ 967 longi\_chi2 & $\chi^2/dof$ of the fit\\ 1011 && \\ 1012 64 & Ecutoffg & \\ 1013 65 & NFLAIN & \\ 1014 66 & NFLDIF & \\ 1015 67 & NFLPI0 & \\ 1016 68 & NFLPIF & \\ 1017 69 & NFLCHE & \\ 1018 70 & NFRAGM & \\ 1019 71 & Bx & \\ 1020 72 & By & \\ 1021 73 & EGS4yn & \\ 1022 74 & NKGyn & \\ 1023 75 & GHEISHAyn & \\ 1024 76 & VENUSyn & \\ 1025 77 & CERENKOVyn & \\ 1026 78 & NEUTRINOyn & \\ 1027 79 & HORIZONTyn & \\ 1028 80 & COMPUTER & \\ 1029 81 & ThetaMin & Minimum Theta of primaries (deg) \\ 1030 82 & ThetaMax & Maximum Theta of primaries (deg) \\ 1031 83 & PhiMin & Minimum Phi of primaries (deg) \\ 1032 84 & PhiMax & Maximum Phi of primaries (deg) \\ 1033 85 & CBunchSize & \\ 1034 86 & CDetInX & \\ 1035 87 & CDetInY & \\ 1036 88 & CSpacInX & \\ 1037 89 & CSpacInY & \\ 1038 90 & CLenInX & \\ 1039 91 & CLenInY & \\ 1040 92 & COutput & \\ 1041 93 & AngleNorthX& \\ 1042 94 & MuonInfo & \\ 1043 95 & StepLength & \\ 1044 96 & CWaveLower & Wavelength lower limit (nm) \\ 1045 97 & CWaveUpper & Wavelength upper limit (nm) \\ 1046 98 & Multipl & \\ 1047 99 to 138 & CorePos[2][20] & Core positions of randomized shower \\ 1048 139 to 140 & SIBYLL[2] & \\ 1049 141 to 142 & QGSJET[2] & \\ 1050 143 to 144 & DPMJET[2] & \\ 1051 145 & VENUS\_cross & \\ 1052 146 & mu\_mult\_scat & \\ 1053 147 & NKG\_range & \\ 1054 148 to 149 & EFRCTHN[2] & \\ 1055 150 to 151 & WMAX[2] & \\ 968 1056 & \\ 969 1057 \hline … … 972 1060 \newpage 973 1061 974 \begin{tabular}{ll }975 \ parbox{5cm}{Variable} & Description\\1062 \begin{tabular}{lll} 1063 \multicolumn{2}{c}{Variable} & \parbox{11cm}{Description} \\ 976 1064 \hline 977 & \\ 978 CORSIKAPhs & Original photons written by {\it CORSIKA} \\ 979 AtmAbsPhs & Photons absorbed by the atmosphere \\ 980 MirrAbsPhs & Photons absorbed by the mirror \\ 981 OutOfMirrPhs & Photons outside the mirror \\ 982 BlackSpotPhs & Photons lost in the "black spot" \\ 983 OutOfChamPhs & Photons outside the camera \\ 984 CPhotons & Photons reaching the camera \\ 985 986 elec\_cph\_fraction & Fraction of C-photons produced by electrons \\ 987 muon\_cph\_fraction & Fraction of C-photons produced by muons \\ 988 other\_cph\_fraction & Fraction of C-photons produced by electrons \\ 1065 && \\ 1066 152 & rthin\_rmax & \\ 1067 153 to 154 & viewcone\_angles[2] & Inner and outer angles of Corsika's VIEWCONE 1068 option. \\ 1069 155 & telescopePhi & Telescope azimuth (rad). Measured from South, counter-clockwise \\ 1070 156 & telescopeTheta & Telescope zenith angle (rad) \\ 1071 157 & TimeFirst & Arrival time on camera of first photon (ns) \\ 1072 158 & TimeLast & Arrival time on camera of last photon (ns) \\ 1073 1074 && 6 next variables: CORSIKA longitudinal particle fit parameters \\ 1075 && \hspace{0.5cm} (see CORSIKA manual for precise meaning and units)\\ 1076 159 & longi\_Nmax & Numer of charged particles at maximum \\ 1077 160 & longi\_t0 & Atmospheric depth of shower starting point (N=0) \\ 1078 161 & longi\_tmax & Atmospheric depth of shower maximum (g/cm$^2$) \\ 1079 162 & longi\_a & \\ 1080 163 & longi\_b & For {\bf longi\_a}, {\bf longi\_b}, {\bf longi\_c}, see CORSIKA manual \\ 1081 164 & longi\_c & \\ 1082 165 & longi\_chi2 & $\chi^2/dof$ of the fit\\ 1083 166 & CORSIKAPhs & Original photons written by {\it CORSIKA} \\ 1084 167 & AtmAbsPhs & Photons absorbed by the atmosphere \\ 1085 168 & MirrAbsPhs & Photons absorbed by the mirror \\ 1086 169 & OutOfMirrPhs & Photons outside the mirror \\ 1087 170 & BlackSpotPhs & Photons lost in the "black spot" \\ 1088 171 & OutOfChamPhs & Photons outside the camera \\ 1089 172 & CPhotons & Photons reaching the camera \\ 1090 1091 173 & elec\_cph\_fraction & Fraction of C-photons produced by electrons \\ 1092 174 & muon\_cph\_fraction & Fraction of C-photons produced by muons \\ 1093 175 & other\_cph\_fraction & Fraction of C-photons produced by electrons \\ 1094 176 to 182 & dummy[7] & not used \\ 989 1095 & \\ 990 1096 \hline 991 1097 \end{tabular} 992 993 \vspace*{1cm} 994 The event header is followed by 8-word blocks, one for each photon 995 that reaches the camera. A photon block contains the following 996 variables: 1098 % 1099 \vspace*{0.5cm} 1100 \\ 1101 The event header is followed by 8-word blocks, one for each Cherenkov 1102 photon that reaches the camera. A photon block contains the following 1103 variables (as 4-byte float numbers): 997 1104 \vspace*{0.5cm} 998 1105 \\ … … 1006 1113 & n is the index from 1 to ICERML (see Corsika manual) for the case in which each Corsika \\ 1007 1114 & shower is used more than once (normally, in MMCS will be just 1). \\ 1008 & \\1009 1115 x, y & Impact point in camera coordinates (cm) \\ 1010 1116 u, v & Director cosines of down-going versor indicating the photon direction \\ 1011 t & Arrival time on camera (ns) \\ 1012 h & Production height (cm) \\ 1117 t & Arrival time on camera (ns), measured from the time of first 1118 interaction of the primary \\ 1119 h & Production height (cm), measured above sea level on the 1120 vertical of the telescope location \\ 1121 & (it is not the {\it true} height which would be measured on 1122 the vertical of the emitting particle!) \\ 1013 1123 phi & Incidence angle with respect to camera plane (rad) \\ 1014 1124 & \\ … … 1017 1127 \vspace*{0.5cm} 1018 1128 \\ 1019 After the last event photon block there is a blank line, an \verb$END---EVENT$ 1020 flag, another blank line and then the following event. After the last 1021 event in a run it appears the flag ``\verb$END-----RUN$'', while after all 1022 the processed runs, a ``\verb$END----FILE$'' flag is written. Finally, 1023 after this flag an ``ascii tail'' has been added to the file: it 1024 consists of the ascii files {\it magic.def}, {\it axisdev.dat} and {\it 1025 reflectivity.dat} one after the other separated by blank lines. In 1026 this way all the relevant parameters used to produce the output are 1129 After the last photon block of an event there is a carriage return 1130 followed by the ascii flag indicating the event end, and then two more 1131 carriage returns before the ascii flag of the beginning of the next 1132 event, and so on:\\ 1133 \\ 1134 \verb"$END---EVENT$$START-EVENT$Event_header....$END---EVENT$$END-----RUN$$START---RUN$..."\\ 1135 \\ 1136 The flag ``\verb$END-----RUN$'' appears after the last event in a run 1137 (that is, the last event processed of each of the input cer 1138 files). After the last processed run, an end of file flag is 1139 written:\\ 1140 \\ 1141 \verb"...$END---EVENT$$END-----RUN$$END----FILE$"\\ 1142 \\ 1143 Finally, after this flag an ``ascii tail'' has been attached to the file: 1144 it consists of the ascii files {\it magic.def}, {\it axisdev.dat} and 1145 {\it reflectivity.dat} one after the other, separated by carriage returns: 1146 \\ 1147 \\ 1148 \verb"$magic.def$axisdev.dat$reflectivity.dat"\\ 1149 \\ 1150 In this way all the relevant parameters used to produce the output are 1027 1151 kept together with the reflected events. 1028 1029 1152 %------------------------------------------------------------ 1030 1031 \section{Appendix A} 1153 \newpage 1154 \renewcommand{\thesubsection}{A.\arabic{subsection}} 1155 \section*{Appendix A : atmospheric absorption} 1156 \addcontentsline{toc}{section}{Appendix A : atmospheric absorption} 1157 % 1158 The simulation of the absorption of Cherenkov light in the atmosphere 1159 has been included in the {\it Reflector} program because this feature 1160 was not yet available in the first versions of CORSIKA used within the 1161 MAGIC collaboration. In the latest CORSIKA versions, the atmospheric 1162 absorption has been included as an option, but it is not 1163 compatible with the simulation of a curved atmosphere \cite{cor02}, 1164 and hence we have kept this step as a part of our reflector 1165 simulation. This appendix describes how the atmospheric absorption is 1166 implemented in the program when the option ATM\_CORSIKA (see section 1167 \ref{commands}) is chosen. 1168 \par 1169 The geometry of the problem is sketched in figure 1170 \ref{fig:atmoscheme}. A Cherenkov photon is emitted in point A and 1171 travels towards the telescope placed at B. At any moment, the height 1172 $h$ of the photon above sea level is related to the distance $L$ 1173 between the photon and the telescope through 1174 % 1175 \begin{equation} 1176 (R+h)^2 = (R+h_1)^2 + L^2 + 2 L \; (R+h_1) \; \cos \theta 1177 \label{eq:height} 1178 \end{equation} 1179 % 1180 , where $R$ is the Earth radius, $h_1$ the height (a.s.l.) of the 1181 observation level and $\theta$ is the zenith angle of the photon 1182 trajectory measured at the telescope site. The Cherenkov output of 1183 CORSIKA contains for each photon the height $h_C$ of the emission 1184 point A, measured along the vertical of the observer. The {\it true 1185 vertical height} $h_2$ of the emission point can be obtained by 1186 replacing $L$ by $(h_C-h_1)/\cos \theta$ in equation 1187 (\ref{eq:height}). 1188 % 1189 \begin{figure}[ht] 1190 \begin{center} 1191 \mbox{ \epsfig{file=eps/atmoscheme.eps,width=0.8\textwidth} } 1192 \end{center} 1193 \caption[] 1194 {Calculation of the true vertical height $h_2$ of the emission point 1195 of a Cherenkov photon (point A), and the optical path traversed down to the 1196 telescope (point B).} 1197 \label{fig:atmoscheme} 1198 \end{figure} 1199 % 1200 \par 1201 The optical path $I(\theta, h_1, h_2)$ traversed by the photon can be 1202 calculated integrating the air density along the trajectory 1203 $\overline{\text{AB}}$. For the case $h/R \ll 1$, we can drop in 1204 (\ref{eq:height}) the terms in $(h/R)^2$ and smaller, and then solve 1205 for L. Deriving now with respect to $h$, we have: 1206 % 1207 \begin{equation} 1208 \frac{dL}{dh} \simeq \sqrt{\frac{R}{2\;(h-h_1)+R\;\cos^2 \theta}} 1209 \qquad \text{for} \qquad \frac{h}{R} \ll 1 1210 \label{eq:dldh} 1211 \end{equation} 1212 % 1213 \subsection{Rayleigh scattering} 1214 Rayleigh scattering is the scattering of light by particles smaller 1215 than its wavelength. These are in our case the air molecules. The 1216 transmission coefficient due to Rayleigh scattering is a strong 1217 function of the wavelength $\lambda$: 1218 % 1219 \begin{equation} 1220 T_{\text{Rayl}} (\lambda) = \exp \Biggl[ - \frac{I(\theta, h_1, h_2)}{x_R} \; \Biggl(\frac{400 \; 1221 \text{nm}}{\lambda}\Biggl)^4 \; \Biggl] 1222 \label{eq:rayleigh} 1223 \end{equation} 1224 % 1225 Here $I(\theta, h_1, h_2)$ is the optical path (in g/cm$^2$) traversed 1226 between points A and B, and $x_R = 2970$ g/cm$^2$ is the mean free path of 1227 the Rayleigh scattering at $\lambda = 400$ nm. 1228 \par 1229 A convenient way of expressing the optical path is the following: 1230 % 1231 \begin{equation} 1232 I\;(\theta, h_1, h_2) = (x_1 - x_2) \cdot \mathcal{AM}\;(\theta, h_1, h_2) 1233 \end{equation} 1234 Here $x_{i=1,2}$ is the mass overburden of the atmosphere above a 1235 height $h_i$ (in the 1236 vertical direction) and $\mathcal{AM}$ is the so called {\it air 1237 mass}\footnote{If we set $h_2 = \infty$, we have the usual definition 1238 of {\it air mass} in optical astronomy.}, defined as 1239 % 1240 \begin{equation} 1241 \mathcal{AM} \equiv \frac{I\;(\theta,h_1,h_2)}{I\;(0^\circ,h_1,h_2)} 1242 \label{eq:airmass} 1243 \end{equation} 1244 % 1245 , which is a function mainly of the zenith angle $\theta$ (see 1246 fig. \ref{fig:airmass}). In our simulation, for the calculation of the 1247 mass overburden $x_i$ we have used the U.S. standard atmosphere 1248 parametrized by J. Linsley \cite{cor02}, the same we used in Corsika 1249 for the shower development simulation. It consists of five layers: in 1250 the lower four the density decreases exponentially with height, and in 1251 the upper one the mass overburden cecreases linearly until it vanishes 1252 at $h = 112.8$ km. 1253 % 1254 \begin{figure}[ht] 1255 \begin{center} 1256 \mbox{ \epsfig{file=eps/airmass.eps,width=0.8\textwidth} } 1257 \end{center} 1258 \caption[] 1259 {Dependence with zenith angle of the air mass as defined in the 1260 text. The air mass has been calculated for an exponential atmosphere 1261 with scale height $H = 7.4$ km, for the observation level of MAGIC 1262 (2.2 km a.s.l.), and for light coming from $h_2 = 10$ and at 100 km a.s.l. As 1263 we can see the dependence with the emission height $h_2$ is very small.} 1264 \label{fig:airmass} 1265 \end{figure} 1266 % 1267 \par 1268 For the estimate of $\mathcal{AM}$, a simpler atmospheric model has 1269 been used, in which the vertical density profile is described by a 1270 single exponential: $\rho = \rho_0 \; e^{-h/H}$ with scale height $H 1271 = 7.4$ km. This simplifies the calculations, and is accurate enough 1272 for our purposes. Using (\ref{eq:dldh}) the optical path $I(\theta, 1273 h_1, h_2)$ can then be obtained approximately as: 1274 % 1275 \begin{equation} 1276 I(\theta, h_1, h_2) = \int_A^B \rho\;(h)\; \frac{dL}{dh} \; dh \simeq 1277 \sqrt{\frac{R}{2}} \; 1278 \int_{h_1}^{h_2} \frac{\rho_0 1279 \;e^{-h/H}}{\sqrt{h-h_1+\frac{1}{2}\;R\;\cos^2 \theta}} \; dh 1280 \label{eq:optpath} 1281 \end{equation} 1282 % 1283 and finally: 1284 % 1285 \begin{equation} 1286 \mathcal{AM} \simeq e^{-\frac{R \sin^2 \theta}{2H}} 1287 \cdot 1288 \frac{ 1289 \text{erfc}\;(\sqrt{\frac{R \cos^2 \theta}{2H}}) 1290 \;-\; 1291 \text{erfc}\;(\sqrt{\frac{2 (h_2 - h_1) + R \cos^2 \theta}{2H}}) 1292 } 1293 { 1294 \text{erfc}\;(\sqrt{\frac{R}{2H}}) 1295 \;-\; 1296 \text{erfc}\;(\sqrt{\frac{2(h_2 - h_1) + R}{2 H}}) 1297 } 1298 \label{eq:airmass2} 1299 \end{equation} 1300 % 1301 where we have used the complementary error function $\text{erfc}\;(x) 1302 = \frac{2}{\sqrt{\pi}}\int_x^\infty e^{-t^2} dt$. From 1303 (\ref{eq:airmass2}), $\mathcal{AM}$ can be readily evaluated for any 1304 value of $\theta$, $h_1$ and $h_2$. In fig. \ref{fig:rayleigh} the 1305 resulting Rayleigh transmission coefficient $T_{\text{Rayl}}$ finally 1306 obtained from (\ref{eq:rayleigh}) is plotted versus the zenith angle 1307 for three wavelengths. 1308 % 1309 \begin{figure}[ht] 1310 \begin{center} 1311 \mbox{ \epsfig{file=eps/rayleigh.eps,width=\textwidth} } 1312 \end{center} 1313 \caption[] 1314 {Rayleigh transmission coefficient as a function of zenith angle for three 1315 different wavelengths. The solid, dashed and dotted lines correspond 1316 respectively to light coming from 5, 10 and 20 km distance from the 1317 telescope.} 1318 \label{fig:rayleigh} 1319 \end{figure} 1320 % 1321 \subsection{Mie scattering} 1322 Cherenkov light also suffers Mie scattering through interaction with 1323 small dust particles suspended in the air (aerosols), whose size is 1324 comparable to the wavelength of the light. In our simulation of the 1325 attenuation due to aerosols we have used the model proposed by 1326 Elterman \cite{elterman64,elterman65}, which considers an aerosol 1327 number density $N_p$ which (roughly) decreases exponentially up to 10 1328 km a.s.l. with scale height $H \simeq 1.2$ km, followed by a more 1329 tenuous layer between 10 and 30 km (see fig. \ref{fig:aerosol}a). In 1330 this model, the aerosol size distribution is considered to be 1331 unchanged with altitude. 1332 % 1333 \begin{figure}[ht] 1334 \begin{center} 1335 \mbox{ \epsfig{file=eps/aerosol.eps,width=0.9\textwidth} } 1336 \end{center} 1337 \caption[] 1338 {Aerosol model by Elterman: in (a), number density of 1339 aerosols as a function of height above sea level; in (b), aerosol 1340 attenuation coefficient at sea level as a function of wavelength.} 1341 \label{fig:aerosol} 1342 \end{figure} 1343 % 1344 \par 1345 Measured values of the aerosol attenuation coefficients at sea level 1346 $\beta_p(0)$ for different wavelengths \cite{elterman65} are shown in 1347 figure \ref{fig:aerosol}b. To obtain the attenuation coefficient at a 1348 given height $h$, we simply do $\beta_p(h, \lambda) = \beta_p(0, 1349 \lambda) \cdot N_p(h)/N_p(0)$. In the Elterman model the aerosol 1350 transmission coefficient for the trajectory from A to B depicted in 1351 figure \ref{fig:atmoscheme} would then be: 1352 % 1353 \begin{equation} 1354 T_{\text{Mie}}(\lambda) = e^{-\tau_{mie}} \quad \text{, with}\quad 1355 \tau_{mie}(h_1, h_2, \theta, \lambda) = \frac{\beta_p(0, \lambda)}{N_p(0)} \; 1356 \int_{h_1}^{h_2} 1357 \; N_p(h) \;\; \frac{dL}{dh}\; dh 1358 \label{eq:aerosoltau} 1359 \end{equation} 1360 % 1361 Here $\tau_{mie}$ is the aerosol optical depth of the path from A to 1362 B. Given that the aerosol density distribution is not a simple 1363 exponential, we have to do the integral in (\ref{eq:aerosoltau}) 1364 numerically. The integral depends on $h_2$ and on $\theta$, through 1365 $dL/dh$ (it also 1366 depends on $h_1$, but this is the observation level and therefore 1367 fixed). In this case we use the exact expression for $\;dL/dh\;$ which can be 1368 obtained from (\ref{eq:height}). At the beginning of each simulation 1369 run we calculate and store the results of the integral for values of 1370 $\theta$ between 0 and 90$^\circ$ (in steps of $1^\circ$), and of 1371 $h_2$ from $h_1$ up to 30 km (in steps of 100 m). To do the integral a 1372 linear interpolation has been used to obtain the value of $N_p$ for 1373 any height. During the simulation of each Cherenkov photon, we get the 1374 corresponding precalculated value of the integral and deduce 1375 $T_{\text{Mie}}$ from expression (\ref{eq:aerosoltau}). 1376 % 1377 \begin{figure}[ht] 1378 \begin{center} 1379 \mbox{ \epsfig{file=eps/mie.eps,width=\textwidth} } 1380 \end{center} 1381 \caption[] 1382 {Aerosol transmission coefficient for three different wavelengths as a 1383 function of the distance between the photon emission point and the 1384 telescope. Plots for four different zenith angles between 0 and 80 1385 degrees are shown.} 1386 \label{fig:mie} 1387 \end{figure} 1388 % 1389 \par 1390 Since in this model the aerosols are concentrated mainly at very low 1391 altitude, the transmission coefficient is more or less constant above 1392 a certain height (which depends on $\theta$), as can be seen in 1393 fig. \ref{fig:mie}. For instance, for vertically incident 300 nm light 1394 emitted higher than 4 km above the telescope, the Mie transmission is 1395 about 0.95. 1396 % 1397 \subsection{Absorption by Ozone} 1398 % 1399 The absorption of Cherenkov light by Ozone has been implemented 1400 following also the Elterman standard atmosphere \cite{elterman65}. The 1401 coefficient for ozone absorption is given by 1402 % 1403 \begin{equation} 1404 \beta_3(h,\lambda) = A_v(\lambda) \cdot D_3(h) 1405 \end{equation} 1406 % 1407 , where $A_v(\lambda)$ is the Vigroux \cite{vigroux53} ozone 1408 absorption coefficient (cm$^{-1}$) and $D_3(h)$ is the ozone 1409 concentration (cm km$^{-1}$) according to Elterman. The transmission 1410 coefficient of Ozone in the path $\overline{\text{AB}}$ is then: 1411 % 1412 \begin{equation} 1413 T_{\text{Ozone}}(\lambda) = e^{-\tau_{oz}} \quad \text{, with}\quad 1414 \tau_{oz}(h_1, h_2, \theta, \lambda) = A_v(\lambda) \; \int_{h_1}^{h_2} 1415 \; D_3(h) \;\; \frac{dL}{dh}\; dh 1416 \label{eq:ozonetau} 1417 \end{equation} 1418 % 1419 \begin{figure}[ht] 1420 \begin{center} 1421 \mbox{ \epsfig{file=eps/ozone.eps,width=\textwidth} } 1422 \end{center} 1423 \caption[] 1424 {Ozone concentration vertical profile (a) and Vigroux coefficients for 1425 Ozone absorption (b). The Vigroux coefficients for $\lambda =$ 380 and 1426 400 nm are zero.} 1427 \label{fig:ozone} 1428 \end{figure} 1429 % 1430 \par 1431 Once again, like in the case of Mie scattering, the optical depth 1432 $\tau_{oz}$ is the product of a factor which depends on $\lambda$ and 1433 an integral which depends on $h_1$, $h_2$ and $\theta$. We proceed in 1434 the same way as before, precalculating the values of the integral in 1435 steps of $\Delta\theta = 1^\circ$ and $\Delta h = 100$ m, up to a 1436 height of 50 km a.s.l. (where the ozone concentration becomes 1437 negligible), and then reading the appropriate values for every 1438 simulated photon. 1439 \par 1440 Finally, the overall atmospheric transmission coefficient is 1441 calculated as 1442 % 1443 \begin{equation} 1444 T_{total} = T_{Ray} \cdot T_{Mie} \cdot T_{Ozone} 1445 \end{equation} 1446 % 1447 In figure \ref{fig:absorplot} the atmospheric transmission as a 1448 function of the distance to the telescope for $\theta = 0^\circ$ is 1449 shown. Ozone absorption turns out to be dominant below 320 nm, while 1450 Rayleigh scattering is the main cause of the loss of photons at longer 1451 wavelengths. 1452 % 1453 \begin{figure}[ht] 1454 \begin{center} 1455 \mbox{ \epsfig{file=eps/absorplot.eps,width=\textwidth} } 1456 \end{center} 1457 \caption[] 1458 {Total transmission coefficient for vertically incident light as a 1459 function of the distance between the emission point and the 1460 telescope. The contributions of absorption by ozone and of Rayleigh 1461 and Mie scattering are also shown for comparison.} 1462 \label{fig:absorplot} 1463 \end{figure} 1464 % 1465 \newpage 1466 \section*{Appendix B : files in the reflector package} 1467 \addcontentsline{toc}{section}{Appendix B : files in the reflector package} 1032 1468 1033 1469 The list of all Reflector files follows. … … 1060 1496 MagicProgs/Simulation/Detector/Reflector_0.6/version.h 1061 1497 1062 MagicProgs/Simulation/Detector/Reflector_0.6/doc/Tdas0211.ps .gz1498 MagicProgs/Simulation/Detector/Reflector_0.6/doc/Tdas0211.ps 1063 1499 MagicProgs/Simulation/Detector/Reflector_0.6/doc/Tdas0211.tex 1064 1500 MagicProgs/Simulation/Detector/Reflector_0.6/doc/magic-tdas.sty 1065 1501 MagicProgs/Simulation/Detector/Reflector_0.6/doc/magiclogo.eps 1066 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/colimation.eps.gz 1067 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/coma.eps.gz 1068 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/coma_star.eps.gz 1069 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/coorsystems.eps.gz 1070 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/evcompare.eps.gz 1071 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/parabola.eps.gz 1072 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/refl06images.eps.gz 1073 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/spot10kmf1694.eps.gz 1074 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/spot10kmf1700.eps.gz 1075 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/spot_inf_f1697.eps.gz 1076 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/telecoor.eps.gz 1077 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/timing.eps.gz 1502 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/absorplot.eps 1503 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/aerosol.eps 1504 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/airmass.eps 1505 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/atmoscheme.eps 1506 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/colimation.eps 1507 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/coma.eps 1508 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/coma_star.eps 1509 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/coorsystems.eps 1510 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/evcompare.eps 1511 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/mie.eps 1512 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/ozone.eps 1513 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/parabola.eps 1514 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/rayleigh.eps 1515 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/refl06images.eps 1516 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/reflec.eps 1517 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/spot10kmf1694.eps 1518 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/spot10kmf1700.eps 1519 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/spot_inf_f1697.eps 1520 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/telecoor.eps 1521 MagicProgs/Simulation/Detector/Reflector_0.6/doc/eps/timing.eps 1078 1522 1079 1523 MagicProgs/Simulation/Detector/Reflector_0.6/tester/Makefile … … 1096 1540 %%>>>> Or the following if you include here by hand your 1097 1541 %%>>>> bibliographic entries 1542 1543 \begin{thebibliography}{00} 1544 1545 \bibitem{elterman64} 1546 L. Elterman, Applied Optics Vol. 3, No. 6 (1964) 745. 1547 1548 \bibitem{elterman65} 1549 L. Elterman, R.B. Toolin, S.L. Valley (editor), Handbook of 1550 geophysics and space environments, McGraw-Hill, N.Y. (1965). 1551 1552 \bibitem{cor02}D. Heck and J. Knapp, EAS Simulation with CORSIKA: A User's 1553 Manual, 2002. 1554 1555 \bibitem{vigroux53} 1556 E. Vigroux, Contributions \`a l'étude expérimentale de l'absorption 1557 de l'ozone, Annales de Physique, v. 8 (1953) 709. 1558 1559 \end{thebibliography} 1098 1560 1099 1561 \end{document}
Note:
See TracChangeset
for help on using the changeset viewer.