Skip to content

JustSimone/ALICE_Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALICE Simulation

ALICE Project

The idea behind this project is to simulate the ALICE experiment conducted at CERN from 1993. It consists on the study of the collisions of heavy particles to achieve temperatures and energy density that allow the formation of the Quark-Gluon-Plasma, a state of matter in which quarks and gluons are freed. (ALICE project)

The Simulation

In our simulation we will recreate the collisions between the particles using the probabilities of obtaining certain particles, In particular:

Particle Probability
Pion + (π+) 40%
Pion - (π-) 40%
Kaon + (k+) 5%
Kaon - (k-) 5%
Proton + (P+) 4.5%
Proton - (P-) 4.5%
Kaon 0 (k0) 1.5%

If the particle generated is a Kaon 0 then it will decay into a Pion and a Kaon with opposite charges. This simulation will give as output a series of histograms about the characteristics of the particles generated. In particular there are histograms about:

  • Number of each type of particle;
  • Momentum of each particle;
  • Transversal Momentum of each particle;
  • Energy of each particle;
  • Invariant Mass of each particle with all the others;
  • Invariant Mass of the particles with the same charges;
  • Invariant Mass of the particles with the opposite charges;
  • Invariant Mass of the particles arising from the decay of k0;

Building

To build the code using the main it is recommended to use Cmake. You need to find yourself into the ALICE_Simulation/script folder into your terminal and use the following commands:

cmake -DCMAKE_BUILD_TYPE=Release -S . -B Build
cmake --build Build
./build/ALICE_Simulation

Otherwise it is also possible to build it using ROOT. Here, as before, you need to be into ALICE_Simulation from your terminal, open ROOT and use the following commands:

.L script/ParticleType/ParticleType.cpp+
.L script/ResonanceType/ResonanceType.cpp+
.L script/Particle/Particle.cpp+

This commands allows you to use only the library, if you want to execute the main program you'll need to use cmake.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published