Subject: Muon Propagation
Date: Thu, 30 Nov 2000 23:56:13 +0100

muon montecarlo code written in java version 0.01

The code:

    1. compiles
    2. runs
    3. contains all forseen cross sections

The main purpose of the code is to calculate final energy of the muon
with the given initial energy after some known distance, or to say where
exactly it disappeared if it didn't reach the final point located at a
given distance form the initial point.

Running of this code is *not* for the weak of heart. Please do not start
it unless you have a couple of hours to spare (at least on my machine).

As it is given, it will propagate a total of 2 (two) muons with energy
10^5 Mev to a distance of 10^4 cm. Each muon will be subject to decay,
ionization , bremsstrahlung, pair production and photonuclear losses as
well as knock-on stochastic energy transfers to electrons and photons
arising in the above mentioned processes.

Although i have sorted out most of the notational and purport questions,
i still have a couple, including the following:

    1. what is M in formula (8) of the cross sections' paper?
    2. do we take it seriously?
    3. If yes, do we take into account the binding energy of the
nucleons in the nucleus?

    4. Almost in every cross section the energy lost is the energy
gained by the main knocked particle (electron, photon, epair, or
nucleus). this most likely leads to systematic error - energy lost being
smaller than it really is. Is there a reference that calculates
distribution of energy between main particle and those of secondary
importance?

    5. Where do i take delta (density correction) in the ionization
formula from?
    6. maybe something else.

Now there is the following work still to be performed:

    1. Answer the above questions and implement their recommendations.
    2. plot all cross sections and compare them with values from papers.

    3. look at the plots and think of the possible variable changes in
the integrals to accelerate calculation
    4. choose and implement parametrization scheme for each of the
integrals (except the tracking) that would allow the use of the program
for the peaceful purposes.


Subject: Muon Propagation
Date: Fri, 01 Dec 2000 00:06:33 +0100

>     5. Where do i take delta (density correction) in the ionization
> formula from?

A small correction: from the formula given in the paper, but what is `m' in this
formula?


Subject: Muon Propagation
Date: Fri, 01 Dec 2000 05:48:57 +0100

version 0.01.01 of the muon propagation montecarlo code written in Java (MPMCWJ)

The update fixes handling of an unusual condition in class Integral as well as
bug in the integrational limits in the photonuclear cross
section. This, btw. could be considered as the bug in the cross sectional paper:
3rd formula from the top of the page 255 gives negative values for low enough
energies (lower than 512.68 MeV). Probably the formula is not applicable at
energies that low, but then we need to know exactly the cutoff energy, or if the
contribution of this formula from energies lower than cutoff is negligible, just
do nothing.

Another correction:

>     6. maybe something else.

    6. what exactly is the expression for the dzi in Z*(Z+dzi) in the pair
production formula?

    7. maybe something else.

in the todo list:

    5. compare energies of some small set of muons with the results of a+bE
formula.


Subject: Muon Propagation
Date: Tue, 05 Dec 2000 04:34:29 +0100

I am thrilled to announce version 0.01.02 of the mmc. It was possible to compare
this version of the program with the tables from the yellow book (1985). All energy
losses are comparable to those in the book. Agreement is within the first 2 digits
in most cases. I have noticed, however, that bremsstrahlung for the Hydrogen
differs more, and the more, the smaller the energy. E.g.

Energy, GeV   book       mine
1             17.41e-8   8.235856436249125E-8
10            3.173e-6   1.9318150603531618E-6
100           4.589e-5   3.664803882069739E-5
1000          5.786e-4   5.380685468381188E-4
10000         0.008635   0.008775320747892678

Is it known of works reporting similar deviations? Or is it more likely to be due
to the programming error?

This version is half the speed, twice the bugs. Or rather, half the bugs, but one
tenth of the speed of the previous version. Part of this (or all) is due to more
realistic settings. For the ongoing calcilation in the Symphony framework i set
the energy of muons to 1TeV, and they are propagated through 1.5 km of ice.

Next step would be to improve the speed. By a lot. Really. A factor of thousand in
speed (i meen faster) would probably advance version to 0.02.


Subject: Muon Propagation
Date: Tue, 05 Dec 2000 22:57:04 +0100

Version 0.01.03 is out.

I was able to find the formula for the electron correction to the pair production
cross section in the "cross section" paper: at the bottom of page 255. From now on i
will not dare say something is missing in there or incorrect. So, this is implemented.

Another change is implementation of frejus rock. It is created by calling
Medium("Frejus Rock"); of the class Medium. Regular "rock" is now called "Standard
Rock".


Subject: Muon Propagation
Date: Wed, 06 Dec 2000 18:30:00 +0100

Version 0.01.04 of the mmc program is ready.

The main change was clearing up the code containing random number generations, and
putting comments describing the decision steps performed by the propagateTo function in
form of the debug messages. Medium class now contains the string, describing the employed
medium.

The next release will include parametrizations.

