Download User manual
Transcript
New features of the Agata Simulation Code (February 2006) Several new features are available with the present version of the simulation code, here are the relevant ones: • Possibility to initialize the seed of the random number generation. If the -seed option is chosen, the current system time is chosen as seed of the random number generation. • Possibility to choose between several ancillary detectors for AGATA without need to recompile the code. The -a index option selects the ancillary corresponding to index (similar to the choice of the geometry). • Possibility to start the calculations at a given run number. With the -run n option, the number of the first run will be n. • Improved interface to the ancillary detectors, with the possibility to insert new ancillary detectors in an easy way. Examples are also provided to use two or more ancillaries at the same time. • Improved treatment of polarized photons: 1. the characteristics of a photon beam are given in terms of a degree of polarization (the fraction of linearly polarized photons) and of an angle (which is related to the possible orthogonal states of linear polarization). 2. it is possible to express such characteristics in terms of the Stokes parameters. 3. for the unpolarized fraction of the radiation, one of the two possible states is chosen randomly. 4. the meaning of the “polarization” parameter in case of input from external file is changed accordingly to the angle between the electric field vector and the “orthogonal” reference direction. It is the user responsibility, in case of polarized photons, to specify the electric field vector direction on an event-by-event basis. • Possibility to choose the units of length and energy for the output to the list-mode file through interactive commands. The default unit of length is now mm rather than cm. • Possibility to modify through interactive command the frequency of event number printout (useful in the case of long runs). • Simplified AgataSensitiveDetector class. Only two methods to extract the position of each interaction are now available, namely the default one (0), which correspond to following the electron tracks, and the alternative one (1, formerly known as 2), in which the energy deposition of the electrons is assigned to the point where the primary interaction took place. In case method “2” is selected, automatically it is converted to method “1”. The behaviour of method 1 has been deeply modified in the case of pair production events: 1. whenever a pair production event took place, it is assigned an energy deposition equal to the photon energy minus twice the electron rest mass minus the kinetic energy of the positron at the moment of its annihilation 2. secondary photons are considered only in case they origin from the point in which the annihilation took place 3. in case of Compton scattering or annihilation, the energy lost by the photon is deposited in the point where the interaction took place 4. an additional check is performed at the end of the event to discard events in which the computed deposited energy is larger than the initial energy (because of the “unphysical” way of extracting the information. It is strongly recommended to use the default tracking method when the detailed energy depositions are of concern. • Shorter documentation! A few example macros are presented rather than a full manual. A great effort has been taken to add plenty of comments to the code, which should be clearer to follow. The list of available commands is available interactively through the help command, as before; for each command there is a short description, plus the list of required 3