examples for test DPM direct vs DPM stand-alone. It uses the LMD with some basic set-up for simulation with FairPrimaryGenerator, which is not important for effect which can be observed in this test, it was just the simplest way for me to create some histograms. Here is recipe how to use this test: 1) current version of pandaroot/trunk 2) cd $PandaRoot/macro/lmd/Anastasia/tests/DPM_dec2013 3) in this directory you will find two bash-scripts one with DPM direct: 3a) ./runDPMDirect another with DPM stand alone: 3b) ./runDPMstandAlone 4) before running them I would suggest do following preparation: 4a) [optional] to see some messages in DPM direct, one needs to uncomment a few lines in DPM code. You can do it by yourself, or just exchange current DPM files with the same files, but additional print out: cp changeDMP/init.f $PandaRoot/pgenerators/DpmEvtGen/. cp changeDMP/dpm_gen.f $PandaRoot/pgenerators/DpmEvtGen/. 4b) [required] to compile DPM stand alone to the stage as it is used by our group, one need to exchange more files: cp changeDMP/common.mk $PandaRoot/pgenerators/DpmEvtGen/. cp changeDMP/GNUmakefile $PandaRoot/pgenerators/DpmEvtGen/. cp changeDMP/main.cc PandaRoot/pgenerators/DpmEvtGen/. then for compilation in PandaRoot/pgenerators/DpmEvtGen/ just: make Please, note here, due to "underscore/underscore-underscore" problem it is not possible to have both DPMDirect and DPM stand-alone versions are running in the same time. So one to has recompile DPM with version of main.cc appropriate for the test (for DPMDirect it would be version from trunk, for DPM stand alone, the version from my test directory) 5) After the run of tests 3a) and 3b) you'll find two directories in $PandaRoot/macro/lmd/Anastasia/tests/DPM_dec2013 5a) testDPMDirect 5b) testDPMstandAlone the pdf files there contain the spectrum of a polar angle, which is important for us (in attached files you can see how it looks like). Absence of peak in very first and very last bins in thetaMC_direct.pdf means what the Coulomb part in the elastic scattering is missing in DPM. The log files contain print out from DPM, which seems to be a hint what is going wrong. I showed it to you today, let me remind what is the difference: dmp_gen.f ignores the information from init.f so print out from dmp_gen.f in good case looks like (stand alone): started 700 0.53283278944216228 8.6266673789118092E-002 and for DPMDirect it is: started 700 0.00000000 0.00000000 Unfortunately I can't investigate this problem father, since my knowledge about fortran enough only for commenting/uncommenting lines with printing. Please, let me know if you need more information, or my tests are not running for some reason.