GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » improvement of DPM
improvement of DPM [message #13038] Tue, 07 February 2012 09:44 Go to next message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hi all,

I have introduced some changes in generator DPM according to
our last disscusions with Luminosity and Tracking groups.

In particular, I have improved ratio between cross sections:
elastic, inelastic, total.

In the new external packages, fortran compilator "g77" is
removed, "gfortran" is used now. Therefore, I have changed
the file /DpmEvtGen/common.mk to have a possibility to
compile (make or gmake) and run DPMGen within DpmEvtGen
directory, as earlier it was possible.

At the translation from "gfortran" to "g77", many warnings
are appeared. So, I inserted some improvements in fortran
codes to reduce the warnings.

With regards,
Aida
Re: improvement of DPM [message #13040 is a reply to message #13038] Wed, 08 February 2012 12:14 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hallo Aida,


After your changes the DpmEvtGen was not compiling anymore:

http://cdash.gsi.de/CDash/viewUpdate.php?buildid=823

this because you change the name of a subroutine from:

 subroutine DPM_GEN(Pluto, Seed)


To:

subroutine DPMGEN(Pluto, Seed)


Was there any reason for that? I change it back now!

regards,

Mohammad
Re: improvement of DPM [message #13042 is a reply to message #13040] Wed, 08 February 2012 13:07 Go to previous messageGo to next message
Felix Boehmer is currently offline  Felix Boehmer
Messages: 149
Registered: May 2007
Location: Munich
first-grade participant

From: *natpool.mwn.de
Hi Mohammad,

I can very dimly remember some discussion about problems of gfortran with underscores when ubuntu switched from g77 to gfortran ... maybe that's it?


Cheers

Felix
Re: improvement of DPM [message #13045 is a reply to message #13042] Wed, 08 February 2012 14:38 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
HI Felix,

This has to do with underscore at the end of name not in the middle.

Cheers,

Mohammad
Re: improvement of DPM [message #13047 is a reply to message #13038] Wed, 08 February 2012 22:17 Go to previous messageGo to next message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hi Mohammad,

Felix is right.

I replaced DPM_GEN on DPMGEN, because
when we called subroutine dpm_gen() from DpmEvtGen/main.cc or from PndDpmDirect.cxx (created by you),
it was needed to put 2 underscores at the end: dpm_gen__().

How I remember, it can lead to problems, when we transfer from "g77" to "gfortran".
Therefore, I replace dpm_gen(x,x) on dpmgen(x,x) and now
compile without any errors.

When we use subroutine dpmgen(x,x) instead dpm_gen(x,x),
it is need to change call
dpm_gen__(x,x) to dpmgen_(x,x) (without middle underscore and second underscore at the end)
in the file pgenerators/PndDpmDirect.cxx.
I did it in the file DpmEvtGen/main.cc .
I think, in the case, everythink will be normal.

Aida
Re: improvement of DPM [message #13126 is a reply to message #13038] Fri, 02 March 2012 15:59 Go to previous messageGo to next message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hi all,

I have changed parameterizations of hadron elastic and total
cross-sections in DPM generator according to our last paper:
"Antinucleus-nucleus cross sections implemented in Geant4"
Phys.Lett.B705:235-239,2011.

Aida

Re: improvement of DPM [message #13573 is a reply to message #13038] Mon, 04 June 2012 16:22 Go to previous message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hi all,

I have improved pi+pi- mass distribution in DPM.
For this, quark mass distribution is improved, and
production of f2 meson is added for the first time
in DPM generator.

I attached fig., where pi+pi- mass distributions for
pbar-p annihilation events at Plab=9.1 GeV/c are
calculated by new version of DPM, model FTF in GEANT4
and UrQMD+SMM model.

As you can see, calculations by DPM reproduce exp. data given
by points better than other models.

Aida
  • Attachment: an_DPMFTF.gif
    (Size: 14.87KB, Downloaded 227 times)
Previous Topic: Photon energy distribution using DPM
Next Topic: Evtgen - prob>probmax
Goto Forum:
  


Current Time: Fri Mar 29 03:30:25 CET 2024

Total time taken to generate the page: 0.00939 seconds