It’s a Geant4 simulation about a positron beam 45 GeV hitting a target and I’ve to study particles produced by interaction between the positron beam and the target. In particular I’m interested to count how many e-e+ -> e-e+ and how many e-e+ -> mu- mu+ events I get in the detector.
For the event reconstruction I’ve this macro
We have a positron beam hitting a target (the target is the number 25 in the layout) . By interaction e-e+ (the e- are the electrons in the target) we can produce e-e+ -> e-e+ or e-e+ -> mu-mu+
We are interested to calculate the ratio mu/e of produced mu+/- and e+/-
I calculated the ration mu/e by experimental data (test beam), by studying the released energies in the bottom part of the detector in the subdetectors from 39 to 64. Now I’ve to compare the experimental data with the simulated ones. To do it, they gave me files about Geant4 simulations and the macro. Then I just need to count how many e and mu are produced.