Re: Event filter for (a combination of) arbitrary event generators [message #16710 is a reply to message #16410] |
Sun, 25 May 2014 09:14 |
MartinJGaluska
Messages: 203 Registered: March 2010 Location: Germany
|
first-grade participant |
From: *pools.arcor-ip.net
|
|
Hello all,
the event filter is available to be used and it is compiled by default in trunk. The necessary code is located in trunk/pgenerators/eventFilter.
While we are waiting for Katja to write a tutorial which will be located here:
https://panda-wiki.gsi.de/foswiki/bin/view/Computing/PandaRootEventFilte rTutorial
I have uploaded two example macros in the folder trunk/macros/eventFilter in which the usage of the filter is demonstrated.
I would like to ask all interested people to try the event filter and send me bug reports. Once it has been tested by the community it will also be included in the scrut release. The more people use the filter the sooner this can happen.
As some of you know the code has been ready and working for several weeks now. However, I had to change the event filter code, because it was decided that the changes to the external packages should be as minimal as possible. In the end I only needed to add one method to FairGenericStack.
While doing the necessary changes, I added a filter on invariant masses of up to 5 particles due to popular demand. Note that this is a PandaRoot specific capability as it uses the Rho package. PndEvtFilter adds the PandaRoot specific code to FairEvtFilter. As a nice side effect of the implementation you can now easily write your own event filter which does exactly what you need by deriving from PndEvtFilter and using my custom FillList implementation. After that, you can use the tools you are familiar with from analysis to decide whether the event matches or not.
Kind regards,
Martin
[Updated on: Sun, 25 May 2014 09:30] Report message to a moderator
|
|
|