GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » Event filter
Re: Event filter [message #17481 is a reply to message #17480] Sat, 08 November 2014 20:41 Go to previous messageGo to previous message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *pool.mediaWays.net
Hello Donghee,

please try using

FairFilteredPrimaryGenerator* primGen = new FairFilteredPrimaryGenerator();


instead of

FairPrimaryGenerator* primGen = new FairPrimaryGenerator();


as explained here.

Kind regards,
Martin

PS: I had to move all the event filter related code of FairPrimaryGenerator to its own class which I called FairFilteredPrimaryGenerator.
FairFilteredPrimaryGenerator can be used with and without event filtering as it just adds code to FairPrimaryGenerator.

[Updated on: Sat, 08 November 2014 20:44]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: p barp -> pi0 gamma
Next Topic: p barp -> pi0 eta
Goto Forum:
  


Current Time: Thu Mar 28 21:14:45 CET 2024

Total time taken to generate the page: 0.01272 seconds