GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » [CLOSED] Specific event selection in Dpm generator
[CLOSED] Specific event selection in Dpm generator [message #13048] Thu, 09 February 2012 10:25 Go to previous message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *dip.t-dialin.net
Hello everyone,

I'm trying to select and save a specific event type from DPM generator.

For instance, I would like to select and save only pi+pi- event from DPM generation.
In PndDpmDirect I can simply select those event after pid checking for generated event type.
Then I do not add any tracks into output file, if this condition is not satisfied. That mean only pi+pi- event have track information, and other event types are set to zero tracks.

After this modification in FairPrimaryGenerator, PndDpmDirect file, I want to save only pi+pi- event without any zero track event, which is marked by my decision, into my final output file. Now, I have a trouble to discarding zero track from my output file.


I'm wondering, are there some possible and simple way to select and save specific event.
One general way is of course handling of source code dpm_gen_.f.
I am not prefer this way.
Second convenient way for me is control setting or option at FairPrimaryGenerator, PndDpmDirect, and FairMCEventHeader after MC generation from DPM.

Thank you for your reading!
Donghee




[Updated on: Sun, 09 March 2014 13:32] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EvtGen workshop
Next Topic: No old EVtGen anymore
Goto Forum:
  


Current Time: Sun Feb 25 19:49:57 CET 2024

Total time taken to generate the page: 0.01055 seconds