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: *
Hello Donghee,

please try using

FairFilteredPrimaryGenerator* primGen = new FairFilteredPrimaryGenerator();

instead of

FairPrimaryGenerator* primGen = new FairPrimaryGenerator();

as explained here.

Kind regards,

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: Sat Jun 22 08:16:59 CEST 2024

Total time taken to generate the page: 0.00978 seconds