GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » "Direct EvtGen" & "binning particle gun"
"Direct EvtGen" & "binning particle gun" [message #7403] Fri, 10 October 2008 15:29
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: 141.30.85*
Hello everyone,

I would like to see EvtGen implemented in PandaRoot in a different way.
The current situation is that we compile EvtGen separately, run it separately and then load the generated ASCII file with our CbmEvtGengenerator class.
When you produce many events (e.g. for mass background studies using fsim) you will get large ASCII files and EvtGen is mostly busy with saving the data.

I would like to have a generator class which needs the input parameters from EvtGen (decay file, momentum, initial system...) and gives the generated events directly into the further processing chain of PandaRoot.
The problems here are definately that EvtGen must compile with PandaRoot and how to call the EvtGen production function efficiantly (i.e. without loading all EvtGen each event).

Secondly I ask for a particle gun which can shoot in intervals.
The motivation for this is that one needs e.g. for the material budget studies only one geantino per bin in the final distribution. So the total number of particles to be generated (and the ammount of data) can be reduced to the needed minimum.
When using the common random particle gun you need to simulate much more events than bins which you finally have.

As far as I recall Mohammed said there is something like this already written but not in the repository.

Well... have a nice weekend.
Greetings from Dresden, Ralf.
Read Message
Previous Topic: elastic Pbar-P
Next Topic: EvtGen vertex coordinates in mm?
Goto Forum:

Current Time: Fri Dec 08 23:18:18 CET 2023

Total time taken to generate the page: 0.01068 seconds