Toutatis input particle distribution

https://www.dacm-logiciels.fr/toutatis
Post Reply
Italygiovanni rutigliani
Novice
Novice
Posts: 4
Joined: Tue 29 Apr 2025 12:56
Country:
Italy (it)
Italy

Toutatis input particle distribution

Post by Italygiovanni rutigliani »

Dear all,
How is possible to read the .dst or .txt input parameter file?
I tried to put the path into the dedicated line but doesn't work.
theDistribution k // If flag=k, Toutatis generate a 4D WB distribution. If flag=f, the complete path to an input dst file must be provided.
FranceRomualdDuperrier
Global moderators
Global moderators
Posts: 82
Joined: Fri 28 Aug 2020 14:59
Location: Paris-Saclay
Country:
France (fr)
France

Re: Toutatis input particle distribution

Post by FranceRomualdDuperrier »

Hi

Only a .dst file can be used as input.

Does the code tell you that it does not find the .dst file or another error message is displayed?

In principle, a command line like:

theDistribution f C:\Users\rduperri\Pro\MyProject\toutatis.dst

should work. Also, check that you have proper access rights to the the folder where the .dst file is located.

Last, when a dst file is used, the command line:

input -6 n alphaX betaX EmitX alphaY betaY EmitY dPhi dE

where n is the number of particles, is not ignored by the code. It means that n must lower or equal than the number of particles in dst file. When n is lower, a subset of the particles will be read from the file.

I hope it helps,
Romuald
Italygiovanni rutigliani
Novice
Novice
Posts: 4
Joined: Tue 29 Apr 2025 12:56
Country:
Italy (it)
Italy

Re: Toutatis input particle distribution

Post by Italygiovanni rutigliani »

Hi,
I put the correct path and correct number of particles "input -6 n alphaX betaX EmitX alphaY betaY EmitY dPhi dE" but it doesn't work. Toutatis closes without error messages after Run button
If you want I can send you the .inp and dst. file
Italygiovanni rutigliani
Novice
Novice
Posts: 4
Joined: Tue 29 Apr 2025 12:56
Country:
Italy (it)
Italy

Re: Toutatis input particle distribution

Post by Italygiovanni rutigliani »

Hi,
I have to convert an Input file with this units:
X (cm) Xp (rad) Y (cm) Yp (rad) phi (rad) W (MeV)
which are the correct unit for .dst input file?

giovanni
Italygiovanni rutigliani
Novice
Novice
Posts: 4
Joined: Tue 29 Apr 2025 12:56
Country:
Italy (it)
Italy

Re: Toutatis input particle distribution

Post by Italygiovanni rutigliani »

Hi,
which is the correct units of that line?
input -6 n alphaX betaX EmitX alphaY betaY EmitY dPhi dE
Post Reply