How to specify the costheta(angle distribution of cosmic-rays) in Mac file

Hi experts
I am going to specify the angle distribution(like Fig 1) in Mac file.Canvas_1
Fig 1

so, I write the Mac file as follows:energy.txt (553 Bytes) angle.txt (2.6 KB) run.txt (2.7 KB)

But, it does not work at all. The momentum direction of the all particles are still horizontal not like the picture above. I cannot find where the problem is. Would you please help me? Thank you very much for your kind help :smiley:

Sincerely

run.txt
WeChat39c7abdfd5bf39d055b379276d54f201

angle.txt

The file is like as above.Thank you very much :grin: