Re: RooFit::Convolution for User defined PDF

From: Arthur E. Snyder <snyder_at_slac.stanford.edu>
Date: Tue, 8 Sep 2009 10:14:37 -0700


I have a private convolution function based on a look-up-table for truth->measured map. It's fast. It does req. some care in use, e.g., in size of bins must be set carefully to be niether too small nor too big. The interface is not perfect, but it's still pretty simple to use.

You can have it if you want.

-Art Snyder, SLAC

A.E. Snyder, Group EC                        \!c*p?/
SLAC Mail Stop #95                          ((.   .))
Box 4349                                        |
Stanford, Ca, USA, 94309                      '\|/`
e-mail:snyder_at_slac.stanford.edu                 o
phone:650-926-2701                              _
http://www.slac.stanford.edu/~snyder          BaBar
FAX:650-926-2657                          Collaboration



On Tue, 8 Sep 2009, Anil Singh wrote:

>
> Hi All,
>
> This is about the convolution utilities in RooFit.
> I have creates detailed pdf for Z/gamma* production,
> including the terms for Z/gamma interference and
> gamma* contributions. I have methodically follwed roofit
> tutorials,
> ============================================
> class RooZModel : public RooAbsPdf{
>
> //Usual Stuff....
>
> } ;
> -----------------------------------------------------------------------------------
>
> Now I wish to include the detector resolution effects,
> say by providing for convolution. I tried convolving
> using RooNumConvPdf class ..but that is tiringly slow,
> and fit is not satisfactory as well.
>
> Can you suggest me how to proceed to create a class
> which possibly has same capability (as RooVoigtian
> has wrt BreitWigner) ?
>
> Anil
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> -----------------------------------------------------------------------------------
>
> | O son of Kunti ! If you die in battle, you will attain heaven |
> || And if you win, (you) will attain earth, (so) getup and fight it out ||
>
> Bhagvad Geeta, Chapter: 2, Verse:37
> ------------------------------------------------------------------------------------
>
Received on Tue Sep 08 2009 - 19:14:56 CEST

This archive was generated by hypermail 2.2.0 : Wed Sep 09 2009 - 05:50:20 CEST