|
|
|
|
|
Re: Problems with FTF/DPM with Geant4 [message #20737 is a reply to message #20724] |
Mon, 27 March 2017 17:53 |
Lu Cao
Messages: 77 Registered: February 2013
|
continuous participant |
From: *wlan.uni-bonn.de
|
|
Hi all,
there's a problematic issue on the "indirect" FTF+G4 event generator.
Our event filter cannot dynamically interact with it, therefore one has to prepare a large enough(?) event file beforehand to ensure the filter can select out something. This obviously reduces the convenience and functionality of event filter. If no sufficient events can be fed to the filter, the filter will just produce some fake events (no particles in event) according to the number of tries set by primGen->SetFilterMaxTries(). At the end, Geant4 is aborted due to "No primary particles found on the stack."
Is any smart ways to use FTF+G4+EventFilter ?
Best regards,
Lu
[Updated on: Mon, 27 March 2017 18:01] Report message to a moderator
|
|
|
|
Re: Problems with FTF/DPM with Geant4 [message #20757 is a reply to message #20750] |
Tue, 28 March 2017 10:29 |
Lu Cao
Messages: 77 Registered: February 2013
|
continuous participant |
From: *dyn.telefonica.de
|
|
Dear Tobias,
Yes, I couldn't know how many events I need beforehand, but this is the exact reason why the filter is designed to call generator to produce events until the number of events set by user has been found, as far as I learn from https:// panda-wiki.gsi.de/foswiki/bin/view/Computing/PandaRootEventFilterTutoria l . The filter can call the other generators, e.g. DpmDirect, EvtGenDirect, because they are "direct". The main problem is how to make FTF+G4 direct, or find out an alternative method.
Best regards,
Lu
|
|
|
|