Re: [RooFit] How to calculate value of RooAbsPdf in defined point?

From: Arthur E. Snyder <snyder_at_slac.stanford.edu>
Date: Thu, 18 Sep 2008 12:33:37 -0700

   virtual Double_t getVal(const RooArgSet* set=0) const ;    inline Double_t
   getVal(const RooArgSet& set) const { return getVal(&set) ; }

I believe that these functions from |RooAbsReal| (one of base classes of |RooAbsPdf|) should do what you want.

-Art

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 Thu, 18 Sep 2008, Anton Korneev wrote:

> Hello dear rooters,
>
> how can I calculate value of PDF in given point?
> Let say I have this function declaration:
>
> double calc(const RooAbsPdf& pdf, const RooArgSet& p)
> {
> ???
> }
>
> --
> Best regards,
> Anton
>
>
Received on Thu Sep 18 2008 - 21:33:46 CEST

This archive was generated by hypermail 2.2.0 : Fri Sep 19 2008 - 17:50:02 CEST