Source_newgen and mgdraw explanation

Dear Experts,

In my simulation i use two routines: source_newgen and mgdraw. In source_newgen i simulate production of muonic pair. My input file has all columns (particle code/momentum(energy)/cord()/cosxyz/weight). In mgdraw i write data about muons which left my target and write(particle type, number of event, cosxyz, weight(WTRACK)). And in my output file i get weight = 1 to all muons. Also i havent found debug lines in any output files. And last one question. How should i set START to use source_newgen properly with it?

I compile mgdraw and source_newgen in FLAIR by adding them both in compile window

Dear Semyon,

without seeing your input file and user routines I can only guess that your source rountine is not activated due to a missing SOURCE card.

If it’s not the case, please share your files.

Cheers,
David

Dear David,

Should it be just empty SOURCE card?
muonic_signal.inp (1.2 KB)

Dear Semyon,

yes, an empty SOURCE card is enough.

Cheers,
David