Klaus Götzen Messages: 293 Registered: June 2006 Location: GSI
first-grade participant
From: *gsi.de
Hi Elisabetta,
concerning this 'exit(0);', I experienced the same problem as you, therefore I commented it in the macros in tutorials/rho (which are based on the macros in macro/run). The purpose I guess was, that the script exits to shell when running in batch mode.
This is also achieved when running 'root -b -q -w <script>' without the 'exit', I think.
Concerning the particle numbers, usually you do not need to worry - it's because EvtGen uses different codes and names than native ROOT TDatabasePDG for some resonances. It only gets important when doing a Monte Carlo Truth match. There you might need to add the according particles to the database (again) to make the match working.