Home » Hades » Pluto » [SOLVED] Beam Smear and Cross Sections
Re: Bear Smear and Cross Sections [message #13873 is a reply to message #13858] |
Sun, 19 August 2012 17:35 |
Ingo Froehlich
Messages: 167 Registered: March 2004 Location: IKF - Frankfurt
|
first-grade participant |
From: *dip.t-dialin.net
|
|
I have a first example included in the latest v5.40.5 (in plugins/scatter_mod).
It is based on the usual inline script, and can be combined with one or more histogram and a new Eval(x,..) version.
The random sampling is done by the ROOT GetRandom2() method (in fact I use PF2EvalBatch which is a wrapper to TF2). One has to keep in mind that GetRandom2 has sometimes a bad performance. Also, the histograms have no interpolation yet, is one needs a higher precision one has to do the smoothing outside of the event loop.
This was done in some days only and is poorly tested.
--
Ingo Froehlich
IKF - University of Frankfurt
069-798-47027, FAX: -47024
|
|
|
Goto Forum:
Current Time: Tue Oct 08 23:15:33 CEST 2024
Total time taken to generate the page: 0.00976 seconds
|