can anyone help me with this problem,
To develop an algorithm to generate a D0 meson of mass 1864.84±0.17 MeV assuming an exponential pT distribution and flat pseudo-rapidity distribution between -1 to 1. Allow the particle to decay to pi+ pi-. Generate 10^7 events, with each event containing D0 distributed with poison distribution of mean 4.
to make it simple: generate random events with 4D^o on an avg decaying into pi+pi- following poison distribution .
I’ve uploaded my code ,it doesn’t work properly.
Thanks in advance.
ChargedKStar8.C (9.0 KB)
ROOT Version: 5
Platform: Not Provided
Compiler: Not Provided