Monte Carlo Simulation

Two Monte Carlo Simulations were created. One Simulation is based on distributions, the other one is based on matrix calculations and Raytracing. Both simulations give similar Results: Separation of Kaons and Pions can be performed near 100% with an efficiency of typically more than 80%. More details to the Simulations you may find in the Code itself. Please make your own opinion and simply try it out. You will need Root (I uesed vers. 5.12) installed.