next up previous
: The input data card : Using CERN Library inside : Using CERN Library inside

Description of the problem

Sometimes the use of commonly used output environment can be of help for some users. A typical example, expecially for users belonging to the High Energy Physics community, is the case of HBOOK histograms or ntuple. In order to illustrate how to make use of the HBOOK interface to generate an output from FLUKA, we shall consider the case of the test of the propagation of muons in sea water, where the goal is to predict the residual energy and the scattering angle of high energy muons which have crossed a considerable depth of sea water. This kind of calculation is typically necessary in the framework of the design of large neutrino telescopes, like the case of the ANTARES experiment. In this case, a typical approach is to consider muons at different fixed energies and propagate them through a layer of water having the proper chemical composition. In our example, the quantities of interest will be recorded into a HBOOK ntupla. In order to do this, the user will prepare some specific user routine to book, fill and save the HBOOK ntupla. However, there are many different ways which can be used to arrive at the same result, and this example does not claim to represent the only efficient way to accomplish this goal.

We shall describe this application for a unix (Linux) environment, where we suppose that a standard FLUKA release has been installed. Therefore we also assume that the environmental variables FLUKA (or FLUPRO) and FLUTIL have been defined.

In the following, all codewords addressable in the FLUKA User Manual will be typed in bold characters. File names belonging to the FLUKA package will be typed in italic style.

In summary, the problem can be faced in the following way.

In the following we shall see in detail:

  1. the data card file;
  2. the beam definition;
  3. the explanation of geometry (as defined in the data card file);
  4. the specific material definition;
  5. the choice of the parameters in the physical processes;
  6. the user routines;
  7. the compiling and linking procedure;
  8. the run of an example;
  9. example of output analysis.

next up previous
: The input data card : Using CERN Library inside : Using CERN Library inside
Giuseppe Battistoni 平成17年3月7日