کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
503317 863763 2007 18 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
mFOAM-1.02: A compact version of the cellular event generator FOAM
موضوعات مرتبط
مهندسی و علوم پایه شیمی شیمی تئوریک و عملی
پیش نمایش صفحه اول مقاله
mFOAM-1.02: A compact version of the cellular event generator FOAM
چکیده انگلیسی

The general-purpose self-adapting Monte Carlo (MC) event generator/simulator mFOAM (standing for mini-FOAM) is a new compact version of the FOAM program, with a slightly limited functionality with respect to its parent version. On the other hand, mFOAM is easier to use for the average user. This new version is fully integrated with the ROOT package, the C++ utility library used widely in the particle physics community. The internal structure of the code is simplified and the very valuable feature of the persistency of the objects of the mFOAM class is improved. With the persistency at hand, it is possible to record very easily the complete state of a MC simulator object based on mFOAM and ROOT into a disk-file at any stage of its use: just after object allocation, after full initialization (exploration of the distribution), or at any time during the generation of the long series of MC events. Later on the MC simulator object can be easily restored from the disk-file in the “ready to go” state. Objects of the TFoam class can be used as a stand-alone solution to many everyday problems in the area of the Monte Carlo simulation, or as building blocks in large-scale MC projects, taking full advantage of the object-oriented technology and persistency.Program summaryManuscript title: mFOAM-1.02: A compact version of the cellular event generator FOAMAuthors: S. Jadach, P. SawickiProgram title: mFOAM (mini FOAM), version 1.02Catalogue identifier: ADYX_v1_0Program summary URL:http://cpc.cs.qub.ac.uk/summaries/ADYX_v1_0.htmlProgram obtainable from: CPC Program Library, Queen's University, Belfast, N. IrelandLicensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.htmlNo. of lines in distributed program, including test data, etc.: 2 036 711No. of bytes in distributed program, including test data, etc.: 21 403 104Distribution format: tar.gzProgramming language: ANSI C++Computer: Most Unix workstations, supercomputers and PCOperating system: Most UNIX systems, Linux and Windows. Application programs were thoroughly tested under Red Hat Linux 7.x, CERN Scientific Linux 3.02, Fedora Linux FC3, UNIX IRIX-6.5. At present mFOAM is distributed with the ROOT package (version 4.04 and later).RAM: Depends on the complexity of the problem. For the default 2000 cells it is about 25 MB while for 100,000 cells it allocates about 35 MB. These data are for running from CINT command line and include also memory consumption by CINT itself.Keywords: Monte Carlo (MC) simulation and generation, particle physics, phase spacePACS: 02.70.RrClassification: 4.14Nature of problem: Monte Carlo integration or generation of unweighted (weight equals 1) events with a given probability distribution is a standard problem in many areas of research, ranging from high-energy physics to economics. In any library of general utilities it is highly desirable to include a general-purpose numerical tool (program) with the MC generation algorithm featuring the built-in capability of automatically adjusting the generation procedure to an arbitrary pattern of singularities in the generated distribution. Our primary goal is the simulation of the differential distribution in the multiparticle Lorentz-invariant phase space for the purpose of comparison between Quantum Field Theory predictions, and results of high-energy experiments. However, the solution may have a much wider area of applications.Solution method: In the algorithm, a grid of cells, called “foam”, is built in the process of the binary split of the cells. The resulting foam is adapted automatically to the shape of the integrand in such a way that the resulting ratio of the average weight to maximum weight or the variance to average weight is minimized.Restrictions: Consumption of computer resources depends on the complexity of the problem. The use of the program is limited to about a million of cells for a relatively small number of dimensions (⩽20) in view of the memory and CPU time restrictions of a modern desktop computer.Additional comments: The general-purpose self-adapting Monte Carlo (MC) event generator/simulator mFOAM (standing for mini-FOAM) is a new compact version of the FOAM program (Catalogue Id: ADMC), with a slightly limited functionality with respect to its parent version. On the other hand, mFOAM is easier to use for the average user. This new version is fully integrated with the ROOT package, the C++ utility library used widely in the particle physics community. The internal structure of the code is simplified and the very valuable feature of the persistency of the objects of the mFOAM class is improved. With the persistency at hand, it is possible to record very easily the complete state of a MC simulator object based on mFOAM and ROOT into a disk-file at any stage of its use: just after object allocation, after full initialization (exploration of the distribution), or at any time during the generation of the long series of MC events. Later on the MC simulator object can be easily restored from the disk-file in the “ready to go” state. Objects of the TFoam class can be used as a stand-alone solution to many everyday problems in the area of the Monte Carlo simulation, or as building blocks in large-scale MC projects, taking full advantage of the object-oriented technology and persistency.Running time: The CPU time necessary to build up a foam of cells depends strongly on the number of dimensions and the requested number of cells. On the PC with a 1.6 GHz Intel processor, it takes about 10 seconds to build a hyperrectangular grid of 10,000 cells for simple 3-dimensional distribution.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Computer Physics Communications - Volume 177, Issue 5, 1 September 2007, Pages 441–458
نویسندگان
, ,