I have built a detector for the detection of the cosmic-ray muon. Till now, I was using point particle gun for shooting high energy muons into the detector. Now I want to create a rectangular plane above the detector to throw thousands on particles in a single event by covering the whole detector plane. It is easy to do in a macro file. But I want to implement it in src file so that I can visualize the entire process. Kindly answer.

More Ayanabha Das's questions See All
Similar questions and discussions